Bug 379067

Summary: Kwin crashes after reawakening from suspend-to-ram
Product: [Plasma] kwin Reporter: jdrees
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.9.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jdrees 2017-04-22 09:00:15 UTC
Application: kwin_x11 (5.9.4)

Qt Version: 5.8.0
Frameworks Version: 5.33.0
Operating System: Linux 4.10.10-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Suspended the laptop, then woke it from hibernation. Lock screen appears, I input my credentials successfully. Kwin appears crashed (No menu bars anymore) and the crash reporting assistant window appears.

This was observed in a multi-screen setup (2 external monitors connected via a Thinkpad dock and DP).

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5a4cad3840 (LWP 1106))]

Thread 6 (Thread 0x7f5a14d7b700 (LWP 13665)):
#0  0x00007f5a45761756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5a4996f58b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5a44b65665 in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007f5a44b65f72 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f5a4996e6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f5a4575b2e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f5a4c51f54f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f5a0ffff700 (LWP 1359)):
#0  0x00007f5a45761756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5a48ad8234 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f5a48ad8279 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f5a4575b2e7 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f5a4c51f54f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f5a16005700 (LWP 1248)):
#0  0x00007f5a45761ca6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5a28293e44 in  () at /usr/lib/libGLX_nvidia.so.0
#2  0x00007f5a16dd1394 in  () at /usr/lib/libnvidia-glcore.so.378.13
#3  0x00007f5a2829312c in  () at /usr/lib/libGLX_nvidia.so.0
#4  0x00007f5a4575b2e7 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f5a4c51f54f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f5a29dfd700 (LWP 1225)):
#0  0x00007f5a4c51576b in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5a49b992f9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5a49b9a96a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5a49b4789a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5a49969a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f5a44482025 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f5a4996e6d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f5a4575b2e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f5a4c51f54f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f5a30f92700 (LWP 1122)):
#0  0x00007f5a4c51576b in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5a49b992f9 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5a49b9a96a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5a49b4789a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5a49969a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f5a4362c125 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f5a4996e6d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f5a4575b2e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f5a4c51f54f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5a4cad3840 (LWP 1106)):
[KCrash Handler]
#6  0x00007f5a4c4b87fa in __memmove_sse2_unaligned_erms () at /usr/lib/libc.so.6
#7  0x00007f5a453088ae in KWin::GLVertexBuffer::setData(int, int, float const*, float const*) () at /usr/lib/libkwinglutils.so.10
#8  0x00007f5a4c0a9d5e in  () at /usr/lib/libkwin.so.5
#9  0x00007f5a4c0ad5f5 in KWin::SceneOpenGL::paintBackground(QRegion) () at /usr/lib/libkwin.so.5
#10 0x00007f5a4c095c78 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#11 0x00007f5a4c0a9ce0 in  () at /usr/lib/libkwin.so.5
#12 0x00007f5a4c098254 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007f5a4c0c77ef in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#14 0x00007f5a4931267f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.10
#15 0x00007f5a4c0c779a in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#16 0x00007f5a4931267f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.10
#17 0x00007f5a4c0c779a in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007f5a4931267f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.10
#19 0x00007f5a4c0c779a in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#20 0x00007f5a4c097ee2 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#21 0x00007f5a4c0ae389 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/libkwin.so.5
#22 0x00007f5a4c088551 in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#23 0x00007f5a49b75b63 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f5a4a82b34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f5a4a832b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f5a49b49440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f5a49b9ccbe in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#28 0x00007f5a49b9abda in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#29 0x00007f5a3421eded in  () at /usr/lib/libQt5XcbQpa.so.5
#30 0x00007f5a49b4789a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007f5a49b4fde4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#32 0x00007f5a4c7e0391 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#33 0x00007f5a4c453511 in __libc_start_main () at /usr/lib/libc.so.6
#34 0x000000000040069a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-04-22 11:37:45 UTC

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