[Libreoffice-bugs] [Bug 120180] File->Open causes crash by unbounded memory growth

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 27 08:49:54 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=120180

--- Comment #6 from Mark Jeronimus <mark.jeronimus at gmail.com> ---
I just had this bug almost kill my ubuntu. I really want to see this resolved
sooner rather than later. Tell me whatever you need. More logs? Can I install
an IDE and debug LO at the source level? (I'm a Java developer).

Yesterday I accidentally opened a document after launching LO, memory grew like
usual. I tried `kill soffice.bin` and this time it somehow didn't work, not
even with sudo. The Kill command in Gnome's System Monitor worked somehow (even
though killall should send a higher signal level).

Today I did the right thing and typed in the new document after launching LO
and then opened documents. The documents were .txt files and it for some reason
asked me to save the previous document. I clicked 'no' because I don't want to
save the garbage I just typed. Mistake. Memory exploded again and I had to kill
it.

Now comes the weird part.

- When I launched LO again and dismissed the document recovery, the menu bar
was GONE. I closed and restarted LO a few times and the menu bar stayed gone.
(Log 1). Although this is triggered by this bug, tell me if this is worth a new
bug report.
- I couldn't open Gnome-Terminal, it just pretended it was loading for a few
seconds and it stopped. (Log 2) LO clearly corrupted something menu-related in
my current Gnome session.
- I couldn't log in any more after logging out of Gnome. After each login
attempt I was just presented the user selection screen again. (Log 3)
- Only reboot helped.

Log 1

Nov 27 09:19:03 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:03 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:03 mark soffice.bin[7400]: g_dbus_connection_get_unique_name:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:03 mark soffice.bin[7400]: ../../../../gobject/gsignal.c:3492:
signal name 'selection_changed' is invalid for instance '0x5580f9fcf850' of
type 'OOoAtkObjCompTxt'
Nov 27 09:19:04 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:04 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:04 mark soffice.bin[7400]: g_dbus_connection_get_unique_name:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:04 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:19:04 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: void g_lo_menu_insert_section(GLOMenu*,
gint, const gchar*, GMenuModel*): assertion 'G_IS_LO_MENU (menu)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: gtk_menu_bar_new_from_model: assertion
'G_IS_MENU_MODEL (model)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: gtk_widget_insert_action_group:
assertion 'GTK_IS_WIDGET (widget)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: gtk_widget_set_hexpand: assertion
'GTK_IS_WIDGET (widget)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: gtk_grid_attach: assertion
'GTK_IS_WIDGET (child)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: invalid (NULL) pointer instance
Nov 27 09:19:05 mark soffice.bin[7400]: g_signal_connect_data: assertion
'G_TYPE_CHECK_INSTANCE (instance)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: invalid (NULL) pointer instance
Nov 27 09:19:05 mark soffice.bin[7400]: g_signal_connect_data: assertion
'G_TYPE_CHECK_INSTANCE (instance)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_get_unique_name:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_get_unique_name:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_get_unique_name:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_register_object:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Nov 27 09:19:05 mark soffice.bin[7400]: g_dbus_connection_get_unique_name:
assertion 'G_IS_DBUS_CONNECTION (connection)' failed

Log 2

Nov 27 09:19:56 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:19:56 mark unity-panel-ser[2267]: message repeated 2 times: [
gtk_menu_detach(): menu is not attached]
Nov 27 09:19:56 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:19:57 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:19:58 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:00 mark compiz[2259]: # Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection
refused
Nov 27 09:20:21 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:22 mark hud-service[2402]: #033[31mvoid
DBusMenuImporterPrivate::updateActionProperty(QAction*, const QString&, const
QVariant&)#033[0m: Unhandled property update "toggle-type"
Nov 27 09:20:22 mark hud-service[2402]: message repeated 13 times: [
#033[31mvoid DBusMenuImporterPrivate::updateActionProperty(QAction*, const
QString&, const QVariant&)#033[0m: Unhandled property update "toggle-type"]
Nov 27 09:20:22 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:22 mark unity-panel-ser[2267]: message repeated 5 times: [
gtk_menu_detach(): menu is not attached]
Nov 27 09:20:27 mark hud-service[2402]: #033[31mvoid
DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher*)#033[0m: "No
such interface 'com.canonical.dbusmenu' on object at path
/org/ayatana/bamf/window/69209835"
Nov 27 09:20:27 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:28 mark unity-panel-ser[2267]: message repeated 2 times: [
gtk_menu_detach(): menu is not attached]
Nov 27 09:20:28 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:20:29 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:30 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:20:33 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:33 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:20:33 mark unity-panel-ser[2267]: window_menu_model_new: assertion
'BAMF_IS_APPLICATION(app)' failed
Nov 27 09:20:33 mark unity-panel-ser[2267]: track_menus: assertion
'IS_WINDOW_MENU(menus)' failed
Nov 27 09:20:35 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:36 mark compiz[2259]: # Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection
refused
Nov 27 09:20:44 mark unity-settings-daemon[2065]: ERROR: ld.so: object
'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared
object file): ignored.
Nov 27 09:20:44 mark unity-settings-daemon[2065]: ERROR: ld.so: object
'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared
object file): ignored.
Nov 27 09:20:46 mark hud-service[2402]: #033[31mvoid
DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher*)#033[0m: "No
such interface 'com.canonical.dbusmenu' on object at path
/org/ayatana/bamf/window/54525957"
Nov 27 09:20:47 mark unity-panel-ser[2267]: window_menu_model_new: assertion
'BAMF_IS_APPLICATION(app)' failed
Nov 27 09:20:47 mark unity-panel-ser[2267]: track_menus: assertion
'IS_WINDOW_MENU(menus)' failed
Nov 27 09:20:47 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:47 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:20:48 mark unity-panel-ser[2267]: gtk_menu_detach(): menu is not
attached
Nov 27 09:20:54 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed
Nov 27 09:20:55 mark unity-settings-[2065]: Failed to load PNP ids: Failed to
open file “/usr/share/hwdata/pnp.ids”: No such file or directory
Nov 27 09:20:55 mark unity-settings-[2065]: message repeated 2 times: [ Failed
to load PNP ids: Failed to open file “/usr/share/hwdata/pnp.ids”: No such file
or directory]
Nov 27 09:20:55 mark unity-panel-ser[2267]: menus_destroyed: assertion
'IS_WINDOW_MENU(wm)' failed

Log 3

Nov 27 09:21:01 mark /usr/lib/gdm3/gdm-x-session[7622]:
dbus-update-activation-environment: warning: error sending to systemd:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd
1 exited with status 1
Nov 27 09:21:01 mark /usr/lib/gdm3/gdm-x-session[7622]: dbus-daemon[7630]:
[session uid=1000 pid=7630] Activating service name='org.a11y.Bus' requested by
':1.6' (uid=1000 pid=7729 comm="/usr/lib/x86_64-l
inux-gnu/notify-osd " label="unconfined")
Nov 27 09:21:01 mark /usr/lib/gdm3/gdm-x-session[7622]: dbus-daemon[7630]:
[session uid=1000 pid=7630] Activating service name='org.freedesktop.systemd1'
requested by ':1.7' (uid=1000 pid=7743 comm="syste
mctl --user unset-environment UPSTART_SESSION" label="unconfined")
Nov 27 09:21:01 mark /usr/lib/gdm3/gdm-x-session[7622]: dbus-daemon[7630]:
[session uid=1000 pid=7630] Successfully activated service 'org.a11y.Bus'
Nov 27 09:21:01 mark /usr/lib/gdm3/gdm-x-session[7622]: dbus-daemon[7630]:
[session uid=1000 pid=7630] Activated service 'org.freedesktop.systemd1'
failed: Process org.freedesktop.systemd1 exited with sta
tus 1
Nov 27 09:21:01 mark /usr/lib/gdm3/gdm-x-session[7622]: Failed to set
environment: Process org.freedesktop.systemd1 exited with status 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181127/fafda5db/attachment-0001.html>


More information about the Libreoffice-bugs mailing list