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 Subject: kwin-wayland: segfault in ColorManagementOutputV1 when a 
monitor is unplugged (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: patch fixed-upstream trixie
Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=504959

Dear Maintainer,

kwin_wayland 6.3.6 in trixie crashes with SIGSEGV when external monitors
are removed, taking down the whole Plasma session. On my machine this
happens when unplugging a Thunderbolt dock with two monitors attached.

Cause: wl_output removal is racy. A client (Firefox, Chromium, Electron
apps, anything using wp_color_manager_v1) can send
wp_color_manager_v1.get_output for a wl_output whose backing output KWin
has already removed. ColorManagerV1::wp_color_manager_v1_get_output()
then calls OutputInterface::get(output)->handle(), which is null, and
the ColorManagementOutputV1 constructor dereferences it
(src/wayland/colormanagement_v1.cpp:580 in 6.3.6).

Key frames from the symbolized backtrace of the first crash (client was
firefox-esr; core no longer available):

  #4  KWin::ColorManagementOutputV1::ColorManagementOutputV1(wl_client*, uint, 
uint, KWin::Output*)
        (output=0x0) at src/wayland/colormanagement_v1.cpp:580
  ...  libffi / libwayland-server
  #10 wl_event_loop_dispatch
  #11 KWin::Display::dispatchEvents()

All three crashes fault at the same address (libkwin.so.6 + 0x5a8130).
Closing Firefox before unplugging does not avoid it, since other
clients send the same request.

Upstream fix (KDE bug 504959, fixed in 6.4.5), two small commits:

  e1fd647b979df7f0bd10065932a614a2aa806e87
    wayland: Make ColorManagementOutputV1 handle output removal better
    
https://invent.kde.org/plasma/kwin/-/commit/e1fd647b979df7f0bd10065932a614a2aa806e87

  172f8f2e71d93a27f23586587d9cf86cbfee8615
    wayland: Check for nullptr output in ColorManagementOutputV1
    
https://invent.kde.org/plasma/kwin/-/commit/172f8f2e71d93a27f23586587d9cf86cbfee8615

(Cherry-picked to Plasma/6.4 as 598438b9 and 5baacbef.) Both only touch
src/wayland/colormanagement_v1.{cpp,h}, which is the same code that
6.3.6 ships, so they should backport cleanly.

Could these be included in a trixie point release?

This report was drafted with an AI assistant (Claude Opus 5.5). The crashes,
versions and backtraces are from my system; I checked that the upstream
patches apply to the 6.3.6 source.

System: Debian 13 (trixie), amd64, kernel 6.12.113+deb13-amd64
  kwin-wayland 4:6.3.6-1
  libqt6core6t64 6.8.2+dfsg-9+deb13u2
  libwayland-server0 1.23.1-3
  Hardware: Dell XPS 15 9510 (Intel + NVIDIA), Dell SD25TB4 dock

Thanks!



--- 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: pgpUqskQ2cqWv.pgp
Description: PGP signature


--- End Message ---

Reply via email to