Segfault in XWayland when waking from sleep
Hi,
I am running Xwayland within sway, but whenever the machine resumes from sleep (e.g. systemctl suspend
), I find all X11 apps dead and Xwayland segfaulted.
This is the backtrace printed to standard error:
(EE)
(EE) Backtrace:
(EE) 0: Xwayland (xorg_backtrace+0x40) [0x559679c53d70]
(EE) 1: Xwayland (0x559679ab5000+0x1a2349) [0x559679c57349]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fe5c0bbe000+0x13520) [0x7fe5c0bd1520]
(EE) 3: /home/xyene/install/lib/libwayland-client.so.0 (wl_proxy_marshal+0x9e) [0x7fe5c18aa0fe]
(EE) 4: Xwayland (xwl_seat_unconfine_pointer+0x2c) [0x559679b0b94c]
(EE) 5: Xwayland (ScreenRestructured+0xb6) [0x559679c2d4e6]
(EE) 6: Xwayland (0x559679ab5000+0x5956d) [0x559679b0e56d]
(EE) 7: /lib/x86_64-linux-gnu/libffi.so.6 (ffi_call_unix64+0x4c) [0x7fe5c09fa8ee]
(EE) 8: /lib/x86_64-linux-gnu/libffi.so.6 (ffi_call+0x22f) [0x7fe5c09fa2bf]
(EE) 9: /home/xyene/install/lib/libwayland-client.so.0 (0x7fe5c18a4000+0x8f7d) [0x7fe5c18acf7d]
(EE) 10: /home/xyene/install/lib/libwayland-client.so.0 (0x7fe5c18a4000+0x5a49) [0x7fe5c18a9a49]
(EE) 11: /home/xyene/install/lib/libwayland-client.so.0 (wl_display_dispatch_queue_pending+0x74) [0x7fe5c18aae44]
(EE) 12: Xwayland (0x559679ab5000+0x57c1b) [0x559679b0cc1b]
(EE) 13: Xwayland (ospoll_wait+0x71) [0x559679c57c91]
(EE) 14: Xwayland (WaitForSomething+0x1ab) [0x559679c51e6b]
(EE) 15: Xwayland (Dispatch+0xa7) [0x559679c23fc7]
(EE) 16: Xwayland (dix_main+0x366) [0x559679c280d6]
(EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb) [0x7fe5c0a24bbb]
(EE) 18: Xwayland (_start+0x2a) [0x559679b0756a]
(EE)
(EE) Segmentation fault at address 0x10
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
Aborted (core dumped)
I also obtained gdb
traces from systemd-coredumpctl
: https://gist.github.com/Xyene/29d1ea49368d137fda92f258afa6feaa
This is all on latest master, but the issue exists at least as of 1.20-4 in stable Debian.
I am happy to provide any other information that might be helpful.