Bug 418208

Summary: KWin crashes when Cube and Fall Apart animations happen simultaneously
Product: [Plasma] kwin Reporter: Mihaela <mihaela.jurkovic>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.16.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mihaela 2020-02-26 03:58:09 UTC
Application: kwin_x11 (5.16.5)

Qt Version: 5.12.4
Frameworks Version: 5.62.0
Operating System: Linux 5.3.0-40-generic x86_64
Distribution: Ubuntu 19.10

-- Information about the crash:
- What I was doing when the application crashed:

This happens almost always: I close a window and he Fall Apart animation happens. This animation isn't so short (any way I can change that time BTW?). I then change to a different desktop/workspace which triggers the Cube animation. 

If I do that while the shards of the closed window animation are still happening KWin crashes, or there some weird things happening with the windows on the next desktop, flickering or it takes a moment until the display is rendered. Sometimes the current desktop image is frozen for a bit, including the shards it all stands still before it moves to the new desktop. Sometimes the new desktop is not the next one, but the second one, probably because the mouse keep pushing in that direction. 

- Custom settings of the application:

Enabled Fall Apart, Desktop Cube and Desktop Cube Animation under Desktop Effects. 

In the Animation: 
Do not animate panels
Use pager layout for animation

Under Virtual Desktops I have 5 rows, each with 1 Desktop
Show animation when switching: Desktop Cube Animation
Show on-screen display when switching: 500 ms
Show desktop layout indicators

The crash can be reproduced sometimes.

-- 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 0x7f1d921dcd00 (LWP 32174))]

Thread 11 (Thread 0x7f1cd196c700 (LWP 1932)):
#0  0x00007f1d96ee72c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dc782034f4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007f1d96ee72c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dc782034a0, cond=0x55dc782034c8) at pthread_cond_wait.c:508
#2  0x00007f1d96ee72c6 in __pthread_cond_wait (cond=0x55dc782034c8, mutex=0x55dc782034a0) at pthread_cond_wait.c:638
#3  0x00007f1d97978dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97978eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d96a0e7b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f1d96a0ea1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f1cd3f5e700 (LWP 1931)):
#0  0x00007f1d990ccd26 in __GI_ppoll (fds=0x7f1ccc000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f1d97b8d589 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f1d97b8eaf4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1d97b385cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97971a45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d96680319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#8  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f1ce1a3f700 (LWP 549)):
#0  0x00007f1d96ee72c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dc77e836f4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007f1d96ee72c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dc77e836a0, cond=0x55dc77e836c8) at pthread_cond_wait.c:508
#2  0x00007f1d96ee72c6 in __pthread_cond_wait (cond=0x55dc77e836c8, mutex=0x55dc77e836a0) at pthread_cond_wait.c:638
#3  0x00007f1d97978dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97978eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d96a0e7b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f1d96a0ea1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f1d893ac700 (LWP 548)):
#0  0x00007f1d97b64c76 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f1d97b8e8fa in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f1d97b385cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1d97971a45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d96680319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f1d8adee700 (LWP 520)):
#0  0x00007f1d96ee72c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dc77c3c0d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007f1d96ee72c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dc77c3c080, cond=0x55dc77c3c0a8) at pthread_cond_wait.c:508
#2  0x00007f1d96ee72c6 in __pthread_cond_wait (cond=0x55dc77c3c0a8, mutex=0x55dc77c3c080) at pthread_cond_wait.c:638
#3  0x00007f1d97978dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97978eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d96a0e7b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f1d96a0ea1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f1d79f87700 (LWP 32669)):
#0  0x00007f1d96ee72c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dc778e14b0) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007f1d96ee72c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dc778e1460, cond=0x55dc778e1488) at pthread_cond_wait.c:508
#2  0x00007f1d96ee72c6 in __pthread_cond_wait (cond=0x55dc778e1488, mutex=0x55dc778e1460) at pthread_cond_wait.c:638
#3  0x00007f1d97978dbf in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97978eb1 in QWaitCondition::wait(QMutex*, unsigned long) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d96a0e7b9 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f1d96a0ea1a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1d7967d700 (LWP 32193)):
#0  0x00007f1d96ee72c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f1d974f5fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007f1d96ee72c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f1d974f5f68, cond=0x7f1d974f5f90) at pthread_cond_wait.c:508
#2  0x00007f1d96ee72c6 in __pthread_cond_wait (cond=0x7f1d974f5f90, mutex=0x7f1d974f5f68) at pthread_cond_wait.c:638
#3  0x00007f1d973ff08a in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f1d973ff0af in  () at /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1d88868700 (LWP 32191)):
#0  0x00007f1d96ee72c6 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55dc76f834b8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  0x00007f1d96ee72c6 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55dc76f83468, cond=0x55dc76f83490) at pthread_cond_wait.c:508
#2  0x00007f1d96ee72c6 in __pthread_cond_wait (cond=0x55dc76f83490, mutex=0x55dc76f83468) at pthread_cond_wait.c:638
#3  0x00007f1d7b81eabb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1d7b81e6db in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1d8a5ed700 (LWP 32189)):
#0  0x00007f1d97973193 in QMutex::unlock() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f1d97b3c738 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f1d97b8e907 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1d97b385cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97971a45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d96680319 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#8  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1d8bfff700 (LWP 32180)):
#0  0x00007f1d990ccd26 in __GI_ppoll (fds=0x7f1d8400ea18, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f1d97b8d589 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f1d97b8eaf4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1d97b385cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1d97971a45 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1d960bfefa in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f1d97972c92 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1d96ee0669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#8  0x00007f1d990d9323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1d921dcd00 (LWP 32174)):
[KCrash Handler]
#6  0x00007f1d98ffd3eb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f1d98fdc899 in __GI_abort () at abort.c:79
#8  0x00007f1d97939a99 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f1d97679097 in  () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#10 0x00007f1d901ecae4 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#11 0x00007f1d901ecc5f in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#12 0x00007f1d901f5369 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007f1d901f549b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007f1d98e17527 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f1d97617d4a in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#16 0x00007f1d98e174c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f1d9757fab0 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007f1d98e174c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f1d9767a80f in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#20 0x00007f1d98e174c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f1d9767a80f in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#22 0x00007f1d98e174c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f1d9767a80f in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#24 0x00007f1d98e174c7 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f1d98e05a4f in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007f1d98e17360 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007f1d9767a68f in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#28 0x00007f1d98e17307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007f1d9767a68f in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#30 0x00007f1d98e17307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007f1d976045b7 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#32 0x00007f1d98e17307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007f1d975996db in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#34 0x00007f1d98e17307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007f1d975b0064 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#36 0x00007f1d98e17307 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007f1d98e0c236 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007f1d98e0a250 in KWin::Scene::paintGenericScreen(int, KWin::ScreenPaintData) () at /lib/x86_64-linux-gnu/libkwin.so.5
#39 0x00007f1d901f4e27 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#40 0x00007f1d98e0b7bd in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#41 0x00007f1d98e170b2 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#42 0x00007f1d9767a5c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#43 0x00007f1d98e17061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#44 0x00007f1d9767a5c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#45 0x00007f1d98e17061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#46 0x00007f1d9767a5c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#47 0x00007f1d98e17061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#48 0x00007f1d9759be07 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#49 0x00007f1d9759c1e3 in  () at /lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#50 0x00007f1d98e17061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#51 0x00007f1d9767a5c3 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwineffects.so.12
#52 0x00007f1d98e17061 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#53 0x00007f1d98e0b4b3 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /lib/x86_64-linux-gnu/libkwin.so.5
#54 0x00007f1d901f0c7e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#55 0x00007f1d98dfd247 in KWin::Compositor::performCompositing() () at /lib/x86_64-linux-gnu/libkwin.so.5
#56 0x00007f1d97b65de5 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007f1d9854da86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#58 0x00007f1d98556e00 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007f1d97b39a2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007f1d97b90990 in QTimerInfoList::activateTimers() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x00007f1d97b8ec4f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#62 0x00007f1d91860642 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#63 0x00007f1d97b385cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007f1d97b40336 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#65 0x00007f1d991b287d in kdemain () at /lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#66 0x00007f1d98fde1e3 in __libc_start_main (main=0x55dc7663e060, argc=3, argv=0x7fff46044c88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff46044c78) at ../csu/libc-start.c:308
#67 0x000055dc7663e09e in _start ()
[Inferior 1 (process 32174) detached]

Reported using DrKonqi
Comment 1 Mihaela 2020-02-26 05:29:39 UTC
Addendum: 

KWin won't start again, even after shut down. 

Here is some more info about my config and the commands I used to try to start it: 

https://invent.kde.org/snippets/731
Comment 2 Mihaela 2020-02-28 08:00:06 UTC
This is possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=368847#c5 (Assert in KWin::WindowQuad KWin::WindowQuad::makeSubQuad)

When I try `kwin --replace` in terminal I see these messages after closing a window: 

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12813, resource id: 81789042, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12817, resource id: 83886091, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12824, resource id: 33554679, major code: 18 (ChangeProperty), minor code: 0

Moving a window from one desktop to the next by holding and dragging: 

Could not attach Keys property to:  PlasmaQuick::Dialog(0x5558377b6e10)  is not an Item
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:44:19: QML ScrollView: Binding loop detected for property "height"
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:44:19: QML ScrollView: Binding loop detected for property "height"
trying to show an empty dialog
trying to show an empty dialog
trying to show an empty dialog


There are no messages if Desktop switching animation (under Virtual Desktops) options aren't turned on. 

But if I turn on "Show on-screen display when switching":

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 26136, resource id: 79692016, major code: 2 (ChangeWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 26440, resource id: 79692024, major code: 2 (ChangeWindowAttributes), minor code: 0

If I turn off the "Show on-screen display when switching":

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 38074, resource id: 33554707, major code: 18 (ChangeProperty), minor code: 0
Cannot clear shadow from window without native surface!

If I turn on "Show animation when switching": 

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 41905, resource id: 81789171, major code: 2 (ChangeWindowAttributes), minor code: 0


If I also add "Show desktop layout indicators": 

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 44176, resource id: 81789177, major code: 2 (ChangeWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 44386, resource id: 81789183, major code: 2 (ChangeWindowAttributes), minor code: 0
trying to show an empty dialog
trying to show an empty dialog
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 44987, resource id: 79692170, major code: 2 (ChangeWindowAttributes), minor code: 0
Comment 3 Vlad Zahorodnii 2020-03-02 08:39:02 UTC
(In reply to Mihaela from comment #1)
> Addendum: 
> 
> KWin won't start again, even after shut down. 
> 
> Here is some more info about my config and the commands I used to try to
> start it: 
> 
> https://invent.kde.org/snippets/731

Go to the compositor settings (system settings > display and monitor, compositor) and re-enable compositing.
Comment 4 Vlad Zahorodnii 2020-03-02 08:39:36 UTC
> This is possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=368847#c5 (Assert in KWin::WindowQuad KWin::WindowQuad::makeSubQuad)

According to the title, yes.
Comment 5 Vlad Zahorodnii 2020-03-02 08:40:02 UTC

*** This bug has been marked as a duplicate of bug 368847 ***
Comment 6 Mihaela 2020-03-02 13:52:55 UTC
Thank you @Vlad for the tip on how to get Compositor working again. 

Why wouldn't it work with the terminal, or better yet, through Run?