Bug 413917

Summary: kWin crashes after suspension
Product: [Plasma] kwin Reporter: mich.delbianco
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.12.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mich.delbianco 2019-11-07 15:53:30 UTC
Application: kwin_x11 (5.12.9)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-66-generic x86_64
Distribution: Ubuntu 18.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed: the system was suspended by powersaving policies and the session was locked.

- Unusual behavior I noticed: on plasma desktop text rectangles are not correctly rendered, text is unreadable

- Custom settings of the application: f**nVidia driver

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 0x7ff031ebbcc0 (LWP 2439))]

Thread 8 (Thread 0x7ff00df96700 (LWP 5966)):
#0  0x00007ff02a8849f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5613cad432d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff02a8849f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5613cad43280, cond=0x5613cad432a8) at pthread_cond_wait.c:502
#2  0x00007ff02a8849f3 in __pthread_cond_wait (cond=0x5613cad432a8, mutex=0x5613cad43280) at pthread_cond_wait.c:655
#3  0x00007ff02e9e85ab in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff029a586a8 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007ff029a58b0a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007ff02e9e717d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff02a87e6db in start_thread (arg=0x7ff00df96700) at pthread_create.c:463
#8  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff00ffff700 (LWP 5965)):
#0  0x00007ff02ec1a61e in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007ff02ec1bd6e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff02ebc39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff02e9e223a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff02936a6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007ff02e9e717d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff02a87e6db in start_thread (arg=0x7ff00ffff700) at pthread_create.c:463
#7  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7feffa32a700 (LWP 5806)):
#0  0x00007ff02e9de9ac in QMutex::lock() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007ff02ec1bb9e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff02ebc39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff02e9e223a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff02e9e717d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff02a87e6db in start_thread (arg=0x7feffa32a700) at pthread_create.c:463
#6  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7feff9b29700 (LWP 2568)):
#0  0x00007ff02a8849f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7ff02de1bfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff02a8849f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7ff02de1bf68, cond=0x7ff02de1bf90) at pthread_cond_wait.c:502
#2  0x00007ff02a8849f3 in __pthread_cond_wait (cond=0x7ff02de1bf90, mutex=0x7ff02de1bf68) at pthread_cond_wait.c:655
#3  0x00007ff02db255f4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007ff02db25639 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007ff02a87e6db in start_thread (arg=0x7feff9b29700) at pthread_create.c:463
#6  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff00f5bd700 (LWP 2524)):
#0  0x00007ff031818cf6 in __GI_ppoll (fds=0x7feffc000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007ff02ec1a651 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff02ec1bd6e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff02ebc39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff02e9e223a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff02936a6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007ff02e9e717d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff02a87e6db in start_thread (arg=0x7ff00f5bd700) at pthread_create.c:463
#8  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff015e8b700 (LWP 2480)):
#0  0x00007ff031818cf6 in __GI_ppoll (fds=0x7ff00800afd8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007ff02ec1a651 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff02ec1bd6e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff02ebc39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff02e9e223a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff028243d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007ff02e9e717d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff02a87e6db in start_thread (arg=0x7ff015e8b700) at pthread_create.c:463
#8  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff0184e6700 (LWP 2466)):
#0  0x00007ff031818bf9 in __GI___poll (fds=0x7ff0184e5c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff030722747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff03072436a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff0193c55e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ff02e9e717d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff02a87e6db in start_thread (arg=0x7ff0184e6700) at pthread_create.c:463
#6  0x00007ff03182588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff031ebbcc0 (LWP 2439)):
[KCrash Handler]
#6  0x00007ff02e3922af in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#7  0x00007ff00dfa9a7b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007ff00dfb2653 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007ff00dfb2787 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007ff031387986 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007ff02e38e620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#12 0x00007ff03138791e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007ff02e12fb36 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#14 0x00007ff03138791e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007ff02e09f3cd in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#16 0x00007ff03138791e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007ff02e38e620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#18 0x00007ff03138791e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007ff02e38e620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#20 0x00007ff03138791e in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007ff031373890 in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007ff0313877ad in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007ff02e11f30a in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#24 0x00007ff03138774e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007ff02e38e4b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#26 0x00007ff03138774e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#27 0x00007ff02e38e4b0 in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#28 0x00007ff03138774e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#29 0x00007ff02e39ab97 in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#30 0x00007ff03138774e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#31 0x00007ff02e39ab97 in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#32 0x00007ff03138774e in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007ff031379c02 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#34 0x00007ff03137897c in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#35 0x00007ff00dfa6c92 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#36 0x00007ff031379197 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#37 0x00007ff031387505 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#38 0x00007ff02e38e401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#39 0x00007ff0313874ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#40 0x00007ff02e38e401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#41 0x00007ff0313874ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#42 0x00007ff02e38e401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#43 0x00007ff0313874ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#44 0x00007ff02e38e401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#45 0x00007ff0313874ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#46 0x00007ff02e38e401 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#47 0x00007ff0313874ad in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#48 0x00007ff031378e8e 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
#49 0x00007ff00dfac541 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#50 0x00007ff03136b412 in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#51 0x00007ff02ebf516b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007ff02f94383c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007ff02f94b104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007ff02ebc59c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x00007ff02ec1de1e in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007ff02ec1bfd2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x00007ff01942a66d in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#58 0x00007ff02ebc39fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007ff02ebccaa4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007ff031afddbb in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#61 0x00007ff031725b97 in __libc_start_main (main=0x5613c89b9730, argc=3, argv=0x7fff30dfb588, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff30dfb578) at ../csu/libc-start.c:310
#62 0x00005613c89b976a in _start ()

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-11-18 13:54:40 UTC

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