https://bugs.kde.org/show_bug.cgi?id=485318
Bug ID: 485318
Summary: kwin_wayland crashes when displays are intermittently
available upon wakeup from suspend
Classification: Plasma
Product: kwin
Version: 6.0.3
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
kwin_wayland crashes when displays are intermittently available.
I have three displays attached, two through usb-c mst and one through usb->hdmi
adapter (LG TV). When waking from suspend and having only the LG TV configured
kwin_wayland sometimes crashes, when the display isn't yet turned on properly.
Then one of the other displays gets activated as fallback. Seemingly upon
seeing the TV available it tries to switch back and sometimes crashes.
Stack trace of thread 1815:
#0 0x00007dc3e4d79d04 _ZNK4KWin6Output5scaleEv (libkwin.so.6 +
0x179d04)
#1 0x00007dc3e4d7a8c2 _ZNK4KWin6Output8geometryEv
(libkwin.so.6 + 0x17a8c2)
#2 0x00007dc3e4ed2496
_ZN4KWin11ScreenEdges19createEdgeForClientEPNS_6WindowENS_14ElectricBorderE
(libkwin.so.6 + 0x2d2496)
#3 0x00007dc3e4ed2e46 _ZN4KWin11ScreenEdges13recreateEdgesEv
(libkwin.so.6 + 0x2d2e46)
#4 0x00007dc3e4f797c6 _ZN4KWin9Workspace14desktopResizedEv
(libkwin.so.6 + 0x3797c6)
#5 0x00007dc3e4f679ed
_ZN4KWin9Workspace13updateOutputsERK5QListIPNS_6OutputEE (libkwin.so.6 +
0x3679ed)
#6 0x00007dc3e4f5ec39
_ZN4KWin9Workspace24applyOutputConfigurationERKNS_19OutputConfigurationERK5QListIPNS_6OutputEE
(libkwin.so.6 + 0x35ec39)
#7 0x00007dc3e4f5f03d
_ZN4KWin9Workspace25updateOutputConfigurationEv (libkwin.so.6 + 0x35f03d)
#8 0x00007dc3e4f68b3d
_ZN4KWin9Workspace31slotOutputBackendOutputsQueriedEv (libkwin.so.6 + 0x368b3d)
#9 0x00007dc3e2591599 n/a (libQt6Core.so.6 + 0x191599)
#10 0x00007dc3e4fc72bc _ZN4KWin10DrmBackend13updateOutputsEv
(libkwin.so.6 + 0x3c72bc)
#11 0x00007dc3e4fc9384 _ZN4KWin10DrmBackend15handleUdevEventEv
(libkwin.so.6 + 0x3c9384)
#12 0x00007dc3e2591599 n/a (libQt6Core.so.6 + 0x191599)
#13 0x00007dc3e2598e20 _ZN15QSocketNotifier5eventEP6QEvent
(libQt6Core.so.6 + 0x198e20)
#14 0x00007dc3e36f437b
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0xf437b)
#15 0x00007dc3e253a198
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 +
0x13a198)
#16 0x00007dc3e269f149
_ZN27QEventDispatcherUNIXPrivate23activateSocketNotifiersEv (libQt6Core.so.6 +
0x29f149)
#17 0x00007dc3e26a05ac
_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x2a05ac)
#18 0x00007dc3e2fb3472
_ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Gui.so.6 + 0x5b3472)
#19 0x00007dc3e25446ee
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 +
0x1446ee)
#20 0x00007dc3e253cc38 _ZN16QCoreApplication4execEv
(libQt6Core.so.6 + 0x13cc38)
#21 0x00006020443fadee n/a (kwin_wayland + 0x3cdee)
#22 0x00007dc3e1e43cd0 n/a (libc.so.6 + 0x25cd0)
#23 0x00007dc3e1e43d8a __libc_start_main (libc.so.6 + 0x25d8a)
#24 0x0000602044401425 n/a (kwin_wayland + 0x43425)
Stack trace of thread 1851:
#0 0x00007dc3e1ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007dc3e1ea8750 pthread_cond_wait (libc.so.6 + 0x8a750)
#2 0x00007dc3d98863ec n/a (radeonsi_dri.so + 0x863ec)
#3 0x00007dc3d989e39c n/a (radeonsi_dri.so + 0x9e39c)
#4 0x00007dc3e1ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007dc3e1f26a3c n/a (libc.so.6 + 0x108a3c)
STEPS TO REPRODUCE
1. I can't properly reproduce this always, but it happens sometimes. I'll try
to install debug symbols for the next time it happens.
OBSERVED RESULT
kwin_wayland crashes when displays are intermittently available upon wakeup
from suspend and additionally all currently opened applications exit.
EXPECTED RESULT
kwin_wayland shouldn't crash
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.3
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: Version 6.6.3 (built against 6.6.2)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.