Summary: | kwin_wayland occasionally crashes in KWin::XdgSurfaceWindow::frameRectToBufferRect() while using the Krohnkite tiler | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Antti Savolainen <antti.savo> |
Component: | generic-crash | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | nate |
Priority: | NOR | ||
Version: | 6.1.4 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/2d4d2913a02917d092f9d00754a9fe53a831597d | Version Fixed In: | 6.2.0 |
Sentry Crash Report: | |||
Attachments: | bt full |
Description
Antti Savolainen
2024-08-26 14:05:45 UTC
I found another way to reliably reproduce. Use the vesktop discord client, un-tile the vesktop window, go into a voice channel and start a screen share. Kwin will crash when you select which monitor you want to share. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6518 (In reply to Antti Savolainen from comment #1) > I found another way to reliably reproduce. Use the vesktop discord client, > un-tile the vesktop window, go into a voice channel and start a screen > share. Kwin will crash when you select which monitor you want to share. Can you also report this issue to krohnkite developers? It resizes closed windows, which what it shouldn't do. Will do. Git commit f339c4281f6c0513e1b847599f28f750eec01923 by Vlad Zahorodnii. Committed on 26/09/2024 at 14:41. Pushed by vladz into branch 'master'. Guard closed windows against move and resize operations A closed window cannot react to new geometry, also requesting new geometry can involve accessing resources that are gone/deleted now. Scripts trying to move or resize a closed window is a bug though. M +12 -0 src/window.cpp https://invent.kde.org/plasma/kwin/-/commit/f339c4281f6c0513e1b847599f28f750eec01923 Git commit 2d4d2913a02917d092f9d00754a9fe53a831597d by Vlad Zahorodnii. Committed on 26/09/2024 at 15:01. Pushed by vladz into branch 'Plasma/6.2'. Guard closed windows against move and resize operations A closed window cannot react to new geometry, also requesting new geometry can involve accessing resources that are gone/deleted now. Scripts trying to move or resize a closed window is a bug though. (cherry picked from commit f339c4281f6c0513e1b847599f28f750eec01923) Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> M +12 -0 src/window.cpp https://invent.kde.org/plasma/kwin/-/commit/2d4d2913a02917d092f9d00754a9fe53a831597d Here's the bug report https://github.com/anametologin/krohnkite/issues/79 |