Bug 510045 - kwin_wayland freezes when open / save file dialogue closes either by selecting file or canceling
Summary: kwin_wayland freezes when open / save file dialogue closes either by selectin...
Status: NEEDSINFO FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (other bugs)
Version First Reported In: git master
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-29 11:06 UTC by Kyle Devir
Modified: 2025-09-29 12:04 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Devir 2025-09-29 11:06:11 UTC
SUMMARY
Noticed an issue after updating on Saturday ~ kwin_wayland freezes whenever an open / save file dialogue closes, either by selecting or canceling it. There's no logs for it, which made this hard to figure out.

The freeze is such that I cannot switch vt's. But I can still recover with alt + REI

Noticed first in Firefox, then now Code. Krita has the same issue.

STEPS TO REPRODUCE
1. Latest KDE Git master per kde-builder
2. Try opening / saving a file with any application that uses a KDE open / save dialogue box
3. Experience freeze.

OBSERVED RESULT
Compositor locks up machine entirely ~ can only recover with alt + REI.

EXPECTED RESULT
Compositor does not freeze.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-rc7-1-cachyos-rc (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 32 GiB of RAM (30.2 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XTX
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Pro RS
Comment 1 David Edmundson 2025-09-29 11:17:25 UTC
That's very severe. I can't reproduce and we have no other reports, and there's not a lot to go on.

If it's possible can you ssh into your machine whilst frozen and run:

sudo gdb --pid `pidof kwin_wayland`
thread apply all bt
Comment 2 Kyle Devir 2025-09-29 12:02:31 UTC
(In reply to David Edmundson from comment #1)
> That's very severe. I can't reproduce and we have no other reports, and
> there's not a lot to go on.
> 
> If it's possible can you ssh into your machine whilst frozen and run:
> 
> sudo gdb --pid `pidof kwin_wayland`
> thread apply all bt

Will(In reply to David Edmundson from comment #1)
> That's very severe. I can't reproduce and we have no other reports, and
> there's not a lot to go on.
> 
> If it's possible can you ssh into your machine whilst frozen and run:
> 
> sudo gdb --pid `pidof kwin_wayland`
> thread apply all bt

Don't know how to dump the info gdb spits out, but looked at the file in kwin it was referring to, and I think
https://invent.kde.org/plasma/kwin/-/commit/9aa902536ed82fd187bda920cadf4a1410d394b9
might solve my issues. I just happened to make a build between the bad commit and the fix, haha.
Comment 3 Kyle Devir 2025-09-29 12:04:10 UTC
Yep, that fixed it! Thanks nonetheless. :)