Xwayland crashes after a while of computer inactivity
I can't reproduce this crash consistently. Mainly it occurs after I use the computer for several hours, then I stop to use the computer for a few minutes and my system goes to login screen because a Xwayland crash.
I use Arch Linux with xorg 1.20.5 and Gnome 3.32.2
Thread 6 (Thread 0x7fbd2e135700 (LWP 1521)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55c2f4243a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 (closed) __pthread_cond_wait_common (abstime=0x0, mutex=0x55c2f42439b8, cond=0x55c2f42439e0) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55c2f42439e0, mutex=0x55c2f42439b8) at pthread_cond_wait.c:655 #3 (closed) 0x00007fbd2e626e9c in cnd_wait (mtx=0x55c2f42439b8, cond=0x55c2f42439e0) at ../mesa-19.1.4/include/c11/threads_posix.h:155 #4 (closed) util_queue_thread_func (input=input@entry=0x55c2f42449a0) at ../mesa-19.1.4/src/util/u_queue.c:272 #5 (closed) 0x00007fbd2e626a98 in impl_thrd_routine (p=) at ../mesa-19.1.4/include/c11/threads_posix.h:87 #6 (closed) 0x00007fbd2fc3757f in start_thread (arg=) at pthread_create.c:486 #7 (closed) 0x00007fbd308090e3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
[mThread 5 (Thread 0x7fbd216e4700 (LWP 1547)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55c2f4922268) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 (closed) __pthread_cond_wait_common (abstime=0x0, mutex=0x55c2f4922218, cond=0x55c2f4922240) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55c2f4922240, mutex=0x55c2f4922218) at pthread_cond_wait.c:655 #3 (closed) 0x00007fbd2c829c34 in cnd_wait (mtx=0x55c2f4922218, cond=0x55c2f4922240) at ../mesa-19.1.4/include/c11/threads_posix.h:155 #4 (closed) pipe_semaphore_wait (sema=0x55c2f4922218) at ../mesa-19.1.4/src/gallium/auxiliary/os/os_thread.h:108 #5 (closed) thread_function (init_data=init_data@entry=0x55c2f4922178) at ../mesa-19.1.4/src/gallium/drivers/llvmpipe/lp_rast.c:805 #6 (closed) 0x00007fbd2c829a88 in impl_thrd_routine (p=) at ../mesa-19.1.4/include/c11/threads_posix.h:87 #7 (closed) 0x00007fbd2fc3757f in start_thread (arg=) at pthread_create.c:486 #8 (closed) 0x00007fbd308090e3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7fbd21ee5700 (LWP 1546)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55c2f4922108) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 (closed) __pthread_cond_wait_common (abstime=0x0, mutex=0x55c2f49220b8, cond=0x55c2f49220e0) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55c2f49220e0, mutex=0x55c2f49220b8) at pthread_cond_wait.c:655 #3 (closed) 0x00007fbd2c829c34 in cnd_wait (mtx=0x55c2f49220b8, cond=0x55c2f49220e0) at ../mesa-19.1.4/include/c11/threads_posix.h:155 #4 (closed) pipe_semaphore_wait (sema=0x55c2f49220b8) at ../mesa-19.1.4/src/gallium/auxiliary/os/os_thread.h:108 #5 (closed) thread_function (init_data=init_data@entry=0x55c2f4922018) at ../mesa-19.1.4/src/gallium/drivers/llvmpipe/lp_rast.c:805 #6 (closed) 0x00007fbd2c829a88 in impl_thrd_routine (p=) at ../mesa-19.1.4/include/c11/threads_posix.h:87 #7 (closed) 0x00007fbd2fc3757f in start_thread (arg=) at pthread_create.c:486 #8 (closed) 0x00007fbd308090e3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7fbd13fff700 (LWP 1549)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55c2f4922528) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 (closed) __pthread_cond_wait_common (abstime=0x0, mutex=0x55c2f49224d8, cond=0x55c2f4922500) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55c2f4922500, mutex=0x55c2f49224d8) at pthread_cond_wait.c:655 #3 (closed) 0x00007fbd2c829c34 in cnd_wait (mtx=0x55c2f49224d8, cond=0x55c2f4922500) at ../mesa-19.1.4/include/c11/threads_posix.h:155 #4 (closed) pipe_semaphore_wait (sema=0x55c2f49224d8) at ../mesa-19.1.4/src/gallium/auxiliary/os/os_thread.h:108 #5 (closed) thread_function (init_data=init_data@entry=0x55c2f4922438) at ../mesa-19.1.4/src/gallium/drivers/llvmpipe/lp_rast.c:805 #6 (closed) 0x00007fbd2c829a88 in impl_thrd_routine (p=) at ../mesa-19.1.4/include/c11/threads_posix.h:87 #7 (closed) 0x00007fbd2fc3757f in start_thread (arg=) at pthread_create.c:486 #8 (closed) 0x00007fbd308090e3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7fbd20ee3700 (LWP 1548)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55c2f49223c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 (closed) __pthread_cond_wait_common (abstime=0x0, mutex=0x55c2f4922378, cond=0x55c2f49223a0) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55c2f49223a0, mutex=0x55c2f4922378) at pthread_cond_wait.c:655 #3 (closed) 0x00007fbd2c829c34 in cnd_wait (mtx=0x55c2f4922378, cond=0x55c2f49223a0) at ../mesa-19.1.4/include/c11/threads_posix.h:155 #4 (closed) pipe_semaphore_wait (sema=0x55c2f4922378) at ../mesa-19.1.4/src/gallium/auxiliary/os/os_thread.h:108 #5 (closed) thread_function (init_data=init_data@entry=0x55c2f49222d8) at ../mesa-19.1.4/src/gallium/drivers/llvmpipe/lp_rast.c:805 #6 (closed) 0x00007fbd2c829a88 in impl_thrd_routine (p=) at ../mesa-19.1.4/include/c11/threads_posix.h:87 #7 (closed) 0x00007fbd2fc3757f in start_thread (arg=) at pthread_create.c:486 #8 (closed) 0x00007fbd308090e3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7fbd2f1c6d00 (LWP 1518)): #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 (closed) 0x00007fbd30732851 in __GI_abort () at abort.c:79 #2 0x000055c2f2bdae9a in OsAbort () at ../xorg-server-1.20.5/os/utils.c:1351 #3 (closed) 0x000055c2f2bde38c in AbortServer () at ../xorg-server-1.20.5/os/log.c:879 #4 (closed) FatalError (f=0x55c2f2d1c2c6 "%s") at ../xorg-server-1.20.5/os/log.c:1017 #5 (closed) 0x000055c2f2cf5dfc in xwl_log_handler (format=, args=) at ../xorg-server-1.20.5/hw/xwayland/xwayland.c:1149 #6 (closed) 0x00007fbd30203d8a in wl_abort (fmt=) at src/wayland-util.c:414 #7 (closed) 0x00007fbd301ffcd0 in wl_proxy_marshal_array_constructor_versioned (proxy=proxy@entry=0x55c2f40ee180, opcode=opcode@entry=0, args=args@entry=0x7ffedc6f5f90, interface=interface@entry=0x55c2f2d62c60 <wl_surface_interface>, version=1) at src/wayland-client.c:750 #8 (closed) 0x00007fbd301ffd2a in wl_proxy_marshal_array_constructor (proxy=proxy@entry=0x55c2f40ee180, opcode=opcode@entry=0, args=args@entry=0x7ffedc6f5f90, interface=interface@entry=0x55c2f2d62c60 <wl_surface_interface>) at src/wayland-client.c:690 #9 0x00007fbd301fff41 in wl_proxy_marshal_constructor (proxy=0x55c2f40ee180, opcode=opcode@entry=0, interface=0x55c2f2d62c60 <wl_surface_interface>) at src/wayland-client.c:824 #10 (closed) 0x000055c2f2cfc9f5 in wl_compositor_create_surface (wl_compositor=) at /usr/include/wayland-client-protocol.h:1211 #11 (closed) xwl_realize_window (window=0x55c2f51861d0) at ../xorg-server-1.20.5/hw/xwayland/xwayland.c:511 #12 (closed) 0x000055c2f2c6ff4d in compRealizeWindow (pWin=0x55c2f51861d0) at ../xorg-server-1.20.5/composite/compwindow.c:268 #13 0x000055c2f2c731f2 in RealizeTree (pWin=pWin@entry=0x55c2f51861d0) at ../xorg-server-1.20.5/dix/window.c:2617 #14 0x000055c2f2c73359 in MapWindow (client=0x55c2f4d6a6c0, pWin=0x55c2f51861d0) at ../xorg-server-1.20.5/dix/window.c:2694 #15 MapWindow (pWin=0x55c2f51861d0, client=0x55c2f4d6a6c0) at ../xorg-server-1.20.5/dix/window.c:2665 #16 (closed) 0x000055c2f2ca22bc in ProcMapWindow (client=0x55c2f4d6a6c0) at ../xorg-server-1.20.5/dix/dispatch.c:845 #17 (closed) 0x000055c2f2ca3e36 in Dispatch () at ../xorg-server-1.20.5/dix/dispatch.c:478 #18 0x000055c2f2ba6f0d in dix_main (envp=, argv=0x7ffedc6f64c8, argc=12) at ../xorg-server-1.20.5/dix/main.c:276 #19 (closed) main (argc=12, argv=0x7ffedc6f64c8, envp=) at ../xorg-server-1.20.5/dix/stubmain.c:34