Bug 402180

Summary: KWin crashed after resume from suspend
Product: [Plasma] kwin Reporter: abcder <ruthog>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description abcder 2018-12-16 02:05:24 UTC
Application: kwin_x11 (5.14.4)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.14.87-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I resume my PC from suspend after some time (about 40 mins) and run into this issue.

The crash can be reproduced sometimes.

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

Thread 6 (Thread 0x7f7abffff700 (LWP 1816)):
#0  0x00007f7adeb54afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7adfd6f71c in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f7ade6af7ed in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007f7ade6afa5c in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f7adfd6ef65 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f7adeb4ea9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f7ae1375b23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f7abf7fe700 (LWP 1433)):
#0  0x00007f7adeb54afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7adf85320c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f7adf853229 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f7adeb4ea9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f7ae1375b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7ac7fff700 (LWP 1397)):
#0  0x00007f7ae136ad16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f7adff6be9b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f7adff6d38b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f7adff1b8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f7adfd64eb9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f7ade37a859 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f7adfd6ef65 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f7adeb4ea9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f7ae1375b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7ad62aa700 (LWP 1361)):
#0  0x00007f7ae136ad16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f7adff6be9b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f7adff6d38b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f7adff1b8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f7adfd64eb9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f7adde4aba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f7adfd6ef65 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f7adeb4ea9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f7ae1375b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7ad7785700 (LWP 1348)):
#0  0x00007f7ae136ac21 in poll () at /usr/lib/libc.so.6
#1  0x00007f7adfc8d630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f7adfc8f2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f7ad7c55c5a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f7adfd6ef65 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f7adeb4ea9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f7ae1375b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7ad80b4840 (LWP 1324)):
[KCrash Handler]
#6  0x00007f7adfacf52b in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/libkwineffects.so.11
#7  0x00007f7ac73e7c88 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007f7ac73f1113 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007f7ac73f1259 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007f7ae10f53ec in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007f7adfacb4bd in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#12 0x00007f7ae10f5384 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007f7adfa651f6 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#14 0x00007f7ae10f5384 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#15 0x00007f7adf9d261a in  () at /usr/lib/libkwin4_effect_builtins.so.1
#16 0x00007f7ae10f5384 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#17 0x00007f7adfacb4bd in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#18 0x00007f7ae10f5384 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007f7ae10e129d in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#20 0x00007f7ae10f5215 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007f7adfa55c3f in  () at /usr/lib/libkwin4_effect_builtins.so.1
#22 0x00007f7ae10f51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#23 0x00007f7adfacb34d in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#24 0x00007f7ae10f51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#25 0x00007f7adfacb34d in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#26 0x00007f7ae10f51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#27 0x00007f7adfad8cac in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#28 0x00007f7ae10f51b4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#29 0x00007f7ae10e7843 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#30 0x00007f7ae10e3ef7 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#31 0x00007f7ac73e3464 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#32 0x00007f7ae10e6dd1 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#33 0x00007f7ae10f4f67 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#34 0x00007f7adfacb2a2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#35 0x00007f7ae10f4f0e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#36 0x00007f7adfacb2a2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#37 0x00007f7ae10f4f0e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#38 0x00007f7adfacb2a2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#39 0x00007f7ae10f4f0e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#40 0x00007f7adfacb2a2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#41 0x00007f7ae10f4f0e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#42 0x00007f7ae10e6a6b in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#43 0x00007f7ac73eb417 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#44 0x00007f7ae10d839e in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#45 0x00007f7adff4730b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#46 0x00007f7ae0896e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#47 0x00007f7ae089e6e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007f7adff1cc39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#49 0x00007f7adff6f39a in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#50 0x00007f7adff6d4de in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#51 0x00007f7ad7cec05e in  () at /usr/lib/libQt5XcbQpa.so.5
#52 0x00007f7adff1b8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#53 0x00007f7adff23bc6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#54 0x00007f7ae1447b26 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#55 0x00007f7ae129e223 in __libc_start_main () at /usr/lib/libc.so.6
#56 0x0000555e36b0e05e in _start ()
[Inferior 1 (process 1324) detached]

Reported using DrKonqi
Comment 1 Martin Flöser 2018-12-16 18:48:10 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace.
Comment 2 Vlad Zahorodnii 2018-12-16 19:01:23 UTC

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