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 786420 - [gnome-terminal] crash on touch event (NULL deref)
[gnome-terminal] crash on touch event (NULL deref)
Status: RESOLVED DUPLICATE of bug 776220
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.22.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-17 11:37 UTC by Christian Persch
Modified: 2017-08-23 19:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2017-08-17 11:37:13 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=1482059.

@touch is NULL in #0, and it's dereferenced.

Program terminated with signal SIGSEGV, Segmentation fault.

Thread 1 (Thread 0x7fcbb5725a80 (LWP 2863))

  • #0 _create_touch_event
    at gdkdevice-wayland.c line 2318
  • #1 touch_handle_up
    at gdkdevice-wayland.c line 2437
  • #2 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #3 ffi_call
    at ../src/x86/ffi64.c line 525
  • #4 wl_closure_invoke
    at src/connection.c line 935
  • #5 dispatch_event
    at src/wayland-client.c line 1310
  • #6 dispatch_queue
    at src/wayland-client.c line 1456
  • #7 wl_display_dispatch_queue_pending
    at src/wayland-client.c line 1698
  • #8 wl_display_dispatch_pending
    at src/wayland-client.c line 1761

gtk+ version appears to be gtk3-3.22.17-2.fc26.x86_64.
Comment 1 Lyude 2017-08-22 21:06:54 UTC
Some details on how to reproduce this as well (this example uses gnome-terminal, but it can be reproduced with any native GTK+3 application on Wayland):

- Get a machine with a touch screen running gnome on wayland
- Open up gnome-terminal (be warned, it will kill all of your other active terminal sessions)
- Open up the menu on the top right corner of the GNOME toolbar, e.g. the one with the power button by tapping on it with your touch screen
- Using the touchscreen again, tap the title bar of gnome-terminal
- You have now crashed gnome-terminal. Feel free to observe a moment of silence for it's death if you feel it necessary.
Comment 2 Christian Persch 2017-08-23 08:26:35 UTC
*** Bug 783960 has been marked as a duplicate of this bug. ***
Comment 3 Strangiato 2017-08-23 14:16:27 UTC
duplicate
https://bugzilla.gnome.org/show_bug.cgi?id=776220
Comment 4 Daniel Boles 2017-08-23 19:38:19 UTC

*** This bug has been marked as a duplicate of bug 776220 ***