Bug 408812 - Kwin crashes after system suspend
Summary: Kwin crashes after system suspend
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-17 06:27 UTC by Jonathan Gruber
Modified: 2019-07-17 04:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Gruber 2019-06-17 06:27:18 UTC
Application: kwin_x11 (5.16.0)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 5.1.9-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

Whenever I suspend my computer with systemctl suspend, Kwin crashes and the system becomes for about one minute very unusable (unresponsive). First the screen is completely black, when after about maybe 30 seconds the lock screen finally appears and I can enter my password. Afterwards I get the crash report for Kwin and it takes another maybe 20 seconds until KDE is responsive again and the window effects behave normally.

I'm not sure if this is rather a problem with the new lock screen oder Kwin. My graphics card is a NVIDIA GeForce GTX 970 and I'm using the proprietary nvidia driver.

Some more system info:

Arch Linux 
KDE plasma version: 5.16.0
KDE frameworks version: 5.59.0
Qt version: 5.12.3
Kernel: 5.1.9-arch1-1-ARCH

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f25abfff700 (LWP 973)):
#0  0x00007f25ce85dbac in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f25cf364e5c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f25cf364e79 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f25ce857a92 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f25d0f2acd3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f25c5355700 (LWP 910)):
#0  0x00007f25d0f201c6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f25cfa8282b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f25cfa83d0b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f25cfa304dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f25cf875239 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f25ce010059 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f25cf87663c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f25ce857a92 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f25d0f2acd3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f25c70c4700 (LWP 887)):
#0  0x00007f25d0f201c6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f25cfa8282b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f25cfa83d0b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f25cfa304dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f25cf875239 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f25cda5bba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f25cf87663c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f25ce857a92 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f25d0f2acd3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f25c8021700 (LWP 862)):
#0  0x00007f25d0f200d1 in poll () at /usr/lib/libc.so.6
#1  0x00007f25cf79a630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f25cf79c2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f25c8332b69 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f25cf87663c in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f25ce857a92 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f25d0f2acd3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f25c87da880 (LWP 861)):
[KCrash Handler]
#6  0x00007f25cf57ce99 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#7  0x00007f25cf57cf56 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#8  0x00007f25cf57edc1 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#9  0x00007f25cf57f7e2 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#10 0x00007f25d0caeaa4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007f25cf4e956a in  () at /usr/lib/libkwin4_effect_builtins.so.1
#12 0x00007f25d0caeaa4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007f25cf5e116d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#14 0x00007f25d0caeaa4 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#15 0x00007f25d0c9acad in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#16 0x00007f25d0cae935 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#17 0x00007f25cf5e0ffd in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#18 0x00007f25d0cae8d4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007f25cf5e0ffd in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#20 0x00007f25d0cae8d4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007f25cf5ea29d in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#22 0x00007f25d0cae8d4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#23 0x00007f25d0ca1a06 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#24 0x00007f25d0c9e138 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#25 0x00007f25c40f8b34 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#26 0x00007f25d0ca0ef1 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#27 0x00007f25d0cae687 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#28 0x00007f25cf5e0f52 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.12
#29 0x00007f25d0cae62e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#30 0x00007f25cf5e0f52 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.12
#31 0x00007f25d0cae62e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#32 0x00007f25cf5e0f52 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.12
#33 0x00007f25d0cae62e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#34 0x00007f25d0ca0b8b in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#35 0x00007f25c41005ba in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#36 0x00007f25d0c9208e in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#37 0x00007f25cfa5ca3b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#38 0x00007f25d03feda4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007f25d04063c1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#40 0x00007f25cfa31849 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#41 0x00007f25cfa85d15 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#42 0x00007f25cfa83e5e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#43 0x00007f25c8333f3f in  () at /usr/lib/libQt5XcbQpa.so.5
#44 0x00007f25cfa304dc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#45 0x00007f25cfa38596 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#46 0x00007f25d0ffe593 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#47 0x00007f25d0e53ce3 in __libc_start_main () at /usr/lib/libc.so.6
#48 0x0000558268c5005e in _start ()
[Inferior 1 (process 861) detached]

Reported using DrKonqi
Comment 1 Jonathan Gruber 2019-06-17 06:29:15 UTC
To clearify: the crash happens after I wake the computer from suspend by hitting enter.
Comment 2 Martin Flöser 2019-06-17 06:59:08 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace.
Comment 3 Bug Janitor Service 2019-07-02 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2019-07-17 04:33:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!