[Bug 1219970] New: [gnome-shell] Segfault when using libgda on Wayland and X11
https://bugzilla.suse.com/show_bug.cgi?id=1219970 Bug ID: 1219970 Summary: [gnome-shell] Segfault when using libgda on Wayland and X11 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: me@pavinjoseph.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Overview: gnome-shell is segfaulting and crashing when using libgda in an extension (simple emoji extension using SQLite to retrieve data). Issue happens with both Wayland and X11 sessions. Issue reproduced when tested against freshly installed, fully updated instance of Tumbleweed 20240213. Issue does not happen when tested against the following distributions: Fedora 39 Silverblue, Arch Linux Steps to Reproduce: 1. zypper in libgda-6_0-6_0_0 libgda-6_0-tools typelib-1_0-Gda-6_0 2. git clone https://github.com/pavinjosdev/Emoji-Copy.git 3. cd Emoji-Copy/ 4. python3 build/parser.py 5. ./install.sh 6. Logout of Wayland session and log back in 7. Open "Extensions" GUI app and enable Emoji-Copy Actual Results: Gnome Wayland session crashes and logs me out, on subsequent login all extensions are disabled. Gnome X11 session crashes and produces an error message which itself is unresponsive. Cannot login with an X11 session until extensions are disabled using a Wayland session. Expected Results: Gnome on Wayland and X11 should not crash on enabling an extension that uses libgda. Additional information: 1. systemd-journal errors: Feb 15 17:49:19 localhost.localdomain systemd-coredump[2742]: [\U0001f855] Process 1279 (gnome-shell) of user 1000 dumped core. Stack trace of thread 2740: #0 0x0000000000000000 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64 2. Coredump info: PID: 1279 (gnome-shell) UID: 1000 (pavin) GID: 1000 (pavin) Signal: 11 (SEGV) Timestamp: Thu 2024-02-15 17:49:17 IST (4min 58s ago) Command Line: /usr/bin/gnome-shell Executable: /usr/bin/gnome-shell Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service Unit: user@1000.service User Unit: org.gnome.Shell@wayland.service Slice: user-1000.slice Owner UID: 1000 (pavin) Boot ID: 769889a87873473e892d3642aebca31f Machine ID: e792f12cd59b4a85a8e048fcdd9e49f8 Hostname: localhost.localdomain Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.769889a87873473e892d3642aebca31f.1279.1707999557000000.zst (present) Size on Disk: 21.5M Message: Process 1279 (gnome-shell) of user 1000 dumped core. Stack trace of thread 2740: #0 0x0000000000000000 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64 3. Full coredump attached. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219970 https://bugzilla.suse.com/show_bug.cgi?id=1219970#c1 --- Comment #1 from Pavin Joseph <me@pavinjoseph.com> --- Created attachment 872762 --> https://bugzilla.suse.com/attachment.cgi?id=872762&action=edit coredump_gnome-shell -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219970 https://bugzilla.suse.com/show_bug.cgi?id=1219970#c2 --- Comment #2 from Pavin Joseph <me@pavinjoseph.com> --- Sorry, the steps to reproduce issue doesn't work anymore as the extension code was updated to use sql.js library instead of relying of libgda. Using libgda and sqlite to make a query is enough to trigger the bug and segfault. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219970 https://bugzilla.suse.com/show_bug.cgi?id=1219970#c3 Ailin Nemui <ailin.nemui@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ailin.nemui@gmail.com --- Comment #3 from Ailin Nemui <ailin.nemui@gmail.com> --- can you load the coredump into gdb and request a backtrace (bt full)? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219970 Pavin Joseph <me@pavinjoseph.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219970 Pavin Joseph <me@pavinjoseph.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P2 - High Severity|Normal |Major -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219970 https://bugzilla.suse.com/show_bug.cgi?id=1219970#c6 --- Comment #6 from Pavin Joseph <me@pavinjoseph.com> --- Related OpenSuse bug (sorry I missed it before creating this report): https://bugzilla.opensuse.org/show_bug.cgi?id=1213339 Not sure why the problem affects only OpenSuse. I see Fedora is also using the same version of libgda but it's not affected. Arch is still using the stable 5.x series and it also does not have the problem. Perhaps the Fedora team has some patches that prevent this bug? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com