Bug 482544 - KWIN Crash on resize, click, similar with automatic tiling script
Summary: KWIN Crash on resize, click, similar with automatic tiling script
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.0.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
: 482757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-06 13:51 UTC by lucasfrendorf
Modified: 2024-08-28 12:32 UTC (History)
10 users (show)

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


Attachments
Debug log (35.21 KB, text/plain)
2024-03-06 13:51 UTC, lucasfrendorf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucasfrendorf 2024-03-06 13:51:36 UTC
Created attachment 166479 [details]
Debug log

SUMMARY
When using Polonium (Automatic tiling manager) kwin_wayland crashes sometimes just by clicking windows
Other times resizing windows quickly (or just randomly) causes this issue

STEPS TO REPRODUCE
1. Have a few windows tiled on one monitor
2. Meta + Right while moving the mouse around (Just to spam resizing of different windows)

OBSERVED RESULT
KWin crashes after about 3 seconds

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
(available in About System)
KDE Plasma Version:  6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 David Edmundson 2024-03-06 13:53:45 UTC
Thread 1 (Thread 0x7dd47f1e5a00 (LWP 93268) "kwin_wayland"):
#0  0x00007dd486476fa6 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/lib/libQt6Qml.so.6
#1  0x00007dd4847a76aa in ??? () at /usr/lib/libQt6Core.so.6
#2  0x00007dd487312dc7 in KWin::Tile::windowRemoved(KWin::Window*) () at /usr/lib/libkwin.so.6
#3  0x00007dd48731740b in KWin::Tile::removeWindow(KWin::Window*) () at /usr/lib/libkwin.so.6
#4  0x00007dd4873530cd in KWin::Window::setTile(KWin::Tile*) () at /usr/lib/libkwin.so.6
#5  0x00007dd487358b08 in KWin::Window::setQuickTileMode(QFlags<KWin::QuickTileFlag>, bool) () at /usr/lib/libkwin.so.6
#6  0x00007dd48734994d in KWin::Window::startInteractiveMoveResize() () at /usr/lib/libkwin.so.6
Comment 2 zxq5 2024-03-07 10:18:51 UTC
(In reply to lucasfrendorf from comment #0)
> Created attachment 166479 [details]
> Debug log
> 
> SUMMARY
> When using Polonium (Automatic tiling manager) kwin_wayland crashes
> sometimes just by clicking windows
> Other times resizing windows quickly (or just randomly) causes this issue
> 
> STEPS TO REPRODUCE
> 1. Have a few windows tiled on one monitor
> 2. Meta + Right while moving the mouse around (Just to spam resizing of
> different windows)
> 
> OBSERVED RESULT
> KWin crashes after about 3 seconds
> 
> EXPECTED RESULT
> No crash
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Arch
> (available in About System)
> KDE Plasma Version:  6.0.0
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.2

yep pressing meta+right on the left hand window on my screen also guarantees a crash for me, interestingly pressing meta+left on the right hand window does nothing, but i'm not sure if that's relevant to kwin or just a polonium bug
Comment 3 fanzhuyifan 2024-03-10 01:13:04 UTC
*** Bug 482757 has been marked as a duplicate of this bug. ***
Comment 4 vaughanm1@protonmail.com 2024-03-21 02:06:47 UTC
https://github.com/zeroxoneafour/kwin-crasher has a core dump for this bug along with a minimum script to reproduce it.
Comment 5 Vlad Zahorodnii 2024-08-28 12:32:23 UTC
I believe this bug report can be closed now.