Bug 396273

Summary: KWin crash after resuming from standby
Product: [Plasma] kwin Reporter: 2012gdwu+k2
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 2012gdwu+k2, vlad.zahorodnii
Priority: NOR Keywords: drkonqi
Version: 5.13.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description 2012gdwu+k2 2018-07-07 11:11:15 UTC
Application: kwin_x11 (5.13.2)

Qt Version: 5.11.1
Frameworks Version: 5.47.0
Operating System: Linux 4.16.12-3-default x86_64
Distribution (Platform): openSUSE RPMs

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

I put my computer into standby mode. After I started the PC again, KWin crashed.

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

Thread 5 (Thread 0x7fba8f98b700 (LWP 3077)):
#0  0x00007fbac00bd4ec in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbac337c76a in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fbac337c78b in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fbac00b7554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fbac7024fdf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fba97fff700 (LWP 2954)):
#0  0x00007fbac701a6d6 in ppoll () at /lib64/libc.so.6
#1  0x00007fbac4444e89 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbac4446179 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbac43f8b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbac4257326 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbabeb41085 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007fbac42608ec in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbac00b7554 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fbac7024fdf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fbaa73d2700 (LWP 2904)):
#0  0x00007fbac701a6d6 in ppoll () at /lib64/libc.so.6
#1  0x00007fbac4444e89 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbac4446179 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbac43f8b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbac4257326 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbabda41f45 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007fbac42608ec in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fbac00b7554 in start_thread () at /lib64/libpthread.so.0
#8  0x00007fbac7024fdf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fbaadb08700 (LWP 2892)):
#0  0x00007fbac701a5d9 in poll () at /lib64/libc.so.6
#1  0x00007fbac5f41377 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fbac5f42f8a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fbaaec0b089 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fbac42608ec in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbac00b7554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fbac7024fdf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fbac76a2880 (LWP 2888)):
[KCrash Handler]
#6  0x00007fbac3984b71 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#7  0x00007fbac3984c34 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#8  0x00007fbac3986195 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#9  0x00007fbac3986b73 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#10 0x00007fbac6bb2f53 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#11 0x00007fbac38f5869 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#12 0x00007fbac6bb2f53 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#13 0x00007fbac3be972c in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.11
#14 0x00007fbac6bb2f53 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#15 0x00007fbac6b9f81c in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#16 0x00007fbac6bb2deb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#17 0x00007fbac3974e2a in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#18 0x00007fbac6bb2d93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#19 0x00007fbac3be95bc in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.11
#20 0x00007fbac6bb2d93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#21 0x00007fbac3be95bc in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.11
#22 0x00007fbac6bb2d93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#23 0x00007fbac3bf591b in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.11
#24 0x00007fbac6bb2d93 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#25 0x00007fbac6ba5b3e in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib64/libkwin.so.5
#26 0x00007fbac6ba2235 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib64/libkwin.so.5
#27 0x00007fba971e7822 in  () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#28 0x00007fbac6ba5110 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#29 0x00007fbac6bb2b45 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#30 0x00007fbac3be9511 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.11
#31 0x00007fbac6bb2aed in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#32 0x00007fbac3be9511 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.11
#33 0x00007fbac6bb2aed in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#34 0x00007fbac3be9511 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.11
#35 0x00007fbac6bb2aed in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#36 0x00007fbac3be9511 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.11
#37 0x00007fbac6bb2aed in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#38 0x00007fbac6ba4dbe in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib64/libkwin.so.5
#39 0x00007fba971eecd6 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#40 0x00007fbac6b96bfa in KWin::Compositor::performCompositing() () at /usr/lib64/libkwin.so.5
#41 0x00007fbac44223ab in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#42 0x00007fbac5178c11 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#43 0x00007fbac517fdf0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#44 0x00007fbac43f9d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#45 0x00007fbac4448058 in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#46 0x00007fbac44462dc in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#47 0x00007fbaaec997ad in  () at /usr/lib64/libQt5XcbQpa.so.5
#48 0x00007fbac43f8b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#49 0x00007fbac44008be in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#50 0x00007fbac72f3d2b in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#51 0x00007fbac6f4d11b in __libc_start_main () at /lib64/libc.so.6
#52 0x000055b443d497fa in _start ()

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2018-07-07 12:13:03 UTC
The backtrace is lacking of debug symbols. Could you please install debug packages and submit a new backtrace?
Comment 2 2012gdwu+k2 2018-07-15 19:24:33 UTC
Created attachment 113950 [details]
New crash information added by DrKonqi

kwin_x11 (5.13.2) using Qt 5.11.1

Debuginfo installed, I hope this report is more useful

-- Backtrace (Reduced):
#6  0x00007fe6baa06b71 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#7  0x00007fe6baa06c34 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#8  0x00007fe6baa08195 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#9  0x00007fe6baa08b73 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#10 0x00007fe6bdc34f53 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
Comment 3 2012gdwu+k2 2018-07-15 19:24:33 UTC
Created attachment 113952 [details]
New crash information added by DrKonqi

kwin_x11 (5.13.2) using Qt 5.11.1

Debuginfo installed, I hope this report is more useful

-- Backtrace (Reduced):
#6  0x00007fe6baa06b71 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#7  0x00007fe6baa06c34 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#8  0x00007fe6baa08195 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#9  0x00007fe6baa08b73 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#10 0x00007fe6bdc34f53 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
Comment 4 Vlad Zahorodnii 2018-07-15 19:30:27 UTC
The debug symbols are still missing.
Comment 5 2012gdwu+k2 2018-07-15 19:42:46 UTC
Created attachment 113955 [details]
New crash information added by DrKonqi

kwin_x11 (5.13.2) using Qt 5.11.1

Here's what I installed:

v  | kwin-debuginfo            | package | 4.11.22-15.3                     | i586   | openSUSE-Tumbleweed-Debug
i+ | kwin-debuginfo            | package | 4.11.22-15.3                     | x86_64 | openSUSE-Tumbleweed-Debug
v  | kwin5-debuginfo           | package | 5.13.2-1.1                       | i586   | openSUSE-Tumbleweed-Debug
i+ | kwin5-debuginfo           | package | 5.13.2-1.1                       | x86_64 | openSUSE-Tumbleweed-Debug
v  | kwin5-debugsource         | package | 5.13.2-1.1                       | i586   | openSUSE-Tumbleweed-Debug
i+ | kwin5-debugsource         | package | 5.13.2-1.1                       | x86_64 | openSUSE-Tumbleweed-Debug

(only had kwin-debuginfo before)

-- Backtrace (Reduced):
#6  0x00007f7756a3eb71 in KWin::ContrastEffect::uploadRegion(QVector2D*&, QRegion const&) (this=this@entry=0x5622f07951e0, map=@0x7ffc90868828: 0x7f773146a300, region=...) at /usr/include/qt5/QtCore/qrect.h:269
#7  0x00007f7756a3ec34 in KWin::ContrastEffect::uploadGeometry(KWin::GLVertexBuffer*, QRegion const&) (this=this@entry=0x5622f07951e0, vbo=vbo@entry=0x5622f06989c0, region=...) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:299
#8  0x00007f7756a40195 in KWin::ContrastEffect::doContrast(KWin::EffectWindow*, QRegion const&, QRect const&, float, QMatrix4x4 const&) (this=this@entry=0x5622f07951e0, w=w@entry=0x5622f01f1770, shape=..., screen=..., opacity=0, screenProjection=...) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:442
#9  0x00007f7756a40b73 in KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x5622f07951e0, w=w@entry=0x5622f01f1770, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:419
#10 0x00007f7759c6cf53 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x5622f07d27d0, w=w@entry=0x5622f01f1770, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.13.2-1.1.x86_64/effects.cpp:456
Comment 6 Vlad Zahorodnii 2018-07-15 19:47:35 UTC
Thanks, now there are debug symbols.

*** This bug has been marked as a duplicate of bug 396264 ***
Comment 7 Vlad Zahorodnii 2018-07-15 19:49:02 UTC
One last question: what's you GPU?
Comment 8 Vlad Zahorodnii 2018-07-15 19:52:41 UTC
s/you/your/
Comment 9 2012gdwu+k2 2018-07-15 19:54:07 UTC
Nvidia (GT 620). I'm currently using the 390.59 drivers on Linux 4.17.4
Comment 10 2012gdwu+k2 2018-07-24 18:53:59 UTC
Created attachment 114100 [details]
New crash information added by DrKonqi

kwin_x11 (5.13.3) using Qt 5.11.1

Another crash. Oh and btw, isn't this also a duplicate of Bug 372305? At least the crash report looks similar.

-- Backtrace (Reduced):
#6  0x00007f15e4d3fb71 in KWin::ContrastEffect::uploadRegion(QVector2D*&, QRegion const&) (this=this@entry=0x55e1889fe740, map=@0x7ffe4b1c9358: 0x7f15b57d9d20, region=...) at /usr/include/qt5/QtCore/qrect.h:269
#7  0x00007f15e4d3fc34 in KWin::ContrastEffect::uploadGeometry(KWin::GLVertexBuffer*, QRegion const&) (this=this@entry=0x55e1889fe740, vbo=vbo@entry=0x55e1889abc10, region=...) at /usr/src/debug/kwin5-5.13.3-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:299
#8  0x00007f15e4d41195 in KWin::ContrastEffect::doContrast(KWin::EffectWindow*, QRegion const&, QRect const&, float, QMatrix4x4 const&) (this=this@entry=0x55e1889fe740, w=w@entry=0x55e18897b610, shape=..., screen=..., opacity=0, screenProjection=...) at /usr/src/debug/kwin5-5.13.3-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:442
#9  0x00007f15e4d41b73 in KWin::ContrastEffect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x55e1889fe740, w=w@entry=0x55e18897b610, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.13.3-1.1.x86_64/effects/backgroundcontrast/contrast.cpp:419
#10 0x00007f15e7f6dff3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) (this=this@entry=0x55e188d72b50, w=w@entry=0x55e18897b610, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin5-5.13.3-1.1.x86_64/effects.cpp:456