Saving file in libreoffice crashes gnome-shell session

Bug #1865460 reported by Jean Hausser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi!
I freshly installed Ubuntu 18.04.4 LTS on a new laptop two weeks ago.
Since then, I have been unable to save files in Libreoffice (version 1:6.0.7-0ubuntu0.18.04.10).

What I expected expected to happen:
When I click 'Save as' in the File menu of Libreoffice, a file dialog pops up where I can specify a filename to save the document in. Upon hitting ENTER, I expect the dialog to vanish and the file to be saved under that name.

What happened instead:
As soon as I hit ENTER, I get logged out of the gnome-shell session (back to the login screen). No file is saved. I just repeated the bug three times to confirm.

Debugging information:
According to the syslog data, saving the file causes gnome-shell to segfault (see event at 11:11:34 below). I'm including some context before and after the segfault to help with the debugging:

Mar 2 11:11:02 NHolgersson org.gnome.Shell.desktop[1457]: message repeated 2 times: [ libinput error: client bug: timer event21 debounce short: offset negative (-2ms)]
Mar 2 11:11:18 NHolgersson org.gnome.Nautilus[1427]: func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
Mar 2 11:11:21 NHolgersson soffice.bin[22707]: GtkDialog mapped without a transient parent. This is discouraged.
Mar 2 11:11:21 NHolgersson dbus-daemon[884]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.719' (uid=1000 pid=22707 comm="/usr/lib/libreoffice/program/soffice.bin --writer " label="libreoffice-soffice (complain)")
Mar 2 11:11:21 NHolgersson kernel: [55178.608920] audit: type=1400 audit(1583143881.573:132): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/jean/Downloads/README" pid=22707 comm="pool" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Mar 2 11:11:21 NHolgersson kernel: [55178.609164] audit: type=1400 audit(1583143881.573:133): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/jean/Downloads/README" pid=22707 comm="pool" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Mar 2 11:11:21 NHolgersson kernel: [55178.609857] audit: type=1400 audit(1583143881.573:134): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name=2F686F6D652F6A65616E2F446F776E6C6F6164732F44656E207376656E736B6120626F73746164736D61726B6E6164656E20617072696C2032303138 pid=22707 comm="pool" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Mar 2 11:11:21 NHolgersson systemd[1]: Starting Hostname Service...
Mar 2 11:11:21 NHolgersson kernel: [55178.609860] audit: type=1400 audit(1583143881.573:135): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name=2F686F6D652F6A65616E2F446F776E6C6F6164732F44656E207376656E736B6120626F73746164736D61726B6E6164656E20617072696C2032303138 pid=22707 comm="pool" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Mar 2 11:11:21 NHolgersson kernel: [55178.609862] audit: type=1400 audit(1583143881.577:136): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/jean/Downloads/android-x86-9.0-rc2.iso" pid=22707 comm="pool" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Mar 2 11:11:21 NHolgersson dbus-daemon[884]: [system] Successfully activated service 'org.freedesktop.hostname1'
Mar 2 11:11:21 NHolgersson systemd[1]: Started Hostname Service.
Mar 2 11:11:34 NHolgersson kernel: [55191.104967] show_signal_msg: 1 callbacks suppressed
Mar 2 11:11:34 NHolgersson kernel: [55191.104968] gnome-shell[1457]: segfault at 0 ip 00007f3bb0601f6f sp 00007ffe4701e160 error 4 in libgnome-shell.so[7f3bb05e5000+248000]
Mar 2 11:11:34 NHolgersson evolution[7204]: Error reading events from display: Broken pipe
Mar 2 11:11:34 NHolgersson soffice.bin[22707]: Error reading events from display: Connection reset by peer

Revision history for this message
Jean Hausser (jhausser) wrote :

Found connection to Bug #1497832 reported by Michael Gratton on 2015-09-21:
This bug only occurs when 'Use Libreoffice Dialogs' is ticked off in the general preferences.
Thus, it seems to be a GTK3 issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.