Your message dated Thu, 05 Nov 2026 16:03:00 +0000
with message-id <[email protected]>
and subject line Bug#1147212: fixed in kwin 4:6.3.6-1+deb13u1
has caused the Debian Bug report #1147212,
regarding kwin-wayland: session crash in ColorManagementOutputV1 on output 
change (fixed upstream in 6.4.5)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1147212: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147212
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kwin-wayland
Version: 4:6.3.6-1
Severity: important
Tags: upstream fixed-upstream
Forwarded: https://bugs.kde.org/show_bug.cgi?id=504959
X-Debbugs-Cc: [email protected]

Dear Maintainer,

kwin_wayland crashes with SIGSEGV when the set of outputs changes,
most often on resume from suspend while connected to an MST docking
station. On Wayland this takes down the whole session: plasmashell,
Firefox and Chromium all die alongside the compositor.

This is upstream KDE bug 504959, RESOLVED FIXED with 14 duplicates,
released in Plasma 6.4.5. Trixie ships 6.3.6 and is affected.

Frequency here: 7 kwin_wayland crashes in the last 14 days according
to coredumpctl. It is a race, so it does not reproduce on every
suspend cycle, but it recurs reliably in normal use.

Hardware: ThinkPad P14s (Ryzen AI 9 HX PRO 370, Radeon 890M, amdgpu),
ThinkPad Thunderbolt 4 dock with Synaptics MST hub driving external
displays. Kernel 7.1.8 and Mesa 26.1.2 from trixie-backports, both
far newer than the bug, which rules them out as the cause. A BIOS
update and a hardware dock replacement made no difference either.

Note: this system has trixie-backports pinned at high priority, hence
the newer kernel and Mesa. The kwin packages themselves are stock
trixie 4:6.3.6-1 (Plasma is not in backports).

Symbolised backtrace, with libkwin6-dbgsym installed:

  #4  KWin::ColorManagementOutputV1::ColorManagementOutputV1(
        wl_client*, unsigned int, unsigned int, KWin::Output*)
      src/wayland/colormanagement_v1.cpp:580
  #5-7  ffi_call (libffi)
  #8-10 wl_event_loop_dispatch (libwayland-server)
  #11 KWin::Display::dispatchEvents()
      src/wayland/display.cpp:121

A client binds wp_color_management_output_v1 via wl_registry.bind;
libwayland dispatches into KWin's handler, which dereferences a
KWin::Output* belonging to an output that has already been torn down.
Backtraces in the upstream duplicates show output=0x0 at exactly this
line.

Upstream fix:

  master:      e1fd647b979df7f0bd10065932a614a2aa806e87
  Plasma/6.4:  598438b9bcb9487c9dc85e4eb5f84e3b73a71051
  https://bugs.kde.org/show_bug.cgi?id=504959

The change is small: +16/-6 in src/wayland/colormanagement_v1.cpp and
+3/-4 in the corresponding header. It prevents the object from
dereferencing the output handle after the underlying output has been
removed, since wl_output removal is inherently racy.

I verified that the upstream Plasma/6.4 commit 598438b9 applies
cleanly to the Debian 4:6.3.6-1 source, on top of the existing
debian/patches series, with no offsets and no fuzz. The package
already carries a number of upstream cherry-picks in debian/patches,
so this would follow the established pattern.

The 6.3 series is end-of-line upstream, so trixie will not receive this
fix through any 6.3.x release. Please consider cherry-picking it for a
trixie point release.

I have not yet run a patched build; the identification rests on the
matching backtrace and the upstream report. I am happy to build and
test a patched package and report back, given the crash rate here is
roughly one every two days.

Note this is a different bug from #1143050, which is upstream 495702 in
Workspace::activateNextWindow() (src/workspace.cpp) and fixed in 6.4.6.
Both are output-removal races in 6.3.6 affecting docked setups, but the
code paths and the fixes are separate.

I can provide full core dumps or journal excerpts on request.

-- System Information:
Debian Release: 13 (trixie)
Architecture: amd64
Kernel: Linux 7.1.8+deb13-amd64 (from trixie-backports)
Desktop: KDE Plasma 6.3.6 (Wayland)

Versions of relevant packages:
  kwin-common               4:6.3.6-1
  kwin-data                 4:6.3.6-1
  kwin-wayland              4:6.3.6-1
  libkwin6                  4:6.3.6-1
  libwayland-server0:amd64  1.23.1-3
  libffi8:amd64             3.4.8-2



Best Regards
Patrik Vejrych

--- End Message ---
--- Begin Message ---
Source: kwin
Source-Version: 4:6.3.6-1+deb13u1
Done: Sandro Knauß <[email protected]>

We believe that the bug you reported is fixed in the latest version of
kwin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Knauß <[email protected]> (supplier of updated kwin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Oct 2026 15:25:07 +0200
Source: kwin
Architecture: source
Version: 4:6.3.6-1+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <[email protected]>
Changed-By: Sandro Knauß <[email protected]>
Closes: 1147212
Changes:
 kwin (4:6.3.6-1+deb13u1) trixie; urgency=medium
 .
   [ Sandro Knauß ]
   * Backport from upstream plasma/6.5.4 [e1fd647b] (kde#504959):
     Fix session crash in ColorManagementOutputV1 on output change (Closes: 
1147212)
 .
   [ Chris Halls ]
   * Backport from upstream plasma/6.4.5 [172f8f2e] (kde#504959):
     Fix crash in ColorManagementOutputV1 when unplugging monitors
Checksums-Sha1:
 291d92e8a4d5b5f05071b40d5f229f134ebae3eb 5171 kwin_6.3.6-1+deb13u1.dsc
 d4b217a2c4ca7dcbcdc08d912342c33706617984 59556 
kwin_6.3.6-1+deb13u1.debian.tar.xz
 3c0ea6f82d2664aaea0232795b3b4b7338d55c03 17639 
kwin_6.3.6-1+deb13u1_source.buildinfo
Checksums-Sha256:
 d669483d24acc6f4ae93544dc008a864a47223e8278e72351c11c2714e370023 5171 
kwin_6.3.6-1+deb13u1.dsc
 90e678b292f0017a47362cb4876c99516d5e18148bcda728d68f773bfcac8e84 59556 
kwin_6.3.6-1+deb13u1.debian.tar.xz
 d88559200f7d1619b6515e3901d3d3e17bdffdbbbe7562f33659544eabe99083 17639 
kwin_6.3.6-1+deb13u1_source.buildinfo
Files:
 cdc33a9dc5e0234dccfb766deaf8629d 5171 kde optional kwin_6.3.6-1+deb13u1.dsc
 43107a1b52e66d46de8193a41cef4d56 59556 kde optional 
kwin_6.3.6-1+deb13u1.debian.tar.xz
 3e074d5deee464c0117dd50e9676d34f 17639 kde optional 
kwin_6.3.6-1+deb13u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJqw6VSCRDjrbAIUGBWNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmdy59tlTBJnG9gVTUufGMD075cU27RIhwbO0XFli6nO
mBYhBDnsEaAgFrcpJkkaBuOtsAhQYFY2AAA/Gw/+KpkF3WMCtTrOGwCIX5TLJW6k
bSjia2Fhl7Yc92MDKK5FLW5kul5NF8l09vNHsQzmP/vIvzDsHEa4zZuignzW3R+E
Ilb7lYOyeVpy5xk2SSxIq90hkNaCbVur1t9kCqi61OuBOs7++rYGbnObADVH5JFf
3QjzxZPCLXeB5f+rE+7EC2RHREr/X//dgBxZsNoZ50g59Tgd8EEgwqFknI0MnXKC
8ZD2dv7v+al4iIxBwW3qCsvzskOY43MofhfLBkjZbQYhA4dapXvXnR4PUzxT6E5H
+J1cBsq+5060MyIF86KVZ9NadbD8kr68M6HpKhHjNmzWYhMYujCZ4Yr1Znqe2TU6
hnxdqBNNSkAgeUAxDncuLKroljJQfjUz7pCEHzbRMKwx3ydIj17ufDZStF8HqANG
5IlaMr+hKJLbzPEYaesBmU8yVD8g9oPTfzdIaYfatnT49G8UNrxXLWz4QnUHXUNI
KmqSY+xjDvnEFNIEzblfOP4r6QEX63BkCIt1zLW17dq+ZwFQpFRTbjMAZAQ8qusD
2ACOeLYsSZCHJEwWyz00ji560ymiC/ors6z1a/6gErFTGmsauP1Bbd29aM0CqgGK
1Oz+mReP9/bm453Ns1Cu3JM8rGBprskL1zqq7t/+zFKgO43JjjScs2TCwAJj4HwF
FNxrwmmhAzR26JFZ4Cw=
=2Qo1
-----END PGP SIGNATURE-----

Attachment: pgpPWHSJO28_b.pgp
Description: PGP signature


--- End Message ---

Reply via email to