[Wayland-bugs] [Bug 776220] GTK applications crash when using touchscreen

mutter (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 10 19:36:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=776220

Alban Browaeys <prahal at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prahal at yahoo.com

--- Comment #12 from Alban Browaeys <prahal at yahoo.com> ---
This trace has more details, touch id value is zero.

gnome-shell/mutter/gnome-terminal 3.26.2
wayland-client 1.14.0
gtk3 3.22.25
glib 2.54.2

I am unable to reproduce the steps to this one. gnome-terminal was already
running for a while and I was annoyed by the virtual keyboard constantly
popping up. I closed it a few times, disabled it and somehow got this trace.


Thread 4 (Thread 0x7fc14f1b0700 (LWP 17185)):
#0  0x00007fc15a05766d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc15a782159 in g_main_context_poll (priority=<optimized out>,
n_fds=2, fds=0x7fc1440010c0, timeout=<optimized out>, context=0x7fc1480159d0)
at ../../../../glib/gmain.c:4187
#2  0x00007fc15a782159 in g_main_context_iterate (context=0x7fc1480159d0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3881
#3  0x00007fc15a7824f2 in g_main_loop_run (loop=0x7fc148017870) at
../../../../glib/gmain.c:4082
#4  0x00007fc15ad6baf6 in gdbus_shared_thread_func (user_data=0x7fc1480159a0)
at ../../../../gio/gdbusprivate.c:275
#5  0x00007fc15a7a9635 in g_thread_proxy (data=0x55820ae3b320) at
../../../../glib/gthread.c:784
#6  0x00007fc15a31c494 in start_thread (arg=0x7fc14f1b0700) at
pthread_create.c:333
#7  0x00007fc15a060abf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7fc1501b2700 (LWP 17183)):
#0  0x00007fc15a05766d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc15a782159 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fc1480010e0, timeout=<optimized out>, context=0x55820ae40610)
at ../../../../glib/gmain.c:4187
#2  0x00007fc15a782159 in g_main_context_iterate
(context=context at entry=0x55820ae40610, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3881
#3  0x00007fc15a78226c in g_main_context_iteration (context=0x55820ae40610,
may_block=1) at ../../../../glib/gmain.c:3947
#4  0x00007fc1501ba42d in  () at
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007fc15a7a9635 in g_thread_proxy (data=0x55820ae3acf0) at
../../../../glib/gthread.c:784
#6  0x00007fc15a31c494 in start_thread (arg=0x7fc1501b2700) at
pthread_create.c:333
#7  0x00007fc15a060abf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7fc14f9b1700 (LWP 17184)):
#0  0x00007fc15a05766d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc15a782159 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7fc1400008c0, timeout=<optimized out>, context=0x7fc148004000)
at ../../../../glib/gmain.c:4187
#2  0x00007fc15a782159 in g_main_context_iterate
(context=context at entry=0x7fc148004000, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3881
#3  0x00007fc15a78226c in g_main_context_iteration (context=0x7fc148004000,
may_block=may_block at entry=1) at ../../../../glib/gmain.c:3947
#4  0x00007fc15a7822b1 in glib_worker_main (data=<optimized out>) at
../../../../glib/gmain.c:5742
#5  0x00007fc15a7a9635 in g_thread_proxy (data=0x55820ae3b280) at
../../../../glib/gthread.c:784
#6  0x00007fc15a31c494 in start_thread (arg=0x7fc14f9b1700) at
pthread_create.c:333
#7  0x00007fc15a060abf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7fc15c6b1a80 (LWP 17182)):
#0  0x00007fc15b7441c0 in _create_touch_event (seat=seat at entry=0x55820ae4a030
[GdkWaylandSeat], touch=touch at entry=0x0, evtype=evtype at entry=GDK_TOUCH_END,
time=time at entry=3821395) at ../../../../../gdk/wayland/gdkdevice-wayland.c:2332
#1  0x00007fc15b744a33 in touch_handle_up (data=0x55820ae4a030,
wl_touch=<optimized out>, serial=<optimized out>, time=3821395, id=0) at
../../../../../gdk/wayland/gdkdevice-wayland.c:2451
#2  0x00007fc154ee4038 in ffi_call_unix64 () at
/usr/lib/x86_64-linux-gnu/libffi.so.6
#3  0x00007fc154ee3a9a in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#4  0x00007fc156fc3d8b in wl_closure_invoke
(closure=closure at entry=0x55820b0e6920, flags=flags at entry=1, target=<optimized
out>, target at entry=0x55820ae72460, opcode=opcode at entry=1, data=<optimized out>)
at ../src/connection.c:935
#5  0x00007fc156fc0928 in dispatch_event (display=display at entry=0x55820ae24ac0,
queue=<optimized out>) at ../src/wayland-client.c:1310
#6  0x00007fc156fc1be4 in dispatch_queue (queue=0x55820ae24b88,
display=0x55820ae24ac0) at ../src/wayland-client.c:1456
#7  0x00007fc156fc1be4 in wl_display_dispatch_queue_pending
(display=0x55820ae24ac0, queue=0x55820ae24b88) at ../src/wayland-client.c:1698
#8  0x00007fc156fc1c3c in wl_display_dispatch_pending (display=<optimized out>)
at ../src/wayland-client.c:1761
#9  0x00007fc15b74f1c4 in _gdk_wayland_display_queue_events (display=<optimized
out>) at ../../../../../gdk/wayland/gdkeventsource.c:201
#10 0x00007fc15b6ed8c0 in gdk_display_get_event
(display=display at entry=0x55820ae320e0 [GdkWaylandDisplay]) at
../../../../gdk/gdkdisplay.c:438
#11 0x00007fc15b74eeb2 in gdk_event_source_dispatch
(base=base at entry=0x55820ae43d60, callback=<optimized out>, data=<optimized
out>) at ../../../../../gdk/wayland/gdkeventsource.c:120
#12 0x00007fc15a781fa7 in g_main_dispatch (context=0x55820ae2adf0) at
../../../../glib/gmain.c:3148
#13 0x00007fc15a781fa7 in g_main_context_dispatch
(context=context at entry=0x55820ae2adf0) at ../../../../glib/gmain.c:3813
#14 0x00007fc15a7821e0 in g_main_context_iterate
(context=context at entry=0x55820ae2adf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3886
#15 0x00007fc15a78226c in g_main_context_iteration
(context=context at entry=0x55820ae2adf0, may_block=may_block at entry=1) at
../../../../glib/gmain.c:3947
#16 0x00007fc15ad3fc0d in g_application_run (application=0x7fc148012610
[TerminalApp], argc=<optimized out>, argv=<optimized out>) at
../../../../gio/gapplication.c:2401
#17 0x0000558208feb80d in  ()
#18 0x00007fc159f982e1 in __libc_start_main (main=0x558208feb690, argc=1,
argv=0x7fff5343c638, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff5343c628) at ../csu/libc-start.c:291
#19 0x0000558208feb96a in  ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171110/b7f23099/attachment-0001.html>


More information about the wayland-bugs mailing list