Bug 515494

Summary: Kwin crashes sometimes after returning from window overview
Product: [Plasma] kwin Reporter: Tobias G. <kde-bugzilla.oink169>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: NEEDSINFO BACKTRACE    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tobias G. 2026-02-04 10:45:45 UTC
SUMMARY
Hi there,
I searched for duplicates but couldn't find one, so I'm sorry if this has already been reported. On my Framework 13 I have configured the "meta" key to not open the kickoff menu, but to show the window overview effect. However, during the last few weeks, I sometimes (once a week) see a crash of kwin when I return from this overview effect (e.g. after searching for a program that I want to open and clicking enter, but I also saw it when I accidentally opened it using the meta key and closed it using the meta key again). Afterwards I'm thrown back to the login screen and have to login again with my session gone.
I don't know what causes it to crash one time but not the other.

STEPS TO REPRODUCE
1. ???
2. Open window overview effect (default shortcut: Meta + w)
3. ???
4. Close overview effect
5. ???
6. See crash

OBSERVED RESULT
kwin completely crashes and I have to login again

EXPECTED RESULT
I just return from the overview effect

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Should any additional information be required, please let me know :)
Comment 1 Tobias G. 2026-02-04 10:47:04 UTC
Sorry, forgot to enter the system info:
Yuga Linux uses the openSUSE Tumbleweed packages
Operating System: Yuga Linux 20260128
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.16.4-1-yuga (64-bit) <-- based on openSUSE Tumbleweed kernel
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
Memory: 32 GiB of RAM (30.7 GiB usable)
Graphics Processor: AMD Radeon 780M Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7
Comment 2 David Edmundson 2026-02-04 10:57:06 UTC
Unfortunately for crashes we cannot do much without either being to reproduce (we can't) or a backtrace. 

Please check `coredumpctl gdb kwin_wayland` and see if that has any output.
Comment 3 Tobias G. 2026-02-04 11:13:30 UTC
(In reply to David Edmundson from comment #2)
> Unfortunately for crashes we cannot do much without either being to
> reproduce (we can't) or a backtrace. 
> 
> Please check `coredumpctl gdb kwin_wayland` and see if that has any output.

Understandable, unfortunately coredumpctl doesn't show anything. Is there any way for me to make sure that I capture logs the next time it happens or do I need to hope that it appears one day? :D
Comment 4 David Edmundson 2026-02-04 11:32:45 UTC
`journalctl --user -u plasma-kwin_wayland -r` 

after it happens should suffice.

Failing that hopefully our automatic crash reporter should have caught something from someone else.