https://bugs.kde.org/show_bug.cgi?id=529265
Bug ID: 529265
Summary: kwin_wayland crashes (SIGSEGV during Wayland request
dispatch) right after resume from S3 while the lock
screen is active
Classification: Plasma
Product: kwin
Version First 6.3.6
Reported In:
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
kwin_wayland crashed with SIGSEGV about one second after the system resumed
from suspend-to-RAM (S3). The screen was locked at that time. The crash
happens in a Wayland request handler inside libkwin.so.6, called from
wl_event_loop_dispatch(). The whole session went down: plasmashell and
several applications crashed as well, desktop icons were rearranged after
re-login.
In the same three days the lock screen greeter (kscreenlocker_greet) crashed
10 times on resume (see "Possibly related" below); kwin_wayland itself crashed
once (2026-11-22 10:30:22 CET).
STEPS TO REPRODUCE
1. Plasma 6.3.6 Wayland session, two monitors on an AMD RX 6800 XT.
2. Power management (Plasma 6 defaults): suspend after 15 min of
inactivity on AC; screen locks after 15 min.
3. Leave the machine idle. It locks and suspends to RAM (S3, "deep").
4. The machine resumes (here: by itself within seconds, cause still unknown;
the cycle idle -> suspend -> resume repeats roughly every 15 minutes).
OBSERVED RESULT
Within ~1 s after resume, kwin_wayland crashes (SIGSEGV). The session is
restarted. In most other resume cycles only kscreenlocker_greet crashes and
is restarted.
EXPECTED RESULT
Resume from S3 without compositor or greeter crash.
REPRODUCIBILITY
kwin_wayland: 1 crash in 33 S3 resume cycles (2026-11-19 .. 2026-11-22).
kscreenlocker_greet: 10 crashes in the same period.
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13.7 (trixie)
KDE Plasma Version: 6.3.6 (kwin-wayland 4:6.3.6-1)
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.117+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Mesa: 25.0.7-2+deb13u1, firmware-amd-graphics 20250410-2
libkscreenlocker6 / libplasma6: 6.3.5-1
HARDWARE
CPU: AMD Ryzen 9 5950X, 32 GiB RAM
GPU: AMD Radeon RX 6800 XT (Navi 21, 1002:73bf), amdgpu
Monitor 1: Acer XZ322QU on DisplayPort (DP-1), 2560x1440 @ 165 Hz,
scale 1.25, VRR off
Monitor 2: Samsung SyncMaster on HDMI-A-1, 1920x1200 @ 60 Hz, scale 1.1
(until a few days ago connected via HDMI-to-DVI adapter; the
problem occurred with both connections)
BACKTRACE (systemd-coredump, no debug symbols)
PID 3106 (kwin_wayland), signal 11 (SEGV)
Thread 3106 (crashing):
#0 0x00007fbda50a069c n/a (libc.so.6 + 0x9469c)
#1 0x00007fbda504bc42 raise (libc.so.6 + 0x3fc42)
#2 0x00007fbda8afa6e2 KCrash::defaultCrashHandler(int) (libKF6Crash.so.6 +
0x56e2)
#3 0x00007fbda504bd70 n/a (libc.so.6 + 0x3fd70)
#4 0x00007fbda85a8130 n/a (libkwin.so.6 + 0x5a8130)
#5 0x00007fbda383a6ce n/a (libffi.so.8 + 0x76ce)
#6 0x00007fbda383997e n/a (libffi.so.8 + 0x697e)
#7 0x00007fbda383a1ab ffi_call (libffi.so.8 + 0x71ab)
#8 0x00007fbda5be7ff1 n/a (libwayland-server.so.0 + 0xdff1)
#9 0x00007fbda5be2cd2 n/a (libwayland-server.so.0 + 0x8cd2)
#10 0x00007fbda5be5cf2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbcf2)
#11 0x00007fbda85b1656 KWin::Display::dispatchEvents() (libkwin.so.6 +
0x5b1656)
#12 0x00007fbda57e4403 n/a (libQt6Core.so.6 + 0x1e4403)
#13 0x00007fbda57e6d73 QSocketNotifier::activated(...) (libQt6Core.so.6 +
0x1e6d73)
#14 0x00007fbda57e98bb QSocketNotifier::event(QEvent*) (libQt6Core.so.6 +
0x1e98bb)
#15 0x00007fbda69b49b5 QApplicationPrivate::notify_helper(...)
(libQt6Widgets.so.6 + 0x1b49b5)
#16 0x00007fbda5796570 QCoreApplication::notifyInternal2(...) (libQt6Core.so.6
+ 0x196570)
#17 0x00007fbda58e3ea4 QEventDispatcherUNIXPrivate::activateSocketNotifiers()
(libQt6Core.so.6 + 0x2e3ea4)
#18 0x00007fbda58e44f9 QEventDispatcherUNIX::processEvents(...)
(libQt6Core.so.6 + 0x2e44f9)
#19 0x00007fbda63ba791 QUnixEventDispatcherQPA::processEvents(...)
(libQt6Gui.so.6 + 0x5ba791)
#20 0x00007fbda5798853 QEventLoop::exec(...) (libQt6Core.so.6 + 0x198853)
#21 0x00007fbda579a14a QCoreApplication::exec() (libQt6Core.so.6 + 0x19a14a)
#22 0x000055f9eaba2498 n/a (/usr/bin/kwin_wayland + 0x59498)
#23 0x00007fbda5035ca8 n/a (libc.so.6 + 0x29ca8)
#24 0x00007fbda5035d65 __libc_start_main (libc.so.6 + 0x29d65)
#25 0x000055f9eaba4121 n/a (/usr/bin/kwin_wayland + 0x5b121)
Other threads: Mesa (libgallium-25.0.7) worker threads idle in
pthread_cond_wait.
LOG EXCERPT (2026-11-22, CET)
10:30:14 kernel: PM: suspend entry (deep)
10:30:21 kernel: amdgpu 0000:07:00.0: amdgpu: MODE1 reset
10:30:21 kernel: amdgpu 0000:07:00.0: amdgpu: GPU mode1 reset
10:30:21 kernel: amdgpu 0000:07:00.0: amdgpu: GPU smu mode1 reset
10:30:21 kernel: ACPI: PM: Waking up from system sleep state S3
10:30:21 kernel: PM: suspend exit
10:30:22 org_kde_powerdevil: Device /dev/i2c-3 .. /dev/i2c-9 lacks R/W
permissions
10:30:22 kwin_wayland_wrapper[3106]: KCrash: Application 'kwin_wayland'
crashing... crashRecursionCounter = 2
10:30:24 systemd-coredump: Process 3106 (kwin_wayland) of user 1000 dumped
core.
10:30:24 plasmashell: The Wayland connection broke. Did the Wayland compositor
die?
10:30:24 kwin_wayland_wrapper[3189]: (EE) failed to read Wayland events:
Connection reset by peer
10:30:24 systemd: plasma-plasmashell.service: Main process exited, code=exited,
status=255/EXCEPTION
POSSIBLY RELATED
- Bug 501285 (kscreenlocker_greet crash on DPMS off/on, closed WORKSFORME).
On this system kscreenlocker_greet crashes on resume with the same
signatures as in Debian bug #1113726:
https://bugs.debian.org/1113726
(libKF6CoreAddons.so.6.13.0 offset 0x38f1e "segfault at 50";
libPlasmaQuick.so.6.3.5 offsets 0x564ec / 0x548c4)
The kwin_wayland crash happened while such a greeter was running.
--
You are receiving this mail because:
You are watching all bug changes.