https://bugs.kde.org/show_bug.cgi?id=385743
--- Comment #3 from Rainer Finke <m...@rainer-finke.de> --- I attached gdb to kwin and got new details. Basically if my system is idle there is one point where kwin will segfault (maybe when turning off the screen), no user interaction required. When trying to wake up my system, it doesn't react anymore. [rainer@gd1 ~]$ sudo echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope [sudo] Passwort für rainer: 0 [rainer@gd1 ~]$ sudo gdb --pid `pidof kwin_wayland` 2>&1 | tee kwin.gdb GNU gdb (GDB) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 803 [New LWP 808] [New LWP 809] [New LWP 810] [New LWP 811] [New LWP 812] [New LWP 813] [New LWP 814] [New LWP 815] [New LWP 816] [New LWP 817] [New LWP 818] [New LWP 853] [New LWP 856] [New LWP 857] [New LWP 858] [New LWP 860] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007f9243634e46 in ppoll () from /usr/lib/libc.so.6 (gdb) continue Continuing. [New Thread 0x7f91de7d5700 (LWP 2037)] [New Thread 0x7f914a01b700 (LWP 2039)] [New Thread 0x7f91f3fff700 (LWP 2041)] [New Thread 0x7f9141265700 (LWP 2042)] [Thread 0x7f9141265700 (LWP 2042) exited] [Thread 0x7f914a01b700 (LWP 2039) exited] [Thread 0x7f91f3fff700 (LWP 2041) exited] [Thread 0x7f91de7d5700 (LWP 2037) exited] Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault. 0x00007f923d24d6e0 in QRegion::subtracted(QRegion const&) const () from /usr/lib/libQt5Gui.so.5 (gdb) bt #0 0x00007f923d24d6e0 in QRegion::subtracted(QRegion const&) const () at /usr/lib/libQt5Gui.so.5 #1 0x00007f923d24dc9e in QRegion::operator-(QRegion const&) const () at /usr/lib/libQt5Gui.so.5 #2 0x00007f9245dffef2 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5 #3 0x00007f9245e090f4 in () at /usr/lib/libkwin.so.5 #4 0x00007f9245e03dc8 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #5 0x00007f9245e24a97 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #6 0x00007f9245a4b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11 #7 0x00007f9245e24a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #8 0x00007f9245a4b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11 #9 0x00007f9245e24a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #10 0x00007f9245e03aab in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5 #11 0x00007f9245e0dc3a in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/libkwin.so.5 #12 0x00007f9245df3b1c in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5 #13 0x00007f924417caab in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #14 0x00007f9244705c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #15 0x00007f924470d666 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #16 0x00007f924414b880 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #17 0x00007f92441a7178 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #18 0x00007f92441a52b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #19 0x00007f922e36bade in () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so #20 0x00007f9244149ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #21 0x00007f92441531b8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #22 0x0000563318bdd2c4 in () #23 0x00007f9243569f6a in __libc_start_main () at /usr/lib/libc.so.6 #24 0x0000563318bdd6da in _start () (gdb) But his result was quite strange as it happened out of nothing. During the next try I played some music to at least hear if the system is still working or not. Strange enough, this time I got other information, now it was related to libgbm. [rainer@gd1 ~]$ sudo gdb --pid `pidof kwin_wayland` 2>&1 | tee kwin.gdb [sudo] Passwort für rainer: GNU gdb (GDB) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 799 [New LWP 800] [New LWP 801] [New LWP 802] [New LWP 803] [New LWP 804] [New LWP 805] [New LWP 806] [New LWP 807] [New LWP 808] [New LWP 809] [New LWP 810] [New LWP 847] [New LWP 848] [New LWP 849] [New LWP 850] [New LWP 852] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007f9c3bf44e46 in ppoll () from /usr/lib/libc.so.6 (gdb) continue Continuing. [New Thread 0x7f9b427ab700 (LWP 2698)] [New Thread 0x7f9be7fff700 (LWP 2699)] [New Thread 0x7f9bd6df7700 (LWP 2700)] [New Thread 0x7f9b39ceb700 (LWP 2701)] [Thread 0x7f9be7fff700 (LWP 2699) exited] [Thread 0x7f9b39ceb700 (LWP 2701) exited] [Thread 0x7f9b427ab700 (LWP 2698) exited] [Thread 0x7f9bd6df7700 (LWP 2700) exited] Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault. 0x00007f9c2357d203 in ?? () from /usr/lib/libgbm.so.1 (gdb) bt #0 0x00007f9c2357d203 in () at /usr/lib/libgbm.so.1 #1 0x00007f9c11502816 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #2 0x00007f9c114fdccc in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #3 0x00007f9c1139f2c0 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #4 0x00007f9c113a0bbb in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #5 0x00007f9c1135eff6 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #6 0x00007f9c1137d074 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #7 0x00007f9c113411bb in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #8 0x00007f9c113414b8 in () at /usr/lib/xorg/modules/dri/radeonsi_dri.so #9 0x00007f9c37ef9198 in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () at /usr/lib/libkwinglutils.so.11 #10 0x00007f9c37ef9528 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () at /usr/lib/libkwinglutils.so.11 #11 0x00007f9c37ef95d1 in KWin::GLVertexBuffer::render(unsigned int) () at /usr/lib/libkwinglutils.so.11 #12 0x00007f9c3e7191a9 in () at /usr/lib/libkwin.so.5 #13 0x00007f9c3e71cb1c in KWin::SceneOpenGL::paintBackground(QRegion) () at /usr/lib/libkwin.so.5 #14 0x00007f9c3e710929 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5 #15 0x00007f9c3e7190f4 in () at /usr/lib/libkwin.so.5 #16 0x00007f9c3e713dc8 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #17 0x00007f9c3e734a97 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #18 0x00007f9c3e35b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11 #19 0x00007f9c3e734a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #20 0x00007f9c3e35b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11 #21 0x00007f9c3e734a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #22 0x00007f9c3e35b3e2 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.11 #23 0x00007f9c3e734a3e in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5 #24 0x00007f9c3e713aab in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5 #25 0x00007f9c3e71dc3a in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/libkwin.so.5 #26 0x00007f9c3e703b1c in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5 #27 0x00007f9c3ca8caab in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #28 0x00007f9c3d015c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #29 0x00007f9c3d01d666 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #30 0x00007f9c3ca5b880 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #31 0x00007f9c3cab7178 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #32 0x00007f9c3cab52b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #33 0x00007f9c26c7bade in () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so #34 0x00007f9c3ca59ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #35 0x00007f9c3ca631b8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #36 0x0000555f4399c2c4 in () #37 0x00007f9c3be79f6a in __libc_start_main () at /usr/lib/libc.so.6 #38 0x0000555f4399c6da in _start () (gdb) Looking at the output it seems unrelated to me, but maybe it is helpful to others. If I should run another command, please let me know. I want to test again just to understand this better. -- You are receiving this mail because: You are watching all bug changes.