🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5493

Bug#1154804: kwin-wayland: kwin_wayland crashes (SIGSEGV) right after resume from S3 while the lock screen is active

#5493
From: Nop
Date: Sun, 22 Nov 2026 12:00
180 lines
9830 bytes
This is a multi-part message in MIME format.
--------------Z6GkUaSl1TOswtS0HAL2KN0g
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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


--------------Z6GkUaSl1TOswtS0HAL2KN0g
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#e3e3e3">
    <p>Package: kwin-wayland<br>
      Version: 4:6.3.6-1<br>
      Severity: normal<br>
      <br>
      Dear Maintainer,<br>
      <br>
      kwin_wayland crashed with SIGSEGV about one second after the
      system resumed<br>
      from suspend-to-RAM (S3 "deep") while the screen was locked. The
      whole<br>
      session went down: plasmashell and several applications crashed as
      well and<br>
      had to be restarted after logging in again.<br>
      <br>
      The crash happens in a Wayland request handler inside
      libkwin.so.6, called<br>
      from wl_event_loop_dispatch(). It happened once in 33 resume
      cycles between<br>
      2026-11-19 and 2026-11-22. In 10 other cycles of the same period
      only<br>
      kscreenlocker_greet crashed, with the signatures from #1113726.<br>
      <br>
      Upstream report: <a class="moz-txt-link-freetext" href="https://bugs.kde.org/show_bug.cgi?id=529265">https://bugs.kde.org/show_bug.cgi?id=529265</a><br>
      Possibly related: #1113726 (kscreenlocker_greet segfaults; same
      resume<br>
      cycles on this system, a greeter was running when kwin crashed).<br>
      <br>
      Steps to reproduce:<br>
      1. Plasma Wayland session, two monitors on an AMD RX 6800 XT.<br>
      2. Plasma 6 default power settings: suspend after 15 min idle on
      AC,<br>
         screen locks after 15 min.<br>
      3. Leave the machine idle until it locks and suspends to RAM.<br>
      4. On resume (here the machine wakes up by itself within seconds),<br>
         kwin_wayland may crash.<br>
      <br>
      System:<br>
        Debian 13.7 (trixie), kernel 6.12.117+deb13-amd64<br>
        kwin-wayland / kwin-common 4:6.3.6-1, plasma-workspace 4:6.3.6-2<br>
        KDE Frameworks 6.13.0, Qt 6.8.2, xwayland 2:24.1.6-1<br>
        libgl1-mesa-dri / mesa-vulkan-drivers 25.0.7-2+deb13u1<br>
        firmware-amd-graphics 20250410-2, libdrm2 2.4.124-2<br>
        AMD Ryzen 9 5950X, 32 GiB RAM<br>
        AMD Radeon RX 6800 XT (Navi 21, 1002:73bf), amdgpu<br>
        Monitor 1: DisplayPort (DP-1), 2560x1440 @ 165 Hz, scale 1.25,
      VRR off<br>
        Monitor 2: HDMI (HDMI-A-1), 1920x1200 @ 60 Hz, scale 1.1<br>
                   (until a few days ago via HDMI-to-DVI adapter; the
      problem<br>
                   occurred with both connections)<br>
      <br>
      Backtrace (systemd-coredump, no debug symbols), crashing thread:<br>
      #0  0x00007fbda50a069c n/a (libc.so.6 + 0x9469c)<br>
      #1  0x00007fbda504bc42 raise (libc.so.6 + 0x3fc42)<br>
      #2  0x00007fbda8afa6e2 KCrash::defaultCrashHandler(int)
      (libKF6Crash.so.6 + 0x56e2)<br>
      #3  0x00007fbda504bd70 n/a (libc.so.6 + 0x3fd70)<br>
      #4  0x00007fbda85a8130 n/a (libkwin.so.6 + 0x5a8130)<br>
      #5  0x00007fbda383a6ce n/a (libffi.so.8 + 0x76ce)<br>
      #6  0x00007fbda383997e n/a (libffi.so.8 + 0x697e)<br>
      #7  0x00007fbda383a1ab ffi_call (libffi.so.8 + 0x71ab)<br>
      #8  0x00007fbda5be7ff1 n/a (libwayland-server.so.0 + 0xdff1)<br>
      #9  0x00007fbda5be2cd2 n/a (libwayland-server.so.0 + 0x8cd2)<br>
      #10 0x00007fbda5be5cf2 wl_event_loop_dispatch
      (libwayland-server.so.0 + 0xbcf2)<br>
      #11 0x00007fbda85b1656 KWin::Display::dispatchEvents()
      (libkwin.so.6 + 0x5b1656)<br>
      #12-#21 Qt event loop (QSocketNotifier -&gt;
      QCoreApplication::exec)<br>
      #22 0x000055f9eaba2498 n/a (/usr/bin/kwin_wayland + 0x59498)<br>
      <br>
      Log excerpt (2026-11-22, CET):<br>
      10:30:21 kernel: amdgpu 0000:07:00.0: amdgpu: MODE1 reset<br>
      10:30:21 kernel: ACPI: PM: Waking up from system sleep state S3<br>
      10:30:21 kernel: PM: suspend exit<br>
      10:30:22 kwin_wayland_wrapper[3106]: KCrash: Application
      'kwin_wayland' crashing... crashRecursionCounter = 2<br>
      10:30:24 systemd-coredump: Process 3106 (kwin_wayland) of user
      1000 dumped core.<br>
      10:30:24 plasmashell: The Wayland connection broke. Did the
      Wayland compositor die?<br>
      10:30:24 systemd: plasma-plasmashell.service: Main process exited,
      code=exited, status=255/EXCEPTION<br>
      <br>
      <br>
    </p>
  </body>
</html>

--------------Z6GkUaSl1TOswtS0HAL2KN0g--
Technical Details
Message-ID: <O2eoH-dsNe-71@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Nop <nop@wanderreitkarte.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154804: kwin-wayland: kwin_wayland crashes (SIGSEGV) right after resume from S3 while the lock screen is active
Date: Sun, 22 Nov 2026 13:00:03 +0100
Message-ID: <O2eoH-dsNe-71@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 22 11:58:23 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Nop <nop@wanderreitkarte.de>, 1154804@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-qt-kde@lists.debian.org
X-Debian-Pr-Message: report 1154804
X-Debian-Pr-Package: kwin-wayland
X-Debian-Pr-Source: kwin
Content-Type: multipart/alternative;
 boundary="------------Z6GkUaSl1TOswtS0HAL2KN0g"
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Greylist: delayed 594 seconds by postgrey-1.37 at buxtehude; Sun, 22 Nov 2026 11:56:01 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004096
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 180
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 22 Nov 2026 12:46:03 +0100
X-Original-Message-ID: <f3ce0ed2-6b5f-404d-a8f8-0592e2f37977@wanderreitkarte.de>