Bug 171777 - CRASH: creating a Master document
Summary: CRASH: creating a Master document
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.8.0.0 alpha0+ master
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard: target:26.8.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2026-04-16 11:00 UTC by Xisco Faulí
Modified: 2026-04-18 05:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2026-04-16 11:00:08 UTC
Steps to reproduce:
1. clean user profile with 'rm -rf instdir/user/'
2. Open attachment 179251 [details] from bug 147943
3. File - Send - Create Master Document
4. Save the document

-> Crash

Reproduced in

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: e24f4f826b86e984efa809adbea96f09e26de572
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2026-04-16 11:01:10 UTC
Regression introduced by:

commit 64a7d5179b84b9098de416b9d48d509ff552c0b6	[log]
author	Jim Raykowski <raykowj@gmail.com>	Tue Mar 03 12:57:19 2026 -0900
committer	Jim Raykowski <raykowj@gmail.com>	Mon Mar 30 03:47:16 2026 +0200
tree b5f2795d780513427cd3e992fc702c94e0f73118
parent b3cef067590201559157b1d0b92f8b5aa213b92c [diff]

tdf#140880 Navigator draw objects: Show group indicator

Bisected with: linux-64-26.8
Comment 2 Jim Raykowski 2026-04-16 17:22:07 UTC
With a recent master build I repro the crash/assert with gtk3 VCL plugin but not with the gen or qt5.

Gtk:ERROR:../../../gtk/gtktreestore.c:597:gtk_tree_store_get_path: assertion failed: (G_NODE (iter->user_data)->parent != NULL)

...
9  (anonymous namespace)::GtkInstanceTreeView::child_is_placeholder   gtkinst.cxx  14121 
10 (anonymous namespace)::GtkInstanceTreeView::get_children_on_demand gtkinst.cxx  15637
11 weld::TreeView::iter_children    TreeView.cxx 166 
12 weld::TreeView::iter_next        TreeView.cxx 124
13 SwContentTree::Expand            content.cxx  3115 
14 SwContentTree::ExpandHdl         content.cxx  3401
15 SwContentTree::LinkStubExpandHdl content.cxx  3399
...
Comment 3 Commit Notification 2026-04-17 18:07:02 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5da5a96ecf0c927f16286414a1e832af25ba5feb

tdf#171777 fix crash creating a master document

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Jim Raykowski 2026-04-17 18:11:39 UTC
I think this is fixed with the patch. Please let me know if not.
Comment 5 BogdanB 2026-04-18 05:23:02 UTC
Resolved. Thanks, Jim.

Was crashing with a build from some days ago.

Not crashing with today build.
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 5da5a96ecf0c927f16286414a1e832af25ba5feb
CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded