Package: kwin-wayland
Version: 4:6.3.6-1
Severity: normal

Dear Maintainer,

kwin_wayland crashed with SIGSEGV about one second after the system resumed
from suspend-to-RAM (S3 "deep") while the screen was locked. The whole
session went down: plasmashell and several applications crashed as well and
had to be restarted after logging in again.

The crash happens in a Wayland request handler inside libkwin.so.6, called
from wl_event_loop_dispatch(). It happened once in 33 resume cycles between
2026-11-19 and 2026-11-22. In 10 other cycles of the same period only
kscreenlocker_greet crashed, with the signatures from #1113726.

Upstream report: https://bugs.kde.org/show_bug.cgi?id=529265
Possibly related: #1113726 (kscreenlocker_greet segfaults; same resume
cycles on this system, a greeter was running when kwin crashed).

Steps to reproduce:
1. Plasma Wayland session, two monitors on an AMD RX 6800 XT.
2. Plasma 6 default power settings: suspend after 15 min idle on AC,
   screen locks after 15 min.
3. Leave the machine idle until it locks and suspends to RAM.
4. On resume (here the machine wakes up by itself within seconds),
   kwin_wayland may crash.

System:
  Debian 13.7 (trixie), kernel 6.12.117+deb13-amd64
  kwin-wayland / kwin-common 4:6.3.6-1, plasma-workspace 4:6.3.6-2
  KDE Frameworks 6.13.0, Qt 6.8.2, xwayland 2:24.1.6-1
  libgl1-mesa-dri / mesa-vulkan-drivers 25.0.7-2+deb13u1
  firmware-amd-graphics 20250410-2, libdrm2 2.4.124-2
  AMD Ryzen 9 5950X, 32 GiB RAM
  AMD Radeon RX 6800 XT (Navi 21, 1002:73bf), amdgpu
  Monitor 1: DisplayPort (DP-1), 2560x1440 @ 165 Hz, scale 1.25, VRR off
  Monitor 2: HDMI (HDMI-A-1), 1920x1200 @ 60 Hz, scale 1.1
             (until a few days ago via HDMI-to-DVI adapter; the problem
             occurred with both connections)

Backtrace (systemd-coredump, no debug symbols), crashing thread:
#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-#21 Qt event loop (QSocketNotifier -> QCoreApplication::exec)
#22 0x000055f9eaba2498 n/a (/usr/bin/kwin_wayland + 0x59498)

Log excerpt (2026-11-22, CET):
10:30:21 kernel: amdgpu 0000:07:00.0: amdgpu: 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 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 systemd: plasma-plasmashell.service: Main process exited, code=exited, status=255/EXCEPTION

Reply via email to