Summary: | Crash when current virtual desktop is removed using a kwin script | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Aritz Beobide-Cardinal <aritz> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.12.7 | Flags: | vlad.zahorodnii:
ReviewRequest+
|
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | https://phabricator.kde.org/D21064 | ||
Latest Commit: | https://commits.kde.org/kwin/e8b45cce1168859e58fe98b45f8060052ed861a7 | Version Fixed In: | 5.16.0 |
Sentry Crash Report: |
Description
Aritz Beobide-Cardinal
2019-04-11 22:20:26 UTC
Update: After some additional testing, It would appear that only the cube desktop switching animation causes a crash. Fade and slide work fine. Could you please install kwin debug packages and submit a new backtrace? Hello, there! Which packages would that be? I've installed kwin-dev but the stack trace appears to be nearly identical. Sorry, I have no idea what packages you have to install on Ubuntu or Debian. I suggest to seek for help on your distro's forum. Ran the script that @Aritz supplied: Thread 1 (Thread 0x7fe1cb67f140 (LWP 4696)): [KCrash Handler] #6 0x00007fe1c8b27d7f in raise () at /usr/lib/libc.so.6 #7 0x00007fe1c8b12672 in abort () at /usr/lib/libc.so.6 #8 0x00007fe1c90922d4 in qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) (context=..., message=...) at /home/david/projects/qt5/qtbase/src/corelib/global/qlogging.cpp:1904 #9 0x00007fe1c9092f1f in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffe38aa64d0, msg=msg@entry=0x7fe1c9357e20 "ASSERT failure in %s: \"%s\", file %s, line %d") at /home/david/projects/qt5/qtbase/src/corelib/global/qlogging.cpp:888 #10 0x00007fe1c908cc8e in qt_assert_x(char const*, char const*, char const*, int) (where=<optimized out>, what=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qlogging.h:91 #11 0x00007fe1cd25c8e5 in QVector<QVector<QRect> >::operator[](int) const (this=0x560e26ccb5a8, i=2) at /opt/qt5/include/QtCore/qvector.h:433 #12 0x00007fe1cd2482cd in KWin::Workspace::clientArea(KWin::clientAreaOption, int, int) const (this=0x560e26ccb410, opt=KWin::FullArea, screen=0, desktop=2) at /home/david/projects/kde5/src/kde/workspace/kwin/geometry.cpp:368 #13 0x00007fe1cd2a83db in KWin::EffectsHandlerImpl::clientArea(KWin::clientAreaOption, int, int) const (this=0x560e270d8e20, opt=KWin::FullArea, screen=0, desktop=2) at /home/david/projects/kde5/src/kde/workspace/kwin/effects.cpp:1249 #14 0x00007fe1cce1b559 in KWin::CubeSlideEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int) (this=0x560e2779f300, w=0x560e279cf450, data=..., time=44) at /home/david/projects/kde5/src/kde/workspace/kwin/effects/cubeslide/cubeslide.cpp:196 #15 0x00007fe1cd2a4c47 in KWin::EffectsHandlerImpl::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int) (this=0x560e270d8e20, w=0x560e279cf450, data=..., time=44) at /home/david/projects/kde5/src/kde/workspace/kwin/effects.cpp:427 #16 0x00007fe1ccf9d322 in KWin::AnimationEffect::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int) (this=0x7fe1bc003230, w=0x560e279cf450, data=..., time=44) at /home/david/projects/kde5/src/kde/workspace/kwin/libkwineffects/kwinanimationeffect.cpp:612 #17 0x00007fe1cd2a4c47 in KWin::EffectsHandlerImpl::prePaintWindow(KWin::EffectWindow*, KWin::WindowPrePaintData&, int) (this=0x560e270d8e20, w=0x560e279cf450, data=..., time=44) at /home/david/projects/kde5/src/kde/workspace/kwin/effects.cpp:427 #18 0x00007fe1cd2876c2 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) (this=0x560e276eff20, orig_mask=112) at /home/david/projects/kde5/src/kde/workspace/kwin/scene.cpp:226 Similar, but not identical to 390247 Git commit e8b45cce1168859e58fe98b45f8060052ed861a7 by Vlad Zagorodniy. Committed on 07/05/2019 at 12:13. Pushed by vladz into branch 'master'. [effects/cubeslide] Cancel active animation when number of desktops has changed Summary: If a virtual desktop is removed, then desktopChanged will be followed by numberDesktopsChanged signal. In which case, we have to cancel the active animation because front_desktop might be no longer valid when it's time to perform compositing. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D21064 M +24 -0 effects/cubeslide/cubeslide.cpp M +1 -0 effects/cubeslide/cubeslide.h https://commits.kde.org/kwin/e8b45cce1168859e58fe98b45f8060052ed861a7 |