Bug 405427 - KWin crashes after waking from suspension
Summary: KWin crashes after waking from suspension
Status: RESOLVED DUPLICATE of bug 399499
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.13.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-03-13 11:37 UTC by Emanuel Angelo
Modified: 2019-03-13 14:55 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 Emanuel Angelo 2019-03-13 11:37:39 UTC
Application: kwin_x11 (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.18.0-16-generic x86_64
Distribution: Ubuntu 18.10

-- Information about the crash:
- What I was doing when the application crashed:
I woke up my laptop from suspension by opening the lid.

- Unusual behavior I noticed:
After having the laptop suspended for several hours, when I wake it up it usually presents an error message. Sometimes it messes up the desktop's icons' titles and/or the windows' titlebar.

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 0x7f332a081840 (LWP 10383))]

Thread 5 (Thread 0x7f3307fff700 (LWP 10574)):
#0  0x00007f3331e4d2eb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f3332c2afb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f3331e4d2eb in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f3332c2af68, cond=0x7f3332c2af90) at pthread_cond_wait.c:502
#2  0x00007f3331e4d2eb in __pthread_cond_wait (cond=0x7f3332c2af90, mutex=0x7f3332c2af68) at pthread_cond_wait.c:655
#3  0x00007f3332b33e2a in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f3332b33e49 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f3331e47164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f3334678def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3322c42700 (LWP 10485)):
#0  0x00007f333466c7d6 in __GI_ppoll (fds=0x7f3318000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f333320d141 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f333320e5b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f33331be16b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f333300d0b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f33316781f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f3333016c87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3331e47164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f3334678def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3323fff700 (LWP 10408)):
#0  0x00007f333466c7d6 in __GI_ppoll (fds=0x7f331c00b878, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f333320d141 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f333320e5b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f33331be16b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f333300d0b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f333115c545 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f3333016c87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3331e47164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f3334678def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f33294ca700 (LWP 10403)):
#0  0x00007f333466c6d9 in __GI___poll (fds=0x7f33294c9c78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3334171917 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f333417353a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f33299ac159 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f3333016c87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3331e47164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f3334678def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f332a081840 (LWP 10383)):
[KCrash Handler]
#6  0x00007f3332da9b0b in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#7  0x00007f3320fdcf42 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007f3320fe58b9 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007f3320fe59e7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007f33343e41c3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f3332da5d6c in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#12 0x00007f33343e4163 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f3332cb1d29 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#14 0x00007f33343e4163 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f33343d08cc in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f33343e3ffb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f3332d3136a in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#18 0x00007f33343e3fa3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007f3332da5bfc in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#20 0x00007f33343e3fa3 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#21 0x00007f33343d6cae in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#22 0x00007f33343d345c in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#23 0x00007f3320fd87d2 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#24 0x00007f33343d6280 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#25 0x00007f33343e3d55 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#26 0x00007f3332da5b51 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#27 0x00007f33343e3cfd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#28 0x00007f3332da5b51 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#29 0x00007f33343e3cfd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#30 0x00007f33343d5f2e 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
#31 0x00007f3320fdfce6 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#32 0x00007f33343c7caa in KWin::Compositor::performCompositing() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#33 0x00007f33331e8f4b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f3333b804a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f3333b87ae0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f33331bf499 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f3333210558 in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f333320e70c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f3329a3e0ed in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#40 0x00007f33331be16b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f33331c62e2 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f333475247b in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#43 0x00007f333458209b in __libc_start_main (main=0x5589c8f5f050, argc=1, argv=0x7ffe82bee5d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe82bee5c8) at ../csu/libc-start.c:308
#44 0x00005589c8f5f08a in _start ()
[Inferior 1 (process 10383) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-03-13 14:55:32 UTC

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