https://bugs.kde.org/show_bug.cgi?id=520396
Bug ID: 520396
Summary: [Wayland] kwin_wayland segfaults in
KWin::Item::sortedChildItems via
ScreenCastStream::record (Task Manager previews)
Classification: Plasma
Product: kwin
Version First 6.6.5
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: screencasting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 192453
--> https://bugs.kde.org/attachment.cgi?id=192453&action=edit
Crash trace (`coredumpctl info 1969`) and journal (`journalctl --user -u
plasma-kwin_wayland.service -b -1)
SUMMARY
kwin_wayland crashes with a SIGSEGV when the screencasting plugin attempts to
record a frame via OpenGL rendering. This is most commonly triggered
organically by Wayland's internal screencasting utilization, specifically when
hovering over Task Manager items to generate window previews.
This is not a GPU-specific driver issue. I have reproduced the exact same crash
and stack trace on two completely separate machines running CachyOS
(Arch-based):
1. ThinkPad E14 Gen 7 (Intel Meteor Lake integrated graphics / Mesa)
2. Desktop PC (AMD Ryzen 9 5950X + Radeon RX 9070 XT / Mesa)
STEPS TO REPRODUCE
1. Run a Wayland session on Plasma 6.6.5.
2. Have "Show small window previews when hovering over tasks" enabled in Task
Manager.
3. Hover over tasks. The crash happens seemingly randomly/intermittently.
OBSERVED RESULT
kwin_wayland segfaults, instantly tearing down the Wayland session. PipeWire
logs a remote connection error simultaneously.
EXPECTED RESULT
kwin_wayland should not crash when querying child items for the screencast
render node.
SOFTWARE/OS VERSIONS
Operating System: CachyOS (Arch Linux)
KDE Plasma Version: 6.6.5
Qt Version: 6.11.1-1.1
Graphics Platform: Wayland
ADDITIONAL INFORMATION
Stack trace from coredumpctl on the Intel machine:
#0 0x00007f466579710b _ZNK4KWin4Item16sortedChildItemsEv (libkwin.so.6 +
0x39710b)
#1 0x00007f46657a372b
_ZN4KWin18ItemRendererOpenGL16createRenderNodeEPNS_4ItemEPNS0_13RenderContextERKSt8functionIFbS2_EES9_
(libkwin.so.6 + 0x3a372b)
#2 0x00007f46657a6a90
_ZN4KWin18ItemRendererOpenGL10renderItemERKNS_12RenderTargetERKNS_14RenderViewportEPNS_4ItemEiRKNS_6RegionERKNS_15WindowPaintDataERKSt8functionIFbS8_EESJ_
(libkwin.so.6 + 0x3a6a90)
#3 0x00007f46444fb743 n/a (screencast.so + 0x26743)
#4 0x00007f46444f9a3e _ZN4KWin16ScreenCastStream6recordE6QFlagsINS0_7ContentEE
(screencast.so + 0x24a3e)
#5 0x00007f46444fa061 n/a (screencast.so + 0x25061)
#6 0x00007f466280fffb n/a (libQt6Core.so.6 + 0x20fffb)
#7 0x00007f46628260d4 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 +
0x2260d4)
...
--
You are receiving this mail because:
You are watching all bug changes.