Summary: | kwin_wayland crashed in KWin::EffectWindow::isOnAllDesktops() when activating desktop effect | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nicolas Fella <nicolas.fella> |
Component: | effects-desktop-grid | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | isma.af, leszek.lesner, nate, postix |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/72c0974a0604f50ca38138814942b6cedfccfc0e | Version Fixed In: | 5.24 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Nicolas Fella
2021-11-11 13:53:55 UTC
*** Bug 445997 has been marked as a duplicate of this bug. *** Is it really Wayland generic? My stacktrace in #445997 looks rather similar but it happened on X11. I haven't tried on X11. It doesn't seem related to the first activation. It happens seemingly random on some activations Created attachment 145188 [details]
New crash information added by DrKonqi
kwin_x11 (5.23.80) using Qt 5.15.2
I can replicate it on X11, by moving any window between desktops and then exiting the effect
-- Backtrace (Reduced):
#5 0x00007eff7a2d0558 in KWin::EffectWindow::isOnAllDesktops() const (this=0x0) at /home/isma/kde/src/kwin/src/libkwineffects/kwineffects.cpp:815
#6 0x000055ccd363f9e6 in KWin::DesktopGridEffect::desktopList(KWin::EffectWindow const*) const (this=0x55ccd58e1ec0, w=0x0) at /home/isma/kde/src/kwin/src/effects/desktopgrid/desktopgrid.cpp:1449
#7 0x000055ccd36382d7 in KWin::DesktopGridEffect::slotWindowClosed(KWin::EffectWindow*) (this=0x55ccd58e1ec0, w=0x7eff6c014e40) at /home/isma/kde/src/kwin/src/effects/desktopgrid/desktopgrid.cpp:448
#8 0x000055ccd364efa1 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KWin::EffectWindow*>, void, void (KWin::DesktopGridEffect::*)(KWin::EffectWindow*)>::call(void (KWin::DesktopGridEffect::*)(KWin::EffectWindow*), KWin::DesktopGridEffect*, void**) (f=(void (KWin::DesktopGridEffect::*)(class KWin::DesktopGridEffect * const, class KWin::EffectWindow *)) 0x55ccd36381dc <KWin::DesktopGridEffect::slotWindowClosed(KWin::EffectWindow*)>, o=0x55ccd58e1ec0, arg=0x7ffde9a3e270) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#9 0x000055ccd364daa6 in QtPrivate::FunctionPointer<void (KWin::DesktopGridEffect::*)(KWin::EffectWindow*)>::call<QtPrivate::List<KWin::EffectWindow*>, void>(void (KWin::DesktopGridEffect::*)(KWin::EffectWindow*), KWin::DesktopGridEffect*, void**) (f=(void (KWin::DesktopGridEffect::*)(class KWin::DesktopGridEffect * const, class KWin::EffectWindow *)) 0x55ccd36381dc <KWin::DesktopGridEffect::slotWindowClosed(KWin::EffectWindow*)>, o=0x55ccd58e1ec0, arg=0x7ffde9a3e270) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1852 Git commit 72c0974a0604f50ca38138814942b6cedfccfc0e by Ismael Asensio. Committed on 07/01/2022 at 21:16. Pushed by iasensio into branch 'master'. DesktopGridEffect: Fix crash when closing the effect If the first condition would match (for instance after moving a window), `windowMove` would be `nullptr`, triggering the crash later. By the looks of it, it was maybe a typo. FIXED-IN: 5.24 CC: @nicolasfella M +1 -1 src/effects/desktopgrid/desktopgrid.cpp https://invent.kde.org/plasma/kwin/commit/72c0974a0604f50ca38138814942b6cedfccfc0e *** Bug 422275 has been marked as a duplicate of this bug. *** |