Bug 422028

Summary: Plasma or kWin crashes every time after suspend
Product: [Plasma] kwin Reporter: Marius Alksnys <marius.alksnys>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marius Alksnys 2020-05-24 18:16:52 UTC
Application: kwin_x11 (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-6-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
My usual session - one monitor, two virtual desktops, some activities (but rarely used).
Clock is showing time in 24:00 and date in ISO format.
SDDM asks me for a password after suspend and then my main and only panel on the bottom of the screen refuses to repaint. This happens every time my laptop resumes from standby.
I am using custom shortcut to run "killall plasmashell; kstart plasmashell" as a workaround.
I also use some custom windows rules.

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7eff1d6fc700 (LWP 19207)):
#0  0x00007eff2d4b600c in futex_wait_cancelable (private=0, expected=0, futex_word=0x55e3dea11fb0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007eff2d4b600c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55e3dea11f60, cond=0x55e3dea11f88) at pthread_cond_wait.c:502
#2  0x00007eff2d4b600c in __pthread_cond_wait (cond=0x55e3dea11f88, mutex=0x55e3dea11f60) at pthread_cond_wait.c:655
#3  0x00007eff2e2c721b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007eff2d010009 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007eff2d01026a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007eff2e2c6a67 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007eff2d4affa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007eff2f8c04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7eff0a38b700 (LWP 8372)):
#0  0x00007eff2f8b591e in __GI_ppoll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007eff2e4bb721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007eff2e4bcb99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007eff2e46d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007eff2e2bce76 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007eff2e2c6a67 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007eff2d4affa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007eff2f8c04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7eff1ffff700 (LWP 16639)):
#0  0x00007eff2d4b600c in futex_wait_cancelable (private=0, expected=0, futex_word=0x55e3de8a5210) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007eff2d4b600c in __pthread_cond_wait_common (abstime=0x0, mutex=0x55e3de8a51c0, cond=0x55e3de8a51e8) at pthread_cond_wait.c:502
#2  0x00007eff2d4b600c in __pthread_cond_wait (cond=0x55e3de8a51e8, mutex=0x55e3de8a51c0) at pthread_cond_wait.c:655
#3  0x00007eff2e2c721b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007eff2d010009 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007eff2d01026a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007eff2e2c6a67 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007eff2d4affa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007eff2f8c04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7eff09b8a700 (LWP 3822)):
#0  0x00007eff2d4b600c in futex_wait_cancelable (private=0, expected=0, futex_word=0x7eff2deb1fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007eff2d4b600c in __pthread_cond_wait_common (abstime=0x0, mutex=0x7eff2deb1f68, cond=0x7eff2deb1f90) at pthread_cond_wait.c:502
#2  0x00007eff2d4b600c in __pthread_cond_wait (cond=0x7eff2deb1f90, mutex=0x7eff2deb1f68) at pthread_cond_wait.c:655
#3  0x00007eff2ddbbe6a in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007eff2ddbbe89 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007eff2d4affa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007eff2f8c04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7eff1f37a700 (LWP 3690)):
#0  0x00007eff2f8b5916 in __GI_ppoll (fds=0x7eff0c000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007eff2e4bb721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007eff2e4bcb99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007eff2e46d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007eff2e2bce76 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007eff2ccdac65 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007eff2e2c6a67 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007eff2d4affa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007eff2f8c04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7eff24e08700 (LWP 3470)):
#0  0x00007eff2f8b5916 in __GI_ppoll (fds=0x7eff18012718, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007eff2e4bb721 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007eff2e4bcb99 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007eff2e46d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007eff2e2bce76 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007eff2c7a2545 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007eff2e2c6a67 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007eff2d4affa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007eff2f8c04cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7eff26b38940 (LWP 3443)):
[KCrash Handler]
#6  0x00007eff2e03580b in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#7  0x00007eff1d712142 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007eff1d71b409 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007eff1d71b537 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007eff2f6465c3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007eff2e03196c in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#12 0x00007eff2f646563 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007eff2f632bfc in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007eff2f6463fb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007eff2dfbb97a in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#16 0x00007eff2f6463a3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007eff2f638f8e in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007eff2f63573c in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007eff1d70d9d2 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#20 0x00007eff2f638560 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007eff2f646155 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007eff2e031751 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#23 0x00007eff2f6460fd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#24 0x00007eff2f63820e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007eff1d715879 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#26 0x00007eff2f62a2aa in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007eff2e49802b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007eff2edeb4c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007eff2edf2970 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007eff2e46e489 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007eff2e4beb38 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007eff2e4bccec in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007eff2616e69d in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#34 0x00007eff2e46d15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007eff2e475132 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007eff2f99247b in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#37 0x00007eff2f7eb09b in __libc_start_main (main=0x55e3dd3b5050, argc=1, argv=0x7ffd1175bb48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd1175bb38) at ../csu/libc-start.c:308
#38 0x000055e3dd3b508a in _start ()
[Inferior 1 (process 3443) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2020-05-29 14:15:38 UTC

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