https://bugs.documentfoundation.org/show_bug.cgi?id=157934
Bug ID: 157934 Summary: v7.6 crashes when saving a file in Ubuntu 22.04 Product: LibreOffice Version: 7.6.2.1 release Hardware: x86-64 (AMD64) OS: other Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: stefan.rue...@urclocks.com Description: In Ubuntu LTS 22.04 libreoffice crashes regularly with the simplest of interactions: cut-and-paste, saving a file, etc. Below is just one reproducible example. Observed straight after a fresh install of Ubuntu LTS 22.04. Affects many libreoffice versions, 7.3.7 ... 7.6.2.1, both when installed via snap or through apt. Steps to Reproduce: 1. Install Ubuntu LTS 22.04 2. $ snap install libreoffice 3. $ libreoffice --writer 4. Type ctrl-s Actual Results: Libreoffice crashes showing the document recovery window. It's output in bash looks as below. The glib messages appear when I initiate save-file. Gtk-Message: 14:52:10.475: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. (soffice:47474): Gtk-WARNING **: 14:52:10.549: GTK+ module /snap/libreoffice/300/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 14:52:10.549: Failed to load module "canberra-gtk-module" (soffice:47474): Gtk-WARNING **: 14:52:10.550: GTK+ module /snap/libreoffice/300/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 14:52:10.550: Failed to load module "canberra-gtk-module" (soffice:47474): GLib-GIO-WARNING **: 14:52:24.981: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2) (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-hidden (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-backup (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-hidden (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-backup (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-hidden (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-backup (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-hidden (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1633 (g_file_info_get_is_hidden): should not be reached (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: GFileInfo created without standard::is-backup (soffice:47474): GLib-GIO-CRITICAL **: 14:52:25.160: file ../src/gio/gfileinfo.c: line 1655 (g_file_info_get_is_backup): should not be reached Expected Results: The save-file window, which is not happening. Reproducible: Always User Profile Reset: Yes Additional Info: LibreOffice also crashes when I click on the copy widget in the Help -> About LibreOffice window. The following trace is seen in the parent bash window: Gtk-Message: 15:01:20.211: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. (soffice:50362): Gtk-WARNING **: 15:01:20.284: GTK+ module /snap/libreoffice/300/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 15:01:20.284: Failed to load module "canberra-gtk-module" (soffice:50362): Gtk-WARNING **: 15:01:20.285: GTK+ module /snap/libreoffice/300/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 15:01:20.285: Failed to load module "canberra-gtk-module" terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' Fatal exception: Signal 6 Stack: /snap/libreoffice/300/lib/libreoffice/program/libuno_sal.so.3(+0x81f3b)[0x7f57ac3e4f3b] /snap/libreoffice/300/lib/libreoffice/program/libuno_sal.so.3(+0x82177)[0x7f57ac3e5177] /snap/libreoffice/300/lib/libreoffice/program/libuno_sal.so.3(+0x8237a)[0x7f57ac3e537a] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f57a4e2e520] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f57a4e82a7c] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f57a4e2e476] /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f57a4e147f3] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa2b9e)[0x7f57a4c46b9e] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xae20c)[0x7f57a4c5220c] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xae277)[0x7f57a4c52277] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x4b)[0x7f57a4c5252b] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x1ccc4d2)[0x7f57a6cf64d2] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x1ccb4c5)[0x7f57a6cf54c5] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x2c44b75)[0x7f57a7c6eb75] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x2c4672f)[0x7f57a7c7072f] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x2c4ce16)[0x7f57a7c76e16] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x2c4c9e9)[0x7f57a7c769e9] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x285c172)[0x7f57a7886172] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x285c609)[0x7f57a7886609] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x41ed5c5)[0x7f57a92175c5] /snap/libreoffice/300/lib/libreoffice/program/libuno_sal.so.3(+0x1aa36)[0x7f57ac37da36] /snap/libreoffice/300/lib/libreoffice/program/libuno_sal.so.3(+0x8233f)[0x7f57ac3e533f] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f57a4e2e520] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libX11.so.6(XVisualIDFromVisual+0x4)[0x7f57a3501104] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_x11_window_foreign_new_for_display+0x18e)[0x7f579de4aa2e] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6b9f8)[0x7f579de359f8] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6d191)[0x7f579de37191] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x70d28)[0x7f579de3ad28] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x89)[0x7f579de00a99] /snap/libreoffice/300/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x70f46)[0x7f579de3af46] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5ee2b)[0x7f57a39bee2b] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x625f0)[0x7f57a39c25f0] /snap/libreoffice/300/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7f57a39c2eb3] /snap/libreoffice/300/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x138d84)[0x7f579e832d84] /snap/libreoffice/300/lib/libreoffice/program/libvclplug_gtk3lo.so(+0x13c6f2)[0x7f579e8366f2] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x41d9e46)[0x7f57a9203e46] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(_ZN11Application5YieldEv+0x196)[0x7f57a920477a] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(_ZN11Application7ExecuteEv+0x1ad)[0x7f57a9203b4b] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(+0x285e0e1)[0x7f57a78880e1] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(_Z10ImplSVMainv+0x219)[0x7f57a921783a] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(_Z6SVMainv+0xd)[0x7f57a9217963] /snap/libreoffice/300/lib/libreoffice/program/libmergedlo.so(soffice_main+0x141)[0x7f57a78b6185] /snap/libreoffice/300/lib/libreoffice/program/soffice.bin(+0x11d0)[0x55d0db7981d0] /snap/libreoffice/300/lib/libreoffice/program/soffice.bin(+0x11b2)[0x55d0db7981b2] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f57a4e15d90] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f57a4e15e40] /snap/libreoffice/300/lib/libreoffice/program/soffice.bin(+0x10c5)[0x55d0db7980c5] /snap/libreoffice/300/libreoffice.wrapper: line 21: 50362 Aborted (core dumped) "$soffice" "$@" -- You are receiving this mail because: You are the assignee for the bug.