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: