GNOME Bugzilla – Bug 756310
LibreOffice crash with latest GTK3
Last modified: 2015-11-08 16:43:11 UTC
With latest version of Gnome Shell 3.18 if you do: 1. Execute LibreOffice. You can simply run `libreoffice` command from any shell. 2. Press "Writer Document". 3. Write some text. 4. Press save button. 5. ¡Crash! :) The error that gives me in console is: (soffice:25736): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'GTK_IS_ENTRY (entry)' failed (soffice:25736): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'GTK_IS_ENTRY (entry)' failed (soffice:25736): Gtk-CRITICAL **: gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed (soffice:25736): Gtk-CRITICAL **: _gtk_file_chooser_entry_set_base_folder: assertion 'GTK_IS_FILE_CHOOSER_ENTRY (chooser_entry)' failed (soffice:25736): Gtk-CRITICAL **: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed (soffice:25736): Gtk-CRITICAL **: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed If I run LibreOffice with `SAL_USE_VCLPLUGIN=gtk libreoffice` works perfect.
(In reply to Óscar García Amor from comment #0) > 1. Execute LibreOffice. You can simply run `libreoffice` command from any > shell. > 2. Press "Writer Document". > 3. Write some text. > 4. Press save button. > 5. ¡Crash! :) What exactly crashes - LibreOffice or gnome-shell?
(In reply to Florian Müllner from comment #1) > What exactly crashes - LibreOffice or gnome-shell? Ups! Sorry xD Crash LibreOffice.
Then I don't see what gnome-shell would have to do with it, reassigning to GTK+.
(In reply to Florian Müllner from comment #3) > Then I don't see what gnome-shell would have to do with it, reassigning to > GTK+. Sorry Florian, but I don't found GTK+ in list when I opened the bug and choose that I saw more close.
Oh, no need to apologize - it's better to reassign a bug to the right product (which is easy) than to miss a bug completely because the reporter is unsure about the correct product and ends up not reporting it at all.
I'm not sure there is much we can do here without an actual stacktrace. The libreoffice in Fedora rawhide works fine here.
Created attachment 313058 [details] Strace of libreoffice I do a strace of LibreOffice run. The distro is an Arch Linux.
strace does not help. We do need a backtrace - run it in gdb and type ta a bt when it crashes
Not sure if this helps, since I don't have a debug version of libreoffice
+ Trace 235571
>>> p entry $1 = (GtkEntry *) 0x42de4f0 >>> p *entry $2 = { parent_instance = { parent_instance = { g_type_instance = { g_class = 0xaaaaaaaaaaaaaaaa }, ref_count = 2863311530, qdata = 0xaaaaaaaaaaaaaaaa }, priv = 0xaaaaaaaaaaaaaaaa }, priv = 0xaaaaaaaaaaaaaaaa }
I think you should probably take this to the libreoffice team doing the gtk3 porting. I doubt that we'll be able to help much.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=c1b97d2747004d1912744ab7ff11353a73713310 is the upstream LibreOffice fix for this. This can be closed out on the gtk side.
thanks, Caolan