Bug 509159 - KWin crash after the dock station with external displays is disconnected
Summary: KWin crash after the dock station with external displays is disconnected
Status: RESOLVED DUPLICATE of bug 504959
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-09-05 15:29 UTC by avemilia
Modified: 2025-09-05 23:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (74.42 KB, text/plain)
2025-09-05 15:29 UTC, avemilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avemilia 2025-09-05 15:29:14 UTC
Application: kwin_wayland (6.4.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.3
Frameworks Version: 6.17.0
Operating System: Linux 6.14.9-200.fc41.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 41 (KDE Plasma)"
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
This is a new regression, always reproducible, that was not there just a few weeks/a month ago (in respect to Fedora 41 package feeds).

To reproduce:
* Connect external displays e.g. via a docking station
* Close the lid of the laptop (laptop should not go to the sleep)
* ...
* Lock the screen
* Open the lid
* Wait until the displays refresh
* Disconnect the docking station
* Wait until the laptop display refreshes
* Close the lid (put the laptop to sleep)
* ...
* Open the lid
* Unlock the lock screen
* Observe a report that KWin has crashed, taking down all applications

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007f15bff78a7b in KWin::ColorManagementOutputV1::ColorManagementOutputV1 (this=0x7f158009fb20, client=<optimized out>, id=<optimized out>, version=1, output=0x0) at /usr/src/debug/kwin-6.4.4-2.fc41.x86_64/src/wayland/colormanagement_v1.cpp:580
#6  KWin::ColorManagerV1::wp_color_manager_v1_get_output (this=<optimized out>, resource=<optimized out>, id=<optimized out>, output=<optimized out>) at /usr/src/debug/kwin-6.4.4-2.fc41.x86_64/src/wayland/colormanagement_v1.cpp:63
#7  0x00007f15bac7a056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#8  0x00007f15bac7574d in ffi_call_int (cif=cif@entry=0x7ffe66a92da0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#9  0x00007f15bac7864e in ffi_call (cif=cif@entry=0x7ffe66a92da0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffe66a92e70) at ../src/x86/ffi64.c:710
#10 0x00007f15bd6a7b8c in wl_closure_invoke (closure=closure@entry=0x556ca10cf520, target=<optimized out>, target@entry=0x556ca13bdfa0, opcode=opcode@entry=1, data=<optimized out>, data@entry=0x556ca174b5e0, flags=2) at ../src/connection.c:1241
#11 0x00007f15bd6ac8e8 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=<optimized out>) at ../src/wayland-server.c:483
#12 0x00007f15bd6aadc2 in wl_event_loop_dispatch (loop=0x556c9fc44bc0, timeout=<optimized out>) at ../src/event-loop.c:1059
#13 0x00007f15bff7f569 in KWin::Display::dispatchEvents (this=<optimized out>) at /usr/src/debug/kwin-6.4.4-2.fc41.x86_64/src/wayland/display.cpp:138
#14 0x00007f15bd15ad2e in QtPrivate::QSlotObjectBase::call (this=0x556ca0b7b330, r=<optimized out>, a=0x7ffe66a934a0) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486
#15 doActivate<false> (sender=0x556ca0bb98a0, signal_index=3, argv=0x7ffe66a934a0) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/src/corelib/kernel/qobject.cpp:4123
[...]
#17 0x00007f15bd16935d in QSocketNotifier::activated (this=this@entry=0x556ca0bb98a0, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:198
#18 0x00007f15bd169b4b in QSocketNotifier::event (this=0x556ca0bb98a0, e=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/src/corelib/kernel/qsocketnotifier.cpp:327
#19 0x00007f15be23d9b8 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x556ca0bb98a0, e=0x7ffe66a935e0) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3296
#20 0x00007f15bd0f3f30 in QCoreApplication::notifyInternal2 (receiver=0x556ca0bb98a0, event=0x7ffe66a935e0) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1177
#21 0x00007f15bd0f418d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.3-2.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1617


Reported using DrKonqi
Comment 1 avemilia 2025-09-05 15:29:16 UTC
Created attachment 184747 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Zamundaaa 2025-09-05 23:45:11 UTC

*** This bug has been marked as a duplicate of bug 504959 ***