Bug 402643 - KWin sometimes crashes after resuming from suspend
Summary: KWin sometimes crashes after resuming from suspend
Status: RESOLVED DUPLICATE of bug 399499
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-12-28 12:04 UTC by Tudor Roman
Modified: 2018-12-28 12:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tudor Roman 2018-12-28 12:04:46 UTC
Application: kwin_x11 (5.14.4)

Qt Version: 5.12.0
Frameworks Version: 5.53.0
Operating System: Linux 4.19.12-zen1-1-zen x86_64
Distribution (Platform): Archlinux Packages

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

I usually put the system in suspend when I don't use it. After resuming, KWin sometimes crashes and restarts seamlessly. The only indication that KWin crashed is the crash reporter notification.

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 0x7fa23823b840 (LWP 3551))]

Thread 4 (Thread 0x7fa21f4cc700 (LWP 3749)):
#0  0x00007fa23ebccafc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fa23f8c928c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fa23f8c92a9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fa23ebc6a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fa24144cb23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fa227fff700 (LWP 3691)):
#0  0x00007fa241441d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fa23ffed46b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fa23ffee94b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fa23ff9a58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fa23fdde5c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fa23e38ab89 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fa23fddf9cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fa23ebc6a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fa24144cb23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa236101700 (LWP 3640)):
#0  0x00007fa241441d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fa23ffed46b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fa23ffee94b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fa23ff9a58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fa23fdde5c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fa23ddf7ba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fa23fddf9cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fa23ebc6a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fa24144cb23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa23823b840 (LWP 3551)):
[KCrash Handler]
#6  0x00007fa23fb4558b in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/libkwineffects.so.11
#7  0x00007fa234035ccb in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007fa23403f223 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007fa23403f369 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007fa2411cd56c in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007fa23fb4151d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#12 0x00007fa2411cd504 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007fa23fb4151d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#14 0x00007fa2411cd504 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#15 0x00007fa23fadb266 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#16 0x00007fa2411cd504 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#17 0x00007fa23fa4861a in  () at /usr/lib/libkwin4_effect_builtins.so.1
#18 0x00007fa2411cd504 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007fa23fb4151d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#20 0x00007fa2411cd504 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007fa23fb4151d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#22 0x00007fa2411cd504 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#23 0x00007fa2411b93fd in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#24 0x00007fa2411cd395 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#25 0x00007fa21e79bbc1 in ShapeCornersEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/qt/plugins/kwin/effects/plugins/kwin4_effect_shapecorners.so
#26 0x00007fa2411cd334 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#27 0x00007fa23facbc9f in  () at /usr/lib/libkwin4_effect_builtins.so.1
#28 0x00007fa2411cd334 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#29 0x00007fa23fb413ad in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#30 0x00007fa2411cd334 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#31 0x00007fa23fb413ad in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#32 0x00007fa2411cd334 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#33 0x00007fa23fb4ecec in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#34 0x00007fa2411cd334 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#35 0x00007fa23fb4ecec in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.11
#36 0x00007fa2411cd334 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#37 0x00007fa2411bf9b3 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#38 0x00007fa2411bc057 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#39 0x00007fa234031464 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#40 0x00007fa2411bef31 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#41 0x00007fa2411cd0e7 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#42 0x00007fa23fb41302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#43 0x00007fa2411cd08e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#44 0x00007fa23fb41302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#45 0x00007fa2411cd08e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#46 0x00007fa23fb41302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#47 0x00007fa2411cd08e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#48 0x00007fa23fb41302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#49 0x00007fa2411cd08e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#50 0x00007fa23fb41302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#51 0x00007fa2411cd08e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#52 0x00007fa23fb41302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11
#53 0x00007fa2411cd08e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#54 0x00007fa2411bebcb in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#55 0x00007fa234039477 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#56 0x00007fa2411b04fe in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#57 0x00007fa23ffc6b1b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#58 0x00007fa240963e34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#59 0x00007fa24096b671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#60 0x00007fa23ff9b8f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#61 0x00007fa23fff0955 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#62 0x00007fa23ffeea9e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#63 0x00007fa237b26d4f in  () at /usr/lib/libQt5XcbQpa.so.5
#64 0x00007fa23ff9a58c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#65 0x00007fa23ffa2896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#66 0x00007fa24151eb26 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#67 0x00007fa241375223 in __libc_start_main () at /usr/lib/libc.so.6
#68 0x000055c5366ef05e in _start ()
[Inferior 1 (process 3551) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2018-12-28 12:07:03 UTC
Do you use an NVIDIA GPU?

*** This bug has been marked as a duplicate of bug 399499 ***
Comment 2 Tudor Roman 2018-12-28 12:08:02 UTC
Yes I do. Proprietary driver.
Comment 3 Vlad Zahorodnii 2018-12-28 12:08:29 UTC
Thanks.