Bug 417395 - Kwin crashes on simultaneous desktop animations
Summary: Kwin crashes on simultaneous desktop animations
Status: RESOLVED DUPLICATE of bug 368847
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-10 18:42 UTC by Gustavo S
Modified: 2020-02-18 18:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo S 2020-02-10 18:42:11 UTC
Application: kwin_x11 (5.16.5)

Qt Version: 5.12.4
Frameworks Version: 5.62.0
Operating System: Linux 5.3.0-7625-generic x86_64
Distribution: Pop!_OS 19.10

-- Information about the crash:
- What I was doing when the application crashed:
Closing a window (with "Fall Apart" Desktop Effects) and then quickly switching virtual desktops (Using "Desktop Grid" and "Slide") causes instant desktop freezing and Kwin crashing
- Custom settings of the application:
Using Crisp (repeatable on Smooth/Accurate) OpenGL 3.1 Compositor with vsync on and default animation speed. 
System: Razer Blade Late 2017, Intel I7-8550U (8) @1.8Ghz, Intel UHD Graphics 620 GPU, on Pop!_OS 19.0 x86_64, Kernel 5.3.0-7625-generic.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa87d656d00 (LWP 24802))]

Thread 8 (Thread 0x7fa85efbe700 (LWP 24843)):
#0  0x00007fa8823612c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56284669a4a4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fa8823612c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56284669a450, cond=0x56284669a478) at pthread_cond_wait.c:508
#2  0x00007fa8823612c6 in __pthread_cond_wait (cond=0x56284669a478, mutex=0x56284669a450) at pthread_cond_wait.c:638
#3  0x00007fa882df2def in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa882df2ee1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa881e887b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fa881e88a1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fa882deccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa85df83700 (LWP 24820)):
#0  0x00007fa8823612c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa88296ffb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fa8823612c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa88296ff68, cond=0x7fa88296ff90) at pthread_cond_wait.c:508
#2  0x00007fa8823612c6 in __pthread_cond_wait (cond=0x7fa88296ff90, mutex=0x7fa88296ff68) at pthread_cond_wait.c:638
#3  0x00007fa88287908a in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fa8828790af in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa85ffff700 (LWP 24817)):
#0  0x00007fa884546d26 in __GI_ppoll (fds=0x7fa858000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa8830075f9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa883008b64 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa882fb263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa882deba75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa881afa319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fa882deccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#8  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa869e81700 (LWP 24816)):
#0  0x00007fa8823612c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56284604c698) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007fa8823612c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56284604c648, cond=0x56284604c670) at pthread_cond_wait.c:508
#2  0x00007fa8823612c6 in __pthread_cond_wait (cond=0x56284604c670, mutex=0x56284604c648) at pthread_cond_wait.c:638
#3  0x00007fa86a4f1abb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa86a4f16db in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa8792f1700 (LWP 24815)):
#0  0x00007fa882fbd287 in QMetaObjectPrivate::signalOffset(QMetaObject const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fa882fdfa6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa883008c6f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa882fb263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa882deba75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa881afa319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fa882deccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#8  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa87b3f3700 (LWP 24806)):
#0  0x00007fa883008930 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fa882fb263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fa882deba75 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa881539efa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#4  0x00007fa882deccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa87c2e0700 (LWP 24805)):
#0  0x00007fa884546c2f in __GI___poll (fds=0x7fa87c2dfc28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa882d10917 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa882d1253a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa87c60b288 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa882deccc2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa88235a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fa884553323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa87d656d00 (LWP 24802)):
[KCrash Handler]
#6  0x00007fa8844773eb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fa884456899 in __GI_abort () at abort.c:79
#8  0x00007fa882db3a99 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fa882af3097 in  () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#10 0x00007fa868078ae4 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#11 0x00007fa868078c5f in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#12 0x00007fa868081369 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007fa86808149b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007fa884291527 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007fa882a91d4a in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#16 0x00007fa8842914c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fa8829f9ab0 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007fa8842914c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fa882af480f in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#20 0x00007fa8842914c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007fa882af480f in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#22 0x00007fa8842914c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007fa882af480f in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#24 0x00007fa8842914c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007fa88427fa4f in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007fa884291360 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007fa882af468f in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#28 0x00007fa884291307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007fa882af468f in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#30 0x00007fa884291307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007fa882a7e5b7 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#32 0x00007fa884291307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007fa882a52249 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#34 0x00007fa884291307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007fa882afd75a in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#36 0x00007fa884291307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007fa884286236 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007fa884284250 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () at /lib/x86_64-linux-gnu/libkwin.so.5
#39 0x00007fa868080e27 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#40 0x00007fa8842857bd in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#41 0x00007fa8842910b2 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#42 0x00007fa882af45c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#43 0x00007fa884291061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#44 0x00007fa882af45c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#45 0x00007fa884291061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#46 0x00007fa882af45c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#47 0x00007fa884291061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#48 0x00007fa882a52f4e in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#49 0x00007fa884291061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#50 0x00007fa882af45c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#51 0x00007fa884291061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#52 0x00007fa8842854b3 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#53 0x00007fa86807cc7e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#54 0x00007fa884277247 in KWin::Compositor::performCompositing() () at /lib/x86_64-linux-gnu/libkwin.so.5
#55 0x00007fa882fdfe55 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007fa8839c7a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007fa8839d0e00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#58 0x00007fa882fb3a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007fa88300aa00 in QTimerInfoList::activateTimers() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007fa883008cbf in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x00007fa87c60c642 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#62 0x00007fa882fb263b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#63 0x00007fa882fba3a6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007fa88462c87d in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#65 0x00007fa8844581e3 in __libc_start_main (main=0x562843d61060, argc=3, argv=0x7ffd08341728, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd08341718) at ../csu/libc-start.c:308
#66 0x0000562843d6109e in _start ()
[Inferior 1 (process 24802) detached]

Reported using DrKonqi
Comment 1 Patrick Silva 2020-02-18 18:31:06 UTC
maybe duplicate of bug 368847
Comment 2 Gustavo S 2020-02-18 18:42:18 UTC
(In reply to Patrick Silva from comment #1)
> maybe duplicate of bug 368847

Looks close, but this is 100% reproducible when using the "Fall Apart" desktop animation AND switching virtual desktops simultaneously results in an instant KWIN crash.
Comment 3 David Edmundson 2020-02-18 18:52:27 UTC
It's the same. Technically it's not a crash.

*** This bug has been marked as a duplicate of bug 368847 ***