Bug 510601 - kwin freezes seemingly at random
Summary: kwin freezes seemingly at random
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (other bugs)
Version First Reported In: 6.4.5
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: efficiency-and-performance
Depends on:
Blocks:
 
Reported: 2025-10-14 14:46 UTC by Dāvids Paškevics
Modified: 2025-10-15 10:07 UTC (History)
4 users (show)

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


Attachments
GDB backtrace without expanded variables (166.27 KB, text/plain)
2025-10-14 14:46 UTC, Dāvids Paškevics
Details
GDB backtrace with expanded variables (125.22 KB, text/plain)
2025-10-14 14:47 UTC, Dāvids Paškevics
Details
Excerpt from the system journal generated by running journalctl --boot=0 --user -u plasma-kwin_wayland.service > plasma-kwin_wayland.log (189.95 KB, text/x-log)
2025-10-14 14:49 UTC, Dāvids Paškevics
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dāvids Paškevics 2025-10-14 14:46:50 UTC
Created attachment 185765 [details]
GDB backtrace without expanded variables

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE

Unsure what triggers this, I was merely moving my mouse within a window when this happened.

OBSERVED RESULT

kwin_wayland freezes with 100% CPU usage on one core and the session cannot be interacted with, neither via keyboard nor mouse.

EXPECTED RESULT

kwin keeps working normally.

SOFTWARE/OS VERSIONS

$ kinfo
Operating System: Fedora Linux 43
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.17.1-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics
Memory: 40 GiB of RAM (38.4 GiB usable)
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION

Running

```
$ qdbus-qt6 org.kde.KWin /KWin supportInformation
```

as recommended on https://community.kde.org/KWin/Debugging just times out.

journald output for the current boot is attached. The crash at the end was caused by me sending SIGSEGV to kwin so that it generates a coredump in dr. konqi.

There are also some backtraces attached. One was generated by running

```
sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file kwin_wayland.gdb" -ex "set logging enabled on" -ex "continue" -ex "thread apply all backtrace" -ex "quit"
```

the other (with expanded variables) by running

```
sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file kwin_wayland_full.gdb" -ex "set logging enabled on" -ex "continue" -ex "thread apply all backtrace full" -ex "quit"
```
Comment 1 Dāvids Paškevics 2025-10-14 14:47:43 UTC
Created attachment 185766 [details]
GDB backtrace with expanded variables
Comment 2 Dāvids Paškevics 2025-10-14 14:49:41 UTC
Created attachment 185767 [details]
Excerpt from the system journal generated by running journalctl --boot=0 --user -u plasma-kwin_wayland.service > plasma-kwin_wayland.log
Comment 3 Zamundaaa 2025-10-14 15:49:22 UTC
The backtrace shows that it's triggered by the tabbox showing, and the actual freeze is somewhere in javascript engine things
Comment 4 David Redondo 2025-10-15 10:04:24 UTC
Something that involves height property which doesnt really narrow it down. 
 QObjectCompatProperty<QQuickItemPrivate, double, &QQuickItemPrivate::_qt_property_height_offset, &QQuickItemPrivate::setHeight,