After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784936 - Crash in `gdk_x11_device_manager_xi2_translate_event` when killing GNOME Terminal
Crash in `gdk_x11_device_manager_xi2_translate_event` when killing GNOME Term...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: .General
3.22.x
Other Linux
: High critical
: ---
Assigned To: gtk-bugs
gtk-bugs
https://retrace.fedoraproject.org/faf...
Depends on:
Blocks:
 
 
Reported: 2017-07-14 07:37 UTC by Paul Menzel
Modified: 2018-05-02 18:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2017-07-14 07:37:58 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.

  • #0 gdk_x11_device_manager_xi2_translate_event
    at ././gdk/x11/gdkdevicemanager-xi2.c line 1703
  • #1 _gdk_x11_event_translator_translate
    at ././gdk/x11/gdkeventtranslator.c line 51
  • #2 gdk_event_source_translate_event
    at ././gdk/x11/gdkeventsource.c line 230
  • #3 _gdk_x11_display_queue_events
    at ././gdk/x11/gdkeventsource.c line 341
  • #4 gdk_display_get_event
    at ././gdk/gdkdisplay.c line 438
  • #5 gdk_event_source_dispatch
    at ././gdk/x11/gdkeventsource.c line 363
  • #6 g_main_dispatch
    at ././glib/gmain.c line 3234
  • #7 g_main_context_dispatch
    at ././glib/gmain.c line 3899
  • #8 g_main_context_iterate
    at ././glib/gmain.c line 3972
  • #9 g_main_context_iteration
    at ././glib/gmain.c line 4033
  • #10 g_application_run
    at ././gio/gapplication.c line 2381
  • #11 0x800be5af in
  • #12 __libc_start_main
    at ../csu/libc-start.c line 291
  • #13 0x800be711 in
  • #0 gdk_x11_device_manager_xi2_translate_event
    at ././gdk/x11/gdkdevicemanager-xi2.c line 1703
  • #1 _gdk_x11_event_translator_translate
    at ././gdk/x11/gdkeventtranslator.c line 51
  • #2 gdk_event_source_translate_event
    at ././gdk/x11/gdkeventsource.c line 230
  • #3 _gdk_x11_display_queue_events
    at ././gdk/x11/gdkeventsource.c line 341
  • #4 gdk_display_get_event
    at ././gdk/gdkdisplay.c line 438
  • #5 gdk_event_source_dispatch
    at ././gdk/x11/gdkeventsource.c line 363
  • #6 g_main_dispatch
    at ././glib/gmain.c line 3234
  • #0 gdk_x11_device_manager_xi2_translate_event
    at ././gdk/x11/gdkdevicemanager-xi2.c line 1703
  • #1 _gdk_x11_event_translator_translate
    at ././gdk/x11/gdkeventtranslator.c line 51
  • #2 gdk_event_source_translate_event
    at ././gdk/x11/gdkeventsource.c line 230
  • #3 _gdk_x11_display_queue_events
    at ././gdk/x11/gdkeventsource.c line 341
  • #4 gdk_display_get_event
    at ././gdk/gdkdisplay.c line 438
  • #5 gdk_event_source_dispatch
    at ././gdk/x11/gdkeventsource.c line 363
  • #6 g_main_dispatch
    at ././glib/gmain.c line 3234
  • #7 g_main_context_dispatch
    at ././glib/gmain.c line 3899
  • #8 g_main_context_iterate
    at ././glib/gmain.c line 3972
  • #9 g_main_context_iteration
    at ././glib/gmain.c line 4033
  • #10 g_application_run
    at ././gio/gapplication.c line 2381
  • #11 0x800be5af in
  • #12 __libc_start_main
    at ../csu/libc-start.c line 291
  • #13 0x800be711 in

Comment 1 Paul Menzel 2017-07-14 07:40:14 UTC
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.
Comment 2 Christian Persch 2017-11-20 20:35:40 UTC
This appears to be a quite popular crash, on F26 and F27: https://retrace.fedoraproject.org/faf/reports/1763863/
Comment 3 Matthias Clasen 2017-11-21 17:46:47 UTC
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.
Comment 4 Sam Varshavchik 2018-02-03 19:18:26 UTC
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.
Comment 5 GNOME Infrastructure Team 2018-05-02 18:43:00 UTC
-- 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.