Bug 143916 - LO sometimes crashes in GTK3 with Expert Configuration
Summary: LO sometimes crashes in GTK3 with Expert Configuration
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All Linux (All)
: low major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2021-08-17 10:42 UTC by Timur
Modified: 2022-02-10 13:53 UTC (History)
2 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 Timur 2021-08-17 10:42:17 UTC
I have crashes with 7.3+ master in Linux GTK3, seems when changing Enable experimental features.

Message on console is "Attempting to add a widget with type GtkBox to a GtkToolItem, but as a GtkBin subclass a GtkToolItem can only contain one widget at a time; it already contains a widget of type GtkComboBoxText".

I also see " gtk_notebook_get_tab_label: assertion 'list != NULL' failed" but it doesn't seem to be directly before the crash.

Steps (possible):
Open DOCX attachment 62191 [details] from bug 50447
Tools-Options-Advanced: turn on or off Experimental features 
Restart now cannot start LO. 
OR if LO starts, crashes on next click on Tools-Options-Advanced
Try also to turn on Manage Changes in Sidebar (as Experimental feature).
Comment 1 Julien Nabet 2021-08-17 15:13:21 UTC
On pc Debian x86-64 with master sources updated today with gtk3 rendering + experimental features enabled, I don't reproduce this.
Would it be possible you retrieve a backtrace? (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace)
Comment 2 Timur 2021-08-18 07:53:19 UTC
Crash also happens after removing profile, without open document, just with going to Open Expert Configuration.
Comment 3 Julien Nabet 2021-08-18 10:15:17 UTC
Which locale do you use? Did you succeed in retrieving a backtrace?
I gave a new try but still no crash or assertion.

About "Attempting to add a widget with type GtkBox to a GtkToolItem, but as a GtkBin subclass a GtkToolItem can only contain one widget at a time; it already contains a widget of type GtkComboBoxText", it's been fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=033dbb01f0688610338c80136ed73f2b412397ec
author	Caolán McNamara <caolanm@redhat.com>	2021-08-17 14:59:32 +0100
committer	Caolán McNamara <caolanm@redhat.com>	2021-08-18 10:35:10 +0200
commit 033dbb01f0688610338c80136ed73f2b412397ec (patch)
tree c93b483616a56cbc97d7495931846b9a00286fc2
parent 686528f3281ce60c1d5c12cb867b2b16081444af (diff)
gtk3: fix warning about GtkBin already containing a widget
Comment 4 raal 2022-02-09 21:07:57 UTC
I cannot reproduce with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 571be264d9604c3d77036e26812f909655cc0bb2
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

Timur, can you retest? Thank you.
Comment 5 Timur 2022-02-10 13:53:11 UTC
I don't repro now.