Summary: | Kwin: Freeze/segfault when waking up an idle system on Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Rainer Finke <rainer> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | miku84, subdiff |
Priority: | NOR | ||
Version: | 5.11.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | 2018-06-03_kwin_crash |
Description
Rainer Finke
2017-10-14 14:13:36 UTC
Can you try connecting with Ash, gdb attach to KWin and wait for the crash? If we get the backtrace it should be easy to fix. god damn auto correction: of course I meant "ssh" and not Ash 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. Both crashes look strange. The first would be a bug in Qt, the second in Radeon. Short update. I only get the segfault, if on my desktop with a radeon GPU the backlight will be adjusted to 0. The following line is shown in these cases right before the kwin crash in journalctl -f: org_kde_powerdevil[995]: powerdevil: Kbd backlight brightness value: 0 I can just disable in the energy settings the screen energy saving. Then the lockscreen will be always visible and I don't get the segfault. So at least there is a workaround for now. Maybe this is a radeon driver problem or powerdevil cannot wake up the screen/GPU on Wayland like it does on X11. > Maybe this is a radeon driver problem or powerdevil cannot wake up the
> screen/GPU on Wayland like it does on X11.
KWin is responsible for restoring the brightness. So it would be a bug in KWin
Created attachment 113052 [details]
2018-06-03_kwin_crash
If I activate in the energy settings the "Screen Energy Saving", Plasma 5.13 beta will still crash on Wayland once turning on the display after saving energy. From my point of view, once the display has been turned off and I press again a keyboard key to turn it on again, Plasma tries to connect to it immediately, but my 4K display (Samsung UE28D590D) is quite slow... too slow for Plasma and then kwin_wayland is segfaulting. Please see in the log below, I have attached a more detailed one to this bug. $ journalctl -f -- Logs begin at Tue 2018-02-20 18:01:22 CET. -- Jun 03 22:06:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:06:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:07:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:07:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:08:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: Can't contact ck Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: We are now into activity "2c18661e-54f5-404e-9fc2-2942df87e639" Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: () () Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: () () Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: No batteries found, loading AC Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: Activity is not forcing a profile Jun 03 22:08:38 pc1 org_kde_powerdevil[1350]: powerdevil: The profile "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, or to a configuration problem, or simply the action is not supported Jun 03 22:08:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:09:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:09:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:10:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:10:42 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:10:53 pc1 org_kde_powerdevil[1350]: powerdevil: Kbd backlight brightness value: 0 Jun 03 22:11:12 pc1 plasmashell[1312]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 03 22:11:18 pc1 kdeinit5[1267]: kscreen: Backend change! KScreen::Config( ) Jun 03 22:11:18 pc1 kdeinit5[1267]: kscreen: Correcting output positions by: QPoint(2147483647,2147483647) Jun 03 22:11:18 pc1 org_kde_powerdevil[1350]: kscreen: Backend change! KScreen::Config( ) Jun 03 22:11:18 pc1 plasmashell[1312]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Jun 03 22:11:18 pc1 plasmashell[1312]: requesting unexisting screen -1 Jun 03 22:11:18 pc1 plasmashell[1312]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:349:34: Unable to assign [undefined] to bool Jun 03 22:11:18 pc1 plasmashell[1312]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:291:31: Unable to assign [undefined] to QStringList Jun 03 22:11:18 pc1 kernel: kwin_wayland[1201]: segfault at 558d84dfe150 ip 00007f9ffd349c72 sp 00007ffcb096caa0 error 4 in KWinWaylandDrmBackend.so[7f9ffd322000+38000] Can you somehow get a coredump of KWin(!) for that crash? Hi Roman, thanks for getting back to me. I've compiled Kwin & KWayland from git to get debug symbols on Arch Linux, this is the output I got so far, don't know how helpful it is right now. Probably debug symbols for Mesa would be required now? journalctl -f Jun 04 23:22:11 pc1 org_kde_powerdevil[4401]: powerdevil: Kbd backlight brightness value: 0 Jun 04 23:22:41 pc1 plasmashell[4318]: kf5idletime_kwayland: This plugin does not support polling idle time Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen: Backend change! KScreen::Config( ) Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen: Correcting output positions by: QPoint(2147483647,2147483647) Jun 04 23:22:41 pc1 org_kde_powerdevil[4401]: kscreen: Backend change! KScreen::Config( ) Jun 04 23:22:41 pc1 plasmashell[4318]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Jun 04 23:22:41 pc1 plasmashell[4318]: trying to show an empty dialog Jun 04 23:22:41 pc1 plasmashell[4318]: requesting unexisting screen -1 Jun 04 23:22:41 pc1 plasmashell[4318]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:291:31: Unable to assign [undefined] to QStringList Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen: canBeAppled: There are no enabled screens, at least one required Jun 04 23:22:41 pc1 kdeinit5[4287]: kscreen.kded: Config does not have at least one screen enabled, WILL NOT save this config, this is not what user wants. Jun 04 23:22:42 pc1 kdeinit5[4275]: Empty filename passed to function Jun 04 23:23:41 pc1 baloo_file[4314]: QSocketNotifier: Invalid socket 5 and type 'Read', disabling... Jun 04 23:23:41 pc1 baloo_file[4314]: QSocketNotifier: Invalid socket 10 and type 'Read', disabling... Jun 04 23:23:41 pc1 kdeinit5[4287]: Service "org.kde.StatusNotifierHost-4318" unregistered Jun 04 23:23:41 pc1 kdeinit5[4287]: Service ":1.45" unregistered Jun 04 23:23:42 pc1 systemd[1]: Created slice system-systemd\x2dcoredump.slice. Jun 04 23:23:42 pc1 systemd[1]: Started Process Core Dump (PID 4919/UID 0). And the output from gdb: (gdb) continue Continuing. Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault. 0x000055e800000001 in ?? () (gdb) bt #0 0x000055e800000001 in () #1 0x00007f3a40e93ece in () at /usr/lib/dri/radeonsi_dri.so #2 0x00007f3a40e8f554 in () at /usr/lib/dri/radeonsi_dri.so #3 0x00007f3a40ce1fda in () at /usr/lib/dri/radeonsi_dri.so #4 0x00007f3a40ce27f0 in () at /usr/lib/dri/radeonsi_dri.so #5 0x00007f3a40ca015f in () at /usr/lib/dri/radeonsi_dri.so #6 0x00007f3a40cbdc08 in () at /usr/lib/dri/radeonsi_dri.so #7 0x00007f3a40c81ed2 in () at /usr/lib/dri/radeonsi_dri.so #8 0x00007f3a40c82668 in () at /usr/lib/dri/radeonsi_dri.so #9 0x00007f3a5d4827a8 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) (this=this@entry=0x55e83c261fb0, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at /usr/src/debug/kwin/libkwineffects/kwinglutils.cpp:2153 #10 0x00007f3a5d482851 in KWin::GLVertexBuffer::render(unsigned int) (this=this@entry=0x55e83c261fb0, primitiveMode=primitiveMode@entry=4) at /usr/include/qt/QtCore/qrect.h:184 #11 0x00007f3a482c5189 in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) (this=0x55e83bffdb20, vertices=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:1075 #12 0x00007f3a482c91c6 in KWin::SceneOpenGL::paintBackground(QRegion) (this=this@entry=0x55e83bffdb20, region=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:784 #13 0x00007f3a6438b2a1 in KWin::Scene::paintSimpleScreen(int, QRegion) (this=this@entry=0x55e83bffdb20, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kwin/scene.cpp:365 #14 0x00007f3a482c50d4 in KWin::SceneOpenGL2::paintSimpleScreen(int, QRegion) (this=this@entry=0x55e83bffdb20, mask=mask@entry=8, region=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:1053 #15 0x00007f3a6438e611 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83bffdb20, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/scene.cpp:201 #16 0x00007f3a6439db07 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/effects.cpp:379 #17 0x00007f3a63ddf042 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83c75e250, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/libkwineffects/kwineffects.cpp:583 #18 0x00007f3a6439daae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/effects.cpp:376 #19 0x00007f3a63ddf042 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cd7b110, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/libkwineffects/kwineffects.cpp:583 #20 0x00007f3a6439daae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/effects.cpp:376 #21 0x00007f3a63ddf042 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83c9b1040, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kwin/libkwineffects/kwineffects.cpp:583 #22 0x00007f3a6439daae in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) (this=this@entry=0x55e83cb771e0, mask=8, region=..., data=...) at /usr/src/debug/kwin/effects.cpp:376 #23 0x00007f3a6438e2bb in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) (this=this@entry=0x55e83bffdb20, mask=mask@entry=0x7ffe1124b3d4, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe1124b3e8, validRegion=validRegion@entry=0x7ffe1124b3f0, projection=..., outputGeometry=...) at /usr/src/debug/kwin/scene.cpp:151 #24 0x00007f3a482c9ce9 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) (this=this@entry=0x55e83bffdb20, damage=..., toplevels=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.h:122 #25 0x00007f3a6437e3ff in KWin::Compositor::performCompositing() (this=0x55e83bf9ee00) at /usr/src/debug/kwin/composite.cpp:745 #26 0x00007f3a6202729b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #27 0x00007f3a625e1984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #28 0x00007f3a625e925b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #29 0x00007f3a61ffcbc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #30 0x00007f3a6204f21a in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #31 0x00007f3a6204d35e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #32 0x00007f3a4bf4629e in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so #33 0x00007f3a61ffb85c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #34 0x00007f3a62003b56 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #35 0x000055e83b9fc14e in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/main_wayland.cpp:831 Crash in Radeon driver. Pretty much in the first place where we rendering to the screen. Best way forward would be to get the mesa debug symbols and report the crash upstream. *** This bug has been marked as a duplicate of bug 399564 *** Hi, I have the same with ATI r600 free driver. Is there any bug or workaround in mesa for it? This is a blocker for me in wayland. Thanks. |