https://bugs.kde.org/show_bug.cgi?id=511125
Bug ID: 511125
Summary: kwin_wayland crashes after locking system and turning
displays off
Classification: Plasma
Product: kwin
Version First 6.5.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: generic-crash
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
kwin crashes sometimes either upon locking and turning monitors off, or turning
monitors back on after returning from being away long enough for the
environment to have locked itself per settings.
STEPS TO REPRODUCE
1. Lock screen
2. Turn both monitors off
3. Hear error chime
4. Turn displays back on and unlock session
OBSERVED RESULT
kwin crash dialog and cascaded crashes of applications such as firefox,
thunderbird, and discord (flatpak)
journalctl contains following line as first indication of problem:
Oct 25 17:40:39 Menphina kwin_wayland[45394]: unknown active output
EXPECTED RESULT
application windows as they were when I locked the system
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (sync Oct 25 2025 ~12 PM US Eastern)
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
ADDITIONAL INFORMATION
This has been a long-running off and on issue for me where for my system with a
60 minute screen lock and I turn both monitors off when I step away. KDE 6.4
seemed to be pretty good about not triggering the issue but 6.5 has seen a
return in frequency of this issue. Please let me know if there's any
information I've overlooked including as this is my first time opening an
issue.
qdbus6 output paste:
https://invent.kde.org/-/snippets/3573
coredump bt:
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f8a5c09894c in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f8a55a06400 (LWP 45394))]
(gdb) bt
#0 0x00007f8a5c09894c in ?? () from /usr/lib/libc.so.6
#1 0x00007f8a5c03e410 in raise () from /usr/lib/libc.so.6
#2 0x00007f8a5fad1e57 in KCrash::defaultCrashHandler(int) () from
/usr/lib/libKF6Crash.so.6
#3 <signal handler called>
#4 0x00007f8a5c09894c in ?? () from /usr/lib/libc.so.6
#5 0x00007f8a5c03e410 in raise () from /usr/lib/libc.so.6
#6 0x00007f8a5c02557a in abort () from /usr/lib/libc.so.6
#7 0x00007f8a5c89348c in ?? () from /usr/lib/libQt6Core.so.6
#8 0x00007f8a5c894250 in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt6Core.so.6
#9 0x00007f8a5f35c8fa in ?? () from /usr/lib/libkwin.so.6
#10 0x00007f8a5f37b5ce in KWin::Workspace::takeActivity(KWin::Window*,
QFlags<KWin::Workspace::ActivityFlag>) () from /usr/lib/libkwin.so.6
#11 0x00007f8a5f37bbdb in KWin::Workspace::activateNextWindow(KWin::Window*) ()
from /usr/lib/libkwin.so.6
#12 0x00007f8a5f6106aa in KWin::Workspace::removeWaylandWindow(KWin::Window*)
() from /usr/lib/libkwin.so.6
#13 0x00007f8a5c9d716f in ?? () from /usr/lib/libQt6Core.so.6
#14 0x00007f8a5f5d9e0b in KWin::WaylandServer::windowRemoved(KWin::Window*) ()
from /usr/lib/libkwin.so.6
#15 0x00007f8a5f49bd67 in ?? () from /usr/lib/libkwin.so.6
#16 0x00007f8a5c9d716f in ?? () from /usr/lib/libQt6Core.so.6
#17 0x00007f8a5f61ed1b in KWin::Workspace::outputRemoved(KWin::Output*) () from
/usr/lib/libkwin.so.6
#18 0x00007f8a5f6170cf in
KWin::Workspace::updateOutputs(std::optional<QList<KWin::Output*> > const&) ()
from /usr/lib/libkwin.so.6
#19 0x00007f8a5f60edcd in
KWin::Workspace::applyOutputConfiguration(KWin::OutputConfiguration&,
std::optional<QList<KWin::Output*> > const&) () from /usr/lib/libkwin.so.6
#20 0x00007f8a5f60f0fe in KWin::Workspace::updateOutputConfiguration() () from
/usr/lib/libkwin.so.6
#21 0x00007f8a5f6101a0 in KWin::Workspace::slotOutputBackendOutputsQueried() ()
from /usr/lib/libkwin.so.6
#22 0x00007f8a5c9d716f in ?? () from /usr/lib/libQt6Core.so.6
#23 0x00007f8a5f682d30 in KWin::DrmBackend::updateOutputs() () from
/usr/lib/libkwin.so.6
#24 0x00007f8a5f684967 in KWin::DrmBackend::handleUdevEvent() () from
/usr/lib/libkwin.so.6
#25 0x00007f8a5c9d716f in ?? () from /usr/lib/libQt6Core.so.6
#26 0x00007f8a5c9e1c40 in QSocketNotifier::event(QEvent*) () from
/usr/lib/libQt6Core.so.6
#27 0x00007f8a5db020a0 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#28 0x00007f8a5c96a6c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#29 0x00007f8a5cb2f049 in
QEventDispatcherUNIXPrivate::activateSocketNotifiers() () from
/usr/lib/libQt6Core.so.6
#30 0x00007f8a5cb2fb6c in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#31 0x00007f8a5d734773 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt6Gui.so.6
#32 0x00007f8a5c975a86 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#33 0x00007f8a5c96f171 in QCoreApplication::exec() () from
/usr/lib/libQt6Core.so.6
#34 0x000055cee0b909e4 in ?? ()
#35 0x00007f8a5c027675 in ?? () from /usr/lib/libc.so.6
#36 0x00007f8a5c027729 in __libc_start_main () from /usr/lib/libc.so.6
#37 0x000055cee0b96eb5 in ?? ()
--
You are receiving this mail because:
You are watching all bug changes.