Summary: | KWin crashes sporadically after switching desktops using slide effect | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Ismael Asensio <isma.af> |
Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | ericedlund2017, nate, vlad.zahorodnii |
Priority: | NOR | Keywords: | drkonqi |
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Ismael Asensio
2022-05-20 17:59:05 UTC
#12 0x00007fb3537ca923 in KWin::WindowItem::unrefVisible(int) (this=0x560f0c99cae0, reason=4) at /home/isma/kde/src/kwin/src/windowitem.cpp:107 #13 0x00007fb3535ed064 in KWin::EffectWindowImpl::unrefVisible(int) (this=0x7fb34401ae70, reason=4) at /home/isma/kde/src/kwin/src/effects.cpp:1926 #14 0x0000560f0abe7549 in KWin::SlideEffect::finishedSwitching() (this=0x560f0bfbf4d0) at /home/isma/kde/src/kwin/src/effects/slide/slide.cpp:389 #15 0x0000560f0abe6ce6 in KWin::SlideEffect::postPaintScreen() (this=0x560f0bfbf4d0) at /home/isma/kde/src/kwin/src/effects/slide/slide.cpp:307 #16 0x00007fb3535e75a5 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x560f0b6de960) at /home/isma/kde/src/kwin/src/effects.cpp:387 #17 0x0000560f0abb4fb4 in KWin::DimInactiveEffect::postPaintScreen() (this=0x560f0bfe2d40) at /home/isma/kde/src/kwin/src/effects/diminactive/diminactive.cpp:155 #18 0x00007fb3535e75a5 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x560f0b6de960) at /home/isma/kde/src/kwin/src/effects.cpp:387 I'll work on this Vlad in def99b1a you replaced isPaintingEnabled() with refVisible(). unrefVisible(PAINT_DISABLED_BY_DESKTOP) is failing windowitem.cpp:107 Q_ASSERT(m_forceVisibleByDesktopCount > 0); after SlideEffect uses it. If I'm reading it right this is a terrible bug and there's no way of telling which effect is calling unrefVisible() when it shouldn't be? Are you using any 3rd party effects? (In reply to Eric Edlund from comment #4) > Are you using any 3rd party effects? Not that I'm aware of. Just two 3rd-party scripts: "Tile Gaps" and "Sticky Window Snapping" This are the list of plugins and effects I have currently loaded. Plugins.LoadedPlugins: Arguments: [Variant(QStringList): {"kwin5_plugin_krunner", "kwin5_plugin_nightcolor"}] Effects.LoadedEffects: Arguments: [Variant(QStringList): {"kwin4_effect_dialogparent", "kwin4_effect_fadingpopups", "kwin4_effect_frozenapp", "kwin4_effect_dimscreen", "kwin4_effect_sessionquit", "kwin4_effect_logout", "kwin4_effect_squash", "kwin4_effect_morphingpopups", "kwin4_effect_scale", "kwin4_effect_login", "kwin4_effect_windowaperture", "kwin4_effect_fullscreen", "kwin4_effect_maximize", "colorpicker", "touchpoints", "blendchanges", "screenshot", "screenedge", "zoom", "slidingpopups", "diminactive", "slide", "sheet", "desktopgrid", "highlightwindow", "overview", "windowview", "wobblywindows", "blur", "contrast", "startupfeedback", "kscreen"}] FWIW, I haven't been able to reproduce the crash for the last few days (with almost daily updates to git master). I hadn't read that last part the first time
> FWIW, I haven't been able to reproduce the crash for the last few days (with almost daily updates to git master).
That's good because I'm running out of things to check.
If/When you're confident it's gone go ahead and mark as resolved.
Closing this as I'm not able to longer reproduce it, and it hasn't had any duplicates in the time being, so it might have been caused for some shenanigans in my dev sessions. Will keep posted if it starts reproducing again. |