GNOME Bugzilla – Bug 784936
Crash in `gdk_x11_device_manager_xi2_translate_event` when killing GNOME Terminal
Last modified: 2018-05-02 18:43:00 UTC
With Debian Sid/unstable and libgtk-3-0:i386 3.22.16-1, due to a bug in probably Evolution, the window manager *awesome* hung. Switching to a TTY, I tried to exit several programs. Also GNOME Terminal (`/usr/lib/gnome-terminal/gnome-terminal-server`). That caused it to terminate with a segmentation fault. ``` gnome-terminal-[2288]: segfault at 50 ip b6dec445 sp bf954668 error 4 in libgdk-3.so.0.2200.16[b6d9a000+101000] ``` Here is the backtrace.
+ Trace 237650
By the way, the hang was, that the mouse cursor could still be moved, but it didn’t change its symbol despite it should have according to where it was hovering. Besides that, nothing worked anymore, that means it was somewhat frozen. After Evolution was killed with *SIGKILL*, the window manager started working again.
This appears to be a quite popular crash, on F26 and F27: https://retrace.fedoraproject.org/faf/reports/1763863/
the line numbers in those stack traces don't match up very well. And without a stacktrace with debuginfo, it is hard to say much.
I can reproduce this crash pretty much at will, using the steps from https://bugzilla.redhat.com/show_bug.cgi?id=1539347 using either gnome-terminal or xfce-terminal: 1. ssh to a remote server and tunnel my X11 connection over it. 2. On the remote server start an X11 client. 3. The X11 client passively grabs the pointer button, and does not release it. I typically reproduce this by running the X11 client in gdb, and setting a breakpoint when the X11 client receives a ButtonPress notification for the grabbed pointer button. gdb stops at the breakpoint, and the pointer button remains grabbed. 4. At this point, on the local display, I switch to an ALT-VT console, ssh to the same server, find the gdb process, and kill -9 it. 5. As soon as I ALT-VT back, this crash occurs, taking out gnome-terminal, or xfce-terminal.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/855.