xfwm4 sometimes crashes when locking screen using xfce4-screensaver or screen just blanks
This happens between 2 and 3 times er month. It makes no difference if the screen is locked manually or after the specified time of inactivity.
When it happens, the screen blinks briefly and is indeed locked, but instead of the lock screen, the windows of the current desktop are visible (just unresponsive). I can enter my password blindly and the screen gets unlocked.
Even when unlocking is possible, this is still bad for 2 reasons:
- The windows should not be visible to anyone passing by while locked.
- The xfwm4 crash seems to restart the xfce panel also, and this results in all windows getting shifted in position by the height of the title bar and the width of the border. Maximized windows lose the information about their original size.
I'm using xfwm4 4.16.1-1 on Arch Linux with the modesetting driver on a AMD Radeon RX550.
This is the relevant except from my system journal:
Apr 23 03:37:37 TuxServer audit[2330]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=2330 comm="xfwm4" exe="/usr/bin/xfwm4" sig=5 res=1
Apr 23 03:37:37 TuxServer kernel: traps: xfwm4[2330] trap int3 ip:7f46c94d6d98 sp:7ffc1c53da10 error:0 in libglib-2.0.so.0.6800.1[7f46c9495000+8c000]
Apr 23 03:37:37 TuxServer kernel: audit: type=1701 audit(1619141857.952:494): auid=1000 uid=1000 gid=1000 ses=2 pid=2330 comm="xfwm4" exe="/usr/bin/xfwm4" sig=5 res=1
Apr 23 03:37:37 TuxServer audit: BPF prog-id=129 op=LOAD
Apr 23 03:37:37 TuxServer audit: BPF prog-id=130 op=LOAD
Apr 23 03:37:37 TuxServer audit: BPF prog-id=131 op=LOAD
Apr 23 03:37:37 TuxServer kernel: audit: type=1334 audit(1619141857.966:495): prog-id=129 op=LOAD
Apr 23 03:37:37 TuxServer kernel: audit: type=1334 audit(1619141857.966:496): prog-id=130 op=LOAD
Apr 23 03:37:37 TuxServer kernel: audit: type=1334 audit(1619141857.966:497): prog-id=131 op=LOAD
Apr 23 03:37:37 TuxServer systemd[1]: Started Process Core Dump (PID 1168966/UID 0).
Apr 23 03:37:37 TuxServer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-1168966-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 23 03:37:37 TuxServer kernel: audit: type=1130 audit(1619141857.969:498): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-1168966-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 23 03:37:38 TuxServer systemd-coredump[1168967]: Process 2330 (xfwm4) of user 1000 dumped core.
Stack trace of thread 2330:
#0 0x00007f46c94d6d98 g_log_writer_default (libglib-2.0.so.0 + 0x5ed98)
#1 0x00007f46c94d2b69 g_log_structured_array (libglib-2.0.so.0 + 0x5ab69)
#2 0x00007f46c94d2d71 g_log_structured_standard (libglib-2.0.so.0 + 0x5ad71)
#3 0x00007f46c9891ea7 n/a (libgdk-3.so.0 + 0x91ea7)
#4 0x00007f46c935baa5 _XError (libX11.so.6 + 0x43aa5)
#5 0x00007f46c93586f8 n/a (libX11.so.6 + 0x406f8)
#6 0x00007f46c9358795 n/a (libX11.so.6 + 0x40795)
#7 0x00007f46c93591ea _XEventsQueued (libX11.so.6 + 0x411ea)
#8 0x00007f46c934aa92 XPending (libX11.so.6 + 0x32a92)
#9 0x00007f46c988d7e6 n/a (libgdk-3.so.0 + 0x8d7e6)
#10 0x00007f46c94cc342 g_main_context_check (libglib-2.0.so.0 + 0x54342)
#11 0x00007f46c951fa8b n/a (libglib-2.0.so.0 + 0xa7a8b)
#12 0x00007f46c94cb593 g_main_loop_run (libglib-2.0.so.0 + 0x53593)
#13 0x00007f46c9ad658f gtk_main (libgtk-3.so.0 + 0x1d658f)
#14 0x0000556e152c45fc n/a (xfwm4 + 0xe5fc)
#15 0x00007f46c9005b25 __libc_start_main (libc.so.6 + 0x27b25)
#16 0x0000556e152c497e n/a (xfwm4 + 0xe97e)
Stack trace of thread 2344:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2335:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2338:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2332:
#0 0x00007f46c90d237f __poll (libc.so.6 + 0xf437f)
#1 0x00007f46c951fae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
#2 0x00007f46c94cb593 g_main_loop_run (libglib-2.0.so.0 + 0x53593)
#3 0x00007f46c8d97558 n/a (libgio-2.0.so.0 + 0x102558)
#4 0x00007f46c94fa0c1 n/a (libglib-2.0.so.0 + 0x820c1)
#5 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#6 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2343:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2341:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2340:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2352:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2337:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2331:
#0 0x00007f46c90d237f __poll (libc.so.6 + 0xf437f)
#1 0x00007f46c951fae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
#2 0x00007f46c94c9781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
#3 0x00007f46c94c97d2 n/a (libglib-2.0.so.0 + 0x517d2)
#4 0x00007f46c94fa0c1 n/a (libglib-2.0.so.0 + 0x820c1)
#5 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#6 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2360:
#0 0x00007f46c90d237f __poll (libc.so.6 + 0xf437f)
#1 0x00007f46b4078654 n/a (libpulse.so.0 + 0x33654)
#2 0x00007f46b40619a9 pa_mainloop_poll (libpulse.so.0 + 0x1c9a9)
#3 0x00007f46b406c281 pa_mainloop_iterate (libpulse.so.0 + 0x27281)
#4 0x00007f46b406c331 pa_mainloop_run (libpulse.so.0 + 0x27331)
#5 0x00007f46b407c7fe n/a (libpulse.so.0 + 0x377fe)
#6 0x00007f46a816e5cc n/a (libpulsecommon-14.2.so + 0x565cc)
#7 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#8 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2345:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2347:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2346:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2342:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2353:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2348:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2339:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2349:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2350:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2336:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Stack trace of thread 2351:
#0 0x00007f46c91c09ba __futex_abstimed_wait_common64 (libpthread.so.0 + 0x159ba)
#1 0x00007f46c91ba260 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf260)
#2 0x00007f46c41ba9ac n/a (radeonsi_dri.so + 0x1529ac)
#3 0x00007f46c41b45f8 n/a (radeonsi_dri.so + 0x14c5f8)
#4 0x00007f46c91b4299 start_thread (libpthread.so.0 + 0x9299)
#5 0x00007f46c90dd053 __clone (libc.so.6 + 0xff053)
Apr 23 03:37:38 TuxServer systemd[1]: systemd-coredump@1-1168966-0.service: Deactivated successfully.
Apr 23 03:37:38 TuxServer audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-1168966-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 23 03:37:38 TuxServer kernel: audit: type=1131 audit(1619141858.836:499): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-1168966-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 23 03:37:39 TuxServer audit: BPF prog-id=131 op=UNLOAD
Apr 23 03:37:39 TuxServer audit: BPF prog-id=130 op=UNLOAD
Apr 23 03:37:39 TuxServer audit: BPF prog-id=129 op=UNLOAD
Apr 23 03:37:39 TuxServer kernel: audit: type=1334 audit(1619141859.032:500): prog-id=131 op=UNLOAD
Apr 23 03:37:39 TuxServer kernel: audit: type=1334 audit(1619141859.032:501): prog-id=130 op=UNLOAD
Apr 23 03:37:39 TuxServer kernel: audit: type=1334 audit(1619141859.032:502): prog-id=129 op=UNLOAD
Edited by Markus Näher