Bug 104027 - Wayland crash when clicking Wacom tablet buttons
Summary: Wayland crash when clicking Wacom tablet buttons
Status: RESOLVED MOVED
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium critical
Assignee: Wayland bug list
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-02 00:00 UTC by Jehan
Modified: 2019-05-10 15:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jehan 2017-12-02 00:00:10 UTC
GNOME/Wayland from Fedora 27.

When the crash happened, no specific application was opened, I was simply testing a Wacom tablet buttons (I just mapped some letters to a button and was clicking them in a terminal to see if they appeared).
Then it crashed after a few minutes.

> $ coredumpctl list
> [...]
> Fri 2017-12-01 23:09:10 CET   14052  1000  1000   6 present   /usr/bin/Xwayland
> Fri 2017-12-01 23:09:13 CET   14002  1000  1000   5 present   /usr/bin/gnome-shell

$ coredumpctl gdb /usr/bin/Xwayland
           PID: 14052 (Xwayland)
           UID: 1000 (jehan)
           GID: 1000 (jehan)
        Signal: 6 (ABRT)
     Timestamp: Fri 2017-12-01 23:09:10 CET (1h 49min ago)
  Command Line: /usr/bin/Xwayland :0 -rootless -terminate -core -listen 4 -listen 5 -displayfd 6
    Executable: /usr/bin/Xwayland
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (jehan)
       Boot ID: 527685df08a54928b34265eb31732096
    Machine ID: 91a227afc4144f14aff99675126a3873
      Hostname: DarkMarmot
       Storage: /var/lib/systemd/coredump/core.Xwayland.1000.527685df08a54928b34265eb31732096.14052.1512166150000000.lz4
       Message: Process 14052 (Xwayland) of user 1000 dumped core.
                
                Stack trace of thread 14052:
                #0  0x00007efcc645869b raise (libc.so.6)
                #1  0x00007efcc645a3b1 abort (libc.so.6)
                #2  0x0000000000594a9a OsAbort (Xwayland)
                #3  0x0000000000599c63 AbortServer (Xwayland)
                #4  0x000000000059aa85 FatalError (Xwayland)
                #5  0x0000000000591b8e OsSigHandler (Xwayland)
                #6  0x00007efcc6818a70 __restore_rt (libpthread.so.0)
                #7  0x00007efcc88b9e79 wl_proxy_marshal (libwayland-client.so.0)
                #8  0x0000000000428890 xwl_seat_set_cursor (Xwayland)
                #9  0x0000000000428b79 xwl_set_cursor (Xwayland)
                #10 0x000000000047505a miPointerUpdateSprite (Xwayland)
                #11 0x00000000004752aa miPointerDisplayCursor (Xwayland)
                #12 0x0000000000461480 CursorDisplayCursor (Xwayland)
                #13 0x00000000004ee26f AnimCurDisplayCursor (Xwayland)
                #14 0x0000000000560cdb ChangeToCursor (Xwayland)
                #15 0x0000000000564c9c CheckMotion (Xwayland)
                #16 0x0000000000564e7a WindowsRestructured (Xwayland)
                #17 0x00000000005881c9 UnmapWindow (Xwayland)
                #18 0x000000000055205a ProcUnmapWindow (Xwayland)
                #19 0x0000000000557e88 Dispatch (Xwayland)
                #20 0x000000000055bed0 dix_main (Xwayland)
                #21 0x00007efcc644203a __libc_start_main (libc.so.6)
                #22 0x0000000000422a3a _start (Xwayland)
                
                Stack trace of thread 14053:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)
                
                Stack trace of thread 14055:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)
                
                Stack trace of thread 14056:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)
                
                Stack trace of thread 14054:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)

$ coredumpctl gdb /usr/bin/gnome-shell
           PID: 14002 (gnome-shell)
           UID: 1000 (jehan)
           GID: 1000 (jehan)
        Signal: 5 (TRAP)
     Timestamp: Fri 2017-12-01 23:09:10 CET (1h 49min ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (jehan)
       Boot ID: 527685df08a54928b34265eb31732096
    Machine ID: 91a227afc4144f14aff99675126a3873
      Hostname: DarkMarmot
       Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.527685df08a54928b34265eb31732096.14002.1512166150000000.lz4
       Message: Process 14002 (gnome-shell) of user 1000 dumped core.
                
                Stack trace of thread 14002:
                #0  0x00007fd8af4f090b raise (libpthread.so.0)
                #1  0x0000560892860a0b dump_gjs_stack_on_signal_handler (gnome-shell)
                #2  0x00007fd8af4f0a70 __restore_rt (libpthread.so.0)
                #3  0x00007fd8b128c7b1 _g_log_abort (libglib-2.0.so.0)
                #4  0x00007fd8b128d7ec g_log_default_handler (libglib-2.0.so.0)
                #5  0x0000560892860ae5 default_log_handler (gnome-shell)
                #6  0x00007fd8b128da7d g_logv (libglib-2.0.so.0)
                #7  0x00007fd8b128dbef g_log (libglib-2.0.so.0)
                #8  0x00007fd8af7d5cce x_io_error (libmutter-1.so.0)
                #9  0x00007fd8adebdede _XIOError (libX11.so.6)
                #10 0x00007fd8adebb8a2 _XReadEvents (libX11.so.6)
                #11 0x00007fd8adea2f84 XIfEvent (libX11.so.6)
                #12 0x00007fd8af7968ab meta_display_get_current_time_roundtrip (libmutter-1.so.0)
                #13 0x00007fd8af7c0ba9 handle_other_xevent (libmutter-1.so.0)
                #14 0x00007fd8af7c173b xevent_filter (libmutter-1.so.0)
                #15 0x00007fd8aea0ea7f gdk_event_apply_filters (libgdk-3.so.0)
                #16 0x00007fd8aea0ed69 _gdk_x11_display_queue_events (libgdk-3.so.0)
                #17 0x00007fd8ae9d8820 gdk_display_get_event (libgdk-3.so.0)
                #18 0x00007fd8aea0eb12 gdk_event_source_dispatch (libgdk-3.so.0)
                #19 0x00007fd8b1286bb7 g_main_context_dispatch (libglib-2.0.so.0)
                #20 0x00007fd8b1286f60 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #21 0x00007fd8b1287272 g_main_loop_run (libglib-2.0.so.0)
                #22 0x00007fd8af7a14fc meta_run (libmutter-1.so.0)
                #23 0x000056089286042c main (gnome-shell)
                #24 0x00007fd8af11a03a __libc_start_main (libc.so.6)
                #25 0x000056089286056a _start (gnome-shell)
                
                Stack trace of thread 14007:
                #0  0x00007fd8af2068bb __poll (libc.so.6)
                #1  0x00007fd8b1286ed9 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #2  0x00007fd8b1286fec g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fd8b1287031 glib_worker_main (libglib-2.0.so.0)
                #4  0x00007fd8b12ae4c6 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14225:
                #0  0x00007fd8af212fd6 epoll_pwait (libc.so.6)
                #1  0x00007fd836da76e3 loop_iterate (libspa-support.so)
                #2  0x00007fd8a37afba8 do_loop (libpipewire-0.1.so.0)
                #3  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #4  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14013:
                #0  0x00007fd8af2068bb __poll (libc.so.6)
                #1  0x00007fd8b1286ed9 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #2  0x00007fd8b1286fec g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fd89022842d dconf_gdbus_worker_thread (libdconfsettings.so)
                #4  0x00007fd8b12ae4c6 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14072:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14073:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14076:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14078:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14079:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14074:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14070:
                #0  0x00007fd8af214257 __socket (libc.so.6)
                #1  0x00007fd8a3ffe4fd _xcb_socket (libxcb.so.1)
                #2  0x00007fd8a3ffeccd xcb_connect_to_display_with_auth_info (libxcb.so.1)
                #3  0x00007fd88845b176 pa_client_conf_from_x11 (libpulsecommon-11.1.so)
                #4  0x00007fd88841cf00 pa_client_conf_load (libpulsecommon-11.1.so)
                #5  0x00007fd888699752 pa_context_new_with_proplist (libpulse.so.0)
                #6  0x00007fd8888de10a context_connect (libcanberra-pulse.so)
                #7  0x00007fd8888de571 context_state_cb (libcanberra-pulse.so)
                #8  0x00007fd888699aa8 pa_context_set_state (libpulse.so.0)
                #9  0x00007fd88844bf76 do_pstream_read_write (libpulsecommon-11.1.so)
                #10 0x00007fd8886af378 pa_mainloop_dispatch (libpulse.so.0)
                #11 0x00007fd8886af74e pa_mainloop_iterate (libpulse.so.0)
                #12 0x00007fd8886af7d0 pa_mainloop_run (libpulse.so.0)
                #13 0x00007fd8886bd639 thread (libpulse.so.0)
                #14 0x00007fd88845cac8 internal_thread_func (libpulsecommon-11.1.so)
                #15 0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #16 0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14009:
                #0  0x00007fd8b12a455e g_slice_free1 (libglib-2.0.so.0)
                #1  0x00007fd8b12c28f6 g_variant_unref (libglib-2.0.so.0)
                #2  0x00007fd8b12c29c1 g_variant_release_children (libglib-2.0.so.0)
                #3  0x00007fd8b12c2904 g_variant_unref (libglib-2.0.so.0)
                #4  0x00007fd8b186764f g_dbus_message_new_from_blob (libgio-2.0.so.0)
                #5  0x00007fd8b1871a66 _g_dbus_worker_do_read_cb (libgio-2.0.so.0)
                #6  0x00007fd8b182e2a4 g_task_return_now (libgio-2.0.so.0)
                #7  0x00007fd8b182e2d9 complete_in_idle_cb (libgio-2.0.so.0)
                #8  0x00007fd8b1283597 g_idle_dispatch (libglib-2.0.so.0)
                #9  0x00007fd8b1286bb7 g_main_context_dispatch (libglib-2.0.so.0)
                #10 0x00007fd8b1286f60 g_main_context_iterate.isra.25 (libglib-2.0.so.0)
                #11 0x00007fd8b1287272 g_main_loop_run (libglib-2.0.so.0)
                #12 0x00007fd8b186fb36 gdbus_shared_thread_func (libgio-2.0.so.0)
                #13 0x00007fd8b12ae4c6 g_thread_proxy (libglib-2.0.so.0)
                #14 0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #15 0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14075:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
                
                Stack trace of thread 14077:
                #0  0x00007fd8af4ebc3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd8a774fa24 _ZN2js17ConditionVariable4waitERNS_9LockGuardINS_5MutexEEE (libmozjs-52.so.0)
                #2  0x00007fd8a774fc95 _ZN2js17ConditionVariable8wait_forERNS_9LockGuardINS_5MutexEEERKN7mozilla16BaseTimeDurationINS5_27TimeDurationValueCalculatorEEE (libmozjs-52.so.0)
                #3  0x00007fd8a7b483d3 _ZN2js12HelperThread10threadLoopEv (libmozjs-52.so.0)
                #4  0x00007fd8a7b699f2 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-52.so.0)
                #5  0x00007fd8af4e5609 start_thread (libpthread.so.0)
                #6  0x00007fd8af212e6f __clone (libc.so.6)
Comment 1 Jehan 2017-12-02 00:03:42 UTC
Changing component to Xwayland since the original crash seems to have happened there.
Also setting to critical since it crashes GNOME and everything in it.

Moreover I am not sure at all there is any relation with Wacom. That's just what I was doing at the time (testing Wacom buttons) but there don't look to be anything related to it in the backtraces.
Comment 2 Olivier Fourdan 2017-12-04 10:09:37 UTC
Could you please install the relevant debuginfo packages for Xwayland and post the output of "bt full" in gdb?
Comment 3 Jehan 2017-12-04 15:38:30 UTC
(In reply to Olivier Fourdan from comment #2)
> Could you please install the relevant debuginfo packages for Xwayland and
> post the output of "bt full" in gdb?

For my own reference, I installed the debuginfo with:

> sudo dnf debuginfo-install /usr/bin/Xwayland

The output:

$ coredumpctl gdb /usr/bin/Xwayland 14052
           PID: 14052 (Xwayland)
           UID: 1000 (jehan)
           GID: 1000 (jehan)
        Signal: 6 (ABRT)
     Timestamp: Fri 2017-12-01 23:09:10 CET (2 days ago)
  Command Line: /usr/bin/Xwayland :0 -rootless -terminate -core -listen 4 -listen 5 -displayfd 6
    Executable: /usr/bin/Xwayland
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (jehan)
       Boot ID: 527685df08a54928b34265eb31732096
    Machine ID: 91a227afc4144f14aff99675126a3873
      Hostname: DarkMarmot
       Storage: /var/lib/systemd/coredump/core.Xwayland.1000.527685df08a54928b34265eb31732096.14052.1512166150000000.lz4
       Message: Process 14052 (Xwayland) of user 1000 dumped core.
                
                Stack trace of thread 14052:
                #0  0x00007efcc645869b raise (libc.so.6)
                #1  0x00007efcc645a3b1 abort (libc.so.6)
                #2  0x0000000000594a9a OsAbort (Xwayland)
                #3  0x0000000000599c63 AbortServer (Xwayland)
                #4  0x000000000059aa85 FatalError (Xwayland)
                #5  0x0000000000591b8e OsSigHandler (Xwayland)
                #6  0x00007efcc6818a70 __restore_rt (libpthread.so.0)
                #7  0x00007efcc88b9e79 wl_proxy_marshal (libwayland-client.so.0)
                #8  0x0000000000428890 xwl_seat_set_cursor (Xwayland)
                #9  0x0000000000428b79 xwl_set_cursor (Xwayland)
                #10 0x000000000047505a miPointerUpdateSprite (Xwayland)
                #11 0x00000000004752aa miPointerDisplayCursor (Xwayland)
                #12 0x0000000000461480 CursorDisplayCursor (Xwayland)
                #13 0x00000000004ee26f AnimCurDisplayCursor (Xwayland)
                #14 0x0000000000560cdb ChangeToCursor (Xwayland)
                #15 0x0000000000564c9c CheckMotion (Xwayland)
                #16 0x0000000000564e7a WindowsRestructured (Xwayland)
                #17 0x00000000005881c9 UnmapWindow (Xwayland)
                #18 0x000000000055205a ProcUnmapWindow (Xwayland)
                #19 0x0000000000557e88 Dispatch (Xwayland)
                #20 0x000000000055bed0 dix_main (Xwayland)
                #21 0x00007efcc644203a __libc_start_main (libc.so.6)
                #22 0x0000000000422a3a _start (Xwayland)
                
                Stack trace of thread 14053:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)
                
                Stack trace of thread 14055:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)
                
                Stack trace of thread 14056:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)
                
                Stack trace of thread 14054:
                #0  0x00007efcc6813c3b pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007efcc091b97b thread_function (swrast_dri.so)
                #2  0x00007efcc091b7f7 impl_thrd_routine (swrast_dri.so)
                #3  0x00007efcc680d609 start_thread (libpthread.so.0)
                #4  0x00007efcc653ae6f __clone (libc.so.6)

GNU gdb (GDB) Fedora 8.0.1-30.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/Xwayland...Reading symbols from /usr/lib/debug/usr/bin/Xwayland-1.19.5-1.fc27.x86_64.debug...done.
done.
[New LWP 14052]
[New LWP 14053]
[New LWP 14055]
[New LWP 14056]
[New LWP 14054]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/Xwayland :0 -rootless -terminate -core -listen 4 -listen 5 -displayfd'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007efcc645869b in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7efcc9780f00 (LWP 14052))]
Missing separate debuginfos, use: dnf debuginfo-install audit-libs-2.8.1-1.fc27.x86_64 bzip2-libs-1.0.6-24.fc27.x86_64 elfutils-libelf-0.170-1.fc27.x86_64 expat-2.2.5-1.fc27.x86_64 freetype-2.8-6.fc27.x86_64 glibc-2.26-16.fc27.x86_64 libX11-1.6.5-4.fc27.x86_64 libX11-xcb-1.6.5-4.fc27.x86_64 libXau-1.0.8-9.fc27.x86_64 libXdmcp-1.1.2-8.fc27.x86_64 libXext-1.3.3-7.fc27.x86_64 libXfont2-2.0.2-1.fc27.x86_64 libcap-ng-0.7.8-5.fc27.x86_64 libdrm-2.4.88-1.fc27.x86_64 libepoxy-1.4.3-3.fc27.x86_64 libffi-3.1-14.fc27.x86_64 libfontenc-1.1.3-6.fc27.x86_64 libgcc-7.2.1-2.fc27.x86_64 libgcrypt-1.8.1-1.fc27.x86_64 libglvnd-1.0.0-1.fc27.x86_64 libglvnd-egl-1.0.0-1.fc27.x86_64 libglvnd-glx-1.0.0-1.fc27.x86_64 libgpg-error-1.27-3.fc27.x86_64 libpciaccess-0.13.4-6.fc27.x86_64 libpng-1.6.31-1.fc27.x86_64 libselinux-2.7-2.fc27.x86_64 libunwind-1.2.1-3.fc27.x86_64 libwayland-client-1.14.0-1.fc27.x86_64 libwayland-server-1.14.0-1.fc27.x86_64 libxcb-1.12-5.fc27.x86_64 libxshmfence-1.2-6.fc27.x86_64 llvm-libs-4.0.1-3.fc27.x86_64 lz4-libs-1.8.0-1.fc27.x86_64 mesa-dri-drivers-17.2.4-2.fc27.x86_64 mesa-libEGL-17.2.4-2.fc27.x86_64 mesa-libgbm-17.2.4-2.fc27.x86_64 mesa-libglapi-17.2.4-2.fc27.x86_64 ncurses-libs-6.0-13.20170722.fc27.x86_64 openssl-libs-1.1.0g-1.fc27.x86_64 pcre2-10.30-2.fc27.x86_64 pixman-0.34.0-4.fc27.x86_64 sssd-client-1.16.0-4.fc27.x86_64 systemd-libs-234-9.fc27.x86_64 xz-libs-5.2.3-4.fc27.x86_64 zlib-1.2.11-4.fc27.x86_64
(gdb) bt full
#0  0x00007efcc645869b in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007efcc645a3b1 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x0000000000594a9a in OsAbort () at utils.c:1361
No locals.
#3  0x0000000000599c63 in AbortServer () at log.c:877
No locals.
#4  0x000000000059aa85 in FatalError (f=f@entry=0x5bdcb0 "Caught signal %d (%s). Server aborting\n") at log.c:1015
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff11e153a0, reg_save_area = 0x7fff11e152d0}}
        args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fff11e153a0, reg_save_area = 0x7fff11e152d0}}
        beenhere = 1
#5  0x0000000000591b8e in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at osinit.c:154
        unused = <optimized out>
        sip = <optimized out>
        signo = 11
#6  <signal handler called>
No symbol table info available.
#7  0x00007efcc88b9e79 in wl_proxy_marshal () from /lib64/libwayland-client.so.0
No symbol table info available.
#8  0x0000000000428890 in wl_pointer_set_cursor (hotspot_y=<optimized out>, hotspot_x=<optimized out>, surface=<optimized out>, 
    serial=<optimized out>, wl_pointer=<optimized out>) at /usr/include/wayland-client-protocol.h:4443
No locals.
#9  xwl_seat_set_cursor (xwl_seat=0x3389310) at xwayland-cursor.c:161
        xwl_cursor = 0x33893c0
        cursor = <optimized out>
        stride = <optimized out>
#10 0x0000000000428b79 in xwl_set_cursor (device=<optimized out>, screen=<optimized out>, cursor=<optimized out>, x=<optimized out>, 
    y=<optimized out>) at xwayland-cursor.c:247
        xwl_seat = 0x3389310
        xwl_tablet_tool = <optimized out>
        cursor_visibility_changed = <optimized out>
#11 0x000000000047505a in miPointerUpdateSprite (pDev=0x3087e30) at mipointer.c:468
        y = 271
        devy = <optimized out>
        pScreen = 0x26226c0
        pCursor = <optimized out>
        x = 749
        devx = <optimized out>
        pPointer = 0x308e620
        pDev = 0x3087e30
#12 0x00000000004752aa in miPointerDisplayCursor (pDev=0x3087e30, pScreen=0x26226c0, pCursor=0x3275f30) at mipointer.c:206
        pPointer = <optimized out>
        pCursor = 0x3275f30
        pScreen = 0x26226c0
        pDev = 0x3087e30
#13 0x0000000000461480 in CursorDisplayCursor (pDev=0x3087e30, pScreen=0x26226c0, pCursor=0x3275f30) at cursor.c:150
        ret = <optimized out>
        backupProc = 0x4612d0 <CursorDisplayCursor>
#14 0x00000000004ee26f in AnimCurDisplayCursor (pDev=0x3087e30, pScreen=0x26226c0, pCursor=0x3275f30) at animcur.c:220
        ret = <optimized out>
#15 0x0000000000560cdb in ChangeToCursor (pDev=0x3087e30, cursor=0x3275f30) at events.c:936
        pSprite = 0x30c01a0
---Type <return> to continue, or q <return> to quit---
        pScreen = <optimized out>
#16 0x0000000000564c9c in CheckMotion (ev=ev@entry=0x0, pDev=pDev@entry=0x3087e30) at events.c:3081
        sourceid = 2
        prevSpriteWin = 0x34171c0
        newSpriteWin = 0x325bd80
        pSprite = 0x30c01a0
#17 0x0000000000564e7a in WindowsRestructured () at events.c:3098
        pDev = 0x3087e30
#18 0x00000000005881c9 in UnmapWindow (pWin=0x34171c0, fromConfigure=fromConfigure@entry=0) at window.c:2884
        pParent = <optimized out>
        wasRealized = 1
        wasViewable = <optimized out>
        pScreen = 0x26226c0
        pLayerWin = 0x34171c0
#19 0x000000000055205a in ProcUnmapWindow (client=<optimized out>) at dispatch.c:880
        pWin = 0x34171c0
        stuff = <optimized out>
        rc = 0
#20 0x0000000000557e88 in Dispatch () at dispatch.c:479
        result = <optimized out>
        start_tick = 300
#21 0x000000000055bed0 in dix_main (argc=11, argv=0x7fff11e15ee8, envp=<optimized out>) at main.c:287
        i = <optimized out>
        alwaysCheckForInput = {0, 1}
#22 0x00007efcc644203a in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#23 0x0000000000422a3a in _start ()
No symbol table info available.
(gdb)
Comment 4 Olivier Fourdan 2017-12-04 15:49:19 UTC
(In reply to Jehan from comment #3)
> #7  0x00007efcc88b9e79 in wl_proxy_marshal () from
> /lib64/libwayland-client.so.0
> No symbol table info available.
> #8  0x0000000000428890 in wl_pointer_set_cursor (hotspot_y=<optimized out>,
> hotspot_x=<optimized out>, surface=<optimized out>, 
>     serial=<optimized out>, wl_pointer=<optimized out>) at
> /usr/include/wayland-client-protocol.h:4443
> No locals.
> #9  xwl_seat_set_cursor (xwl_seat=0x3389310) at xwayland-cursor.c:161
>         xwl_cursor = 0x33893c0
>         cursor = <optimized out>
>         stride = <optimized out>

Thanks!

From within gdb, can you please do:

(gdb) f 9
(gdb) p *xwl_seat
(gdb) p *xwl_cursor

And copy/paste the result of those 3 commands above in here?
Comment 5 Jehan 2017-12-04 16:00:07 UTC
(gdb) f 9
#9  xwl_seat_set_cursor (xwl_seat=0x3389310) at xwayland-cursor.c:161
161	    wl_pointer_set_cursor(xwl_seat->wl_pointer,
(gdb) p *xwl_seat
$1 = {pointer = 0x3249108, relative_pointer = 0x3249108, keyboard = 0x33a9470, touch = 0x3248f90, stylus = 0x3420850, eraser = 0x9, 
  puck = 0x33961f0, xwl_screen = 0x33961f0, seat = 0x0, wl_pointer = 0x91, wp_relative_pointer = 0x339de60, wl_keyboard = 0x0, 
  wl_touch = 0x0, tablet_seat = 0x0, keys = {size = 0, alloc = 54336192, data = 0x0}, focus_window = 0x0, id = 0, 
  pointer_enter_serial = 0, link = {next = 0x0, prev = 0xc2959f}, x_cursor = 0x3275f30, cursor = {update_proc = 0x0, surface = 0x0, 
    frame_cb = 0x0, needs_update = 0}, last_xwindow = 0x90, touches = {next = 0x61, prev = 0x337bb40}, keymap_size = 0, keymap = 0x0, 
  keyboard_focus = 0x0, sync_pending = {next = 0x0, prev = 0x33a7430}, pointer_warp_emulator = 0x7efc00000000, 
  cursor_confinement_window = 0x0, confined_pointer = 0x7efcc31b6ba0, pending_pointer_event = {has_absolute = 53714816, x = 0, 
    y = 54212192, has_relative = 0, dx = 4.7924367646600915e-322, dy = 2.6580810796762399e-316, dx_unaccel = 0, dy_unaccel = 0}, 
  tablets = {next = 0x0, prev = 0x0}, tablet_tools = {next = 0x0, prev = 0x7efc00000000}, tablet_pads = {next = 0x0, 
    prev = 0x7efcc31b6ba0}}
(gdb) p *xwl_cursor
$2 = {update_proc = 0x0, surface = 0x0, frame_cb = 0x0, needs_update = 0}
(gdb)
Comment 6 GitLab Migration User 2019-05-10 15:53:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org'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.freedesktop.org/xorg/xserver/issues/709.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.