Bug 404645

Summary: KWin crash
Product: [Plasma] kwin Reporter: ferow2k
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.15.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ferow2k 2019-02-21 13:04:42 UTC
Application: kwin_x11 (5.15.0)

Qt Version: 5.12.0
Frameworks Version: 5.55.0
Operating System: Linux 4.15.0-45-generic x86_64
Distribution: KDE neon User Edition 5.15

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

KWin crashes immediately after resuming from suspend.
"Desktop effects were restarted" notifications are shown when switching between open windows for the first time.

The crash can be reproduced sometimes.

-- 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 0x7f65940a2840 (LWP 8425))]

Thread 7 (Thread 0x7f65593e4700 (LWP 12208)):
#0  0x00007f658c9ad9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f656009a6a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f658c9ad9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f656009a650, cond=0x7f656009a678) at pthread_cond_wait.c:502
#2  0x00007f658c9ad9f3 in __pthread_cond_wait (cond=0x7f656009a678, mutex=0x7f656009a650) at pthread_cond_wait.c:655
#3  0x00007f6590d50b4b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f6590d50e59 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f658bb3eda8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f658bb3f1da in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f6590d49bc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f658c9a76db in start_thread (arg=0x7f65593e4700) at pthread_create.c:463
#9  0x00007f6593a2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f6568a88700 (LWP 11672)):
#0  0x00007f6593a14cf6 in __GI_ppoll (fds=0x7f6560000d68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f6590f7ae41 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f6590f7c54e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f6590f2064a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f6590d4841a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f658b3c82e5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f6590d49bc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f658c9a76db in start_thread (arg=0x7f6568a88700) at pthread_create.c:463
#8  0x00007f6593a2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f6558bc3700 (LWP 10086)):
#0  0x00007f658c9ad9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f658ff60fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f658c9ad9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f658ff60f68, cond=0x7f658ff60f90) at pthread_cond_wait.c:502
#2  0x00007f658c9ad9f3 in __pthread_cond_wait (cond=0x7f658ff60f90, mutex=0x7f658ff60f68) at pthread_cond_wait.c:655
#3  0x00007f658fc6a844 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f658fc6a889 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f658c9a76db in start_thread (arg=0x7f6558bc3700) at pthread_create.c:463
#6  0x00007f6593a2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f6569eed700 (LWP 9370)):
#0  0x00007f6593a14cf6 in __GI_ppoll (fds=0x7f655c000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f6590f7ae41 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f6590f7c54e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f6590f2064a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f6590d4841a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f658b3c82e5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f6590d49bc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f658c9a76db in start_thread (arg=0x7f6569eed700) at pthread_create.c:463
#8  0x00007f6593a2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6579421700 (LWP 8629)):
#0  0x00007f6593a14cf6 in __GI_ppoll (fds=0x7f656c011818, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f6590f7ae41 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f6590f7c54e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f6590f2064a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f6590d4841a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f658a243015 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f6590d49bc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f658c9a76db in start_thread (arg=0x7f6579421700) at pthread_create.c:463
#8  0x00007f6593a2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f657b253700 (LWP 8574)):
#0  0x00007f6593a14bf9 in __GI___poll (fds=0x7f657b252c78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6590a85747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f6590a8736a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f657bf6532a in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f6590d49bc2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f658c9a76db in start_thread (arg=0x7f657b253700) at pthread_create.c:463
#6  0x00007f6593a2188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f65940a2840 (LWP 8425)):
[KCrash Handler]
#6  0x00007f65904d05ff in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#7  0x00007f6568a9bfda in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007f6568aa3673 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007f6568aa37a7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007f6593569706 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f65904cf320 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#12 0x00007f659356969e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f65901e2975 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#14 0x00007f659356969e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f65904cf320 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#16 0x00007f659356969e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f6593555700 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007f659356952d in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f6590265a9a in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#20 0x00007f65935694ce in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f65904cf1b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#22 0x00007f65935694ce in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f65904d82de in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#24 0x00007f65935694ce in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f659355bbb5 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007f6593557d41 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007f6568a98f22 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#28 0x00007f659355b097 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007f6593569285 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#30 0x00007f65904cf101 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#31 0x00007f659356922d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#32 0x00007f65904cf101 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#33 0x00007f659356922d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#34 0x00007f65904cf101 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.12
#35 0x00007f659356922d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#36 0x00007f659355ad8e 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
#37 0x00007f6568a9f391 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#38 0x00007f659354d122 in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#39 0x00007f6590f5294b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f6591d1883c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f6591d1fdd0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007f6590f22328 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f6590f7e5a9 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007f6590f7c7b2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f657bf6668e in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#46 0x00007f6590f2064a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007f6590f29800 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007f6593cf9dbb in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#49 0x00007f6593921b97 in __libc_start_main (main=0x55afea896720, argc=1, argv=0x7fff33bbfc48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff33bbfc38) at ../csu/libc-start.c:310
#50 0x000055afea89675a in _start ()

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-02-21 13:14:49 UTC
NVIDIA?
Comment 2 ferow2k 2019-02-21 14:52:33 UTC
(In reply to Vlad Zagorodniy from comment #1)
> NVIDIA?

Yes. GT 540M using 390.87 drivers.
Comment 3 Vlad Zahorodnii 2019-02-21 15:43:16 UTC

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