Created attachment 106282 [details] Bactrace of the crash When running with Wayland, plasmashell crashes if I try to change the action associated with mouse actions on the desktop. Steps to reproduce: 1. Log in to the Wayland session 2. Right click on desktop 3. Configure desktop > mouse actions 4. Try to change the action associated with any mouse action Observed result: Plasmashell crashes when I click on any action from the dropdown list. Expected result: The option should change without plasmashell crashing, like it does when you try the same steps in an X session.
pasting inline Thread 14 (Thread 0x7f78b5b3c700 (LWP 8645)): [KCrash Handler] #5 0x00007f79985d12d0 in wl_proxy_create_wrapper () at /usr/lib/libwayland-client.so.0 #6 0x00007f78f6fbe3f1 in () at /usr/lib/libEGL_mesa.so.0 #7 0x00007f78f6facdde in () at /usr/lib/libEGL_mesa.so.0 #8 0x00007f78f75f7f4d in () at /usr/lib/qt/plugins/wayland-graphics-integration-client/libwayland-egl.so #9 0x00007f78f75f64c5 in () at /usr/lib/qt/plugins/wayland-graphics-integration-client/libwayland-egl.so #10 0x00007f799a570f56 in QOpenGLContext::makeCurrent(QSurface*) () at /usr/lib/libQt5Gui.so.5 #11 0x00007f799d901df4 in () at /usr/lib/libQt5Quick.so.5 #12 0x00007f799d9096cb in () at /usr/lib/libQt5Quick.so.5 #13 0x00007f799d908967 in () at /usr/lib/libQt5Quick.so.5 #14 0x00007f799d908d3a in () at /usr/lib/libQt5Quick.so.5 #15 0x00007f7999b66cbd in () at /usr/lib/libQt5Core.so.5 #16 0x00007f7998d2f297 in start_thread () at /usr/lib/libpthread.so.0 #17 0x00007f799947b25f in clone () at /usr/lib/libc.so.6
*** This bug has been marked as a duplicate of bug 371246 ***
*** Bug 381395 has been marked as a duplicate of this bug. ***
Confirming this bug in: KDE neon dev git unstable 20170813 KDE Frameworks 5.37.0 Qt 5.9.1 (built against 5.9.1)
*** Bug 383573 has been marked as a duplicate of this bug. ***
*** Bug 383482 has been marked as a duplicate of this bug. ***
*** Bug 383507 has been marked as a duplicate of this bug. ***
*** Bug 382004 has been marked as a duplicate of this bug. ***
Happens reliably when opening the configuration dialog of systemsettings5 from git master.
*** Bug 383881 has been marked as a duplicate of this bug. ***
It happens here too, and it seems to be the same bug as the one I reported : https://bugs.kde.org/show_bug.cgi?id=381127
I can add that it happens on a dual monitor configuration. If I try to change the action associated with mouse actions on one monitor, Plasma crashes but it relaunches itself fine. If I try to do the same thing on the other monitor, I get kicked back to SDDM.
*** Bug 383921 has been marked as a duplicate of this bug. ***
*** Bug 384074 has been marked as a duplicate of this bug. ***
Backtrace from bug 384074 has line number information. Looks like a QtWayland or libEGL bug.
Reliably happens after closing the panel controller. The ComboBox in Containment Actions only crashes in a multi screen setup, however.
*** Bug 384680 has been marked as a duplicate of this bug. ***
*** Bug 384636 has been marked as a duplicate of this bug. ***
Created attachment 107847 [details] Workaround patch for qtwayland 5.9.1 I made and attached a patch against qtwayland 5.9.1 that works around the issue. I'm not familiar enough with qtwayland code to tell where the underlying issue actually is.
*** Bug 384692 has been marked as a duplicate of this bug. ***
*** Bug 384719 has been marked as a duplicate of this bug. ***
*** Bug 384728 has been marked as a duplicate of this bug. ***
*** Bug 385042 has been marked as a duplicate of this bug. ***
*** Bug 385121 has been marked as a duplicate of this bug. ***
*** Bug 385271 has been marked as a duplicate of this bug. ***
*** Bug 385560 has been marked as a duplicate of this bug. ***
*** Bug 385652 has been marked as a duplicate of this bug. ***
*** Bug 385681 has been marked as a duplicate of this bug. ***
*** Bug 385664 has been marked as a duplicate of this bug. ***
*** Bug 385738 has been marked as a duplicate of this bug. ***
*** Bug 385741 has been marked as a duplicate of this bug. ***
I just tried Fabian's patch on Qt 5.9.3 and it solved the problems I had with combobox. Is this patch or something similar already upstreamed?
I don't think so. Might be worth a shot just uploading it to codereview to gather some comments from people that know the codebase.
*** Bug 385927 has been marked as a duplicate of this bug. ***
*** Bug 385826 has been marked as a duplicate of this bug. ***
*** Bug 385805 has been marked as a duplicate of this bug. ***
*** Bug 385811 has been marked as a duplicate of this bug. ***
Created attachment 108506 [details] New crash information added by DrKonqi plasmashell (5.11.1) using Qt 5.9.2 this time happened when changing date format of the clock -- Backtrace (Reduced): #5 wl_proxy_create_wrapper (proxy=0x0) at /var/tmp/portage/dev-libs/wayland-1.14.0/work/wayland-1.14.0/src/wayland-client.c:2038 #6 0x00007fcd015851d1 in dri2_wl_create_window_surface () from /usr/lib64/libEGL.so.1 #7 0x00007fcd0156ca07 in _eglCreateWindowSurfaceCommon () from /usr/lib64/libEGL.so.1 #8 0x00007fcd0180ff02 in QtWaylandClient::QWaylandEglWindow::updateSurface(bool) () from /usr/lib64/qt5/plugins/wayland-graphics-integration-client/libwayland-egl.so #9 0x00007fcd0180df35 in QtWaylandClient::QWaylandGLContext::makeCurrent(QPlatformSurface*) () from /usr/lib64/qt5/plugins/wayland-graphics-integration-client/libwayland-egl.so
*** Bug 386091 has been marked as a duplicate of this bug. ***
*** Bug 386259 has been marked as a duplicate of this bug. ***
*** Bug 386303 has been marked as a duplicate of this bug. ***
*** Bug 386280 has been marked as a duplicate of this bug. ***
Created attachment 108673 [details] Alternative patch Similar to Fabian's patch, yet different. The bug is with QWaylandEglWindow - The window will sometimes delete the surface (invisible or size 0x0) - on window dtor will make the GL context current, but for deleting things not rendering, so we don't need a context - when we make it current, QWaylandGLContext::makeCurrent realises the window has no surface so explicilty tells it recreate it - this doesn't make sense when we're deleting the window
*** Bug 386446 has been marked as a duplicate of this bug. ***
*** Bug 386534 has been marked as a duplicate of this bug. ***
*** Bug 386557 has been marked as a duplicate of this bug. ***
*** Bug 386583 has been marked as a duplicate of this bug. ***
*** Bug 386639 has been marked as a duplicate of this bug. ***
*** Bug 386626 has been marked as a duplicate of this bug. ***
Submitted as https://codereview.qt-project.org/#/c/210552/
*** Bug 386892 has been marked as a duplicate of this bug. ***
*** Bug 386994 has been marked as a duplicate of this bug. ***
*** Bug 387620 has been marked as a duplicate of this bug. ***
*** Bug 387964 has been marked as a duplicate of this bug. ***
*** Bug 387875 has been marked as a duplicate of this bug. ***
*** Bug 387465 has been marked as a duplicate of this bug. ***
*** Bug 387419 has been marked as a duplicate of this bug. ***
*** Bug 387287 has been marked as a duplicate of this bug. ***
*** Bug 386661 has been marked as a duplicate of this bug. ***
*** Bug 387760 has been marked as a duplicate of this bug. ***
*** Bug 387986 has been marked as a duplicate of this bug. ***
*** Bug 387274 has been marked as a duplicate of this bug. ***
*** Bug 388376 has been marked as a duplicate of this bug. ***
*** Bug 385625 has been marked as a duplicate of this bug. ***
*** Bug 388344 has been marked as a duplicate of this bug. ***
*** Bug 387826 has been marked as a duplicate of this bug. ***
*** Bug 388474 has been marked as a duplicate of this bug. ***
*** Bug 388970 has been marked as a duplicate of this bug. ***
*** Bug 388992 has been marked as a duplicate of this bug. ***
*** Bug 388821 has been marked as a duplicate of this bug. ***
*** Bug 388783 has been marked as a duplicate of this bug. ***
This is now merged upstream and can be considered closed.
(In reply to David Edmundson from comment #73) > This is now merged upstream and can be considered closed. Was the fix already merged into KDE neon User LTS?
I assume it will be backported by the Neon Team for 5.12 LTS release if Qt isn't fast enough with releasing a bugfixed Qt 5.9.
I had a Qt5wayland update today on Archlinux and it seems to have solved the problem.
Antonio backported David's patch for Arch already: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/qt5-wayland#n17
I can resize now the Plasma panel without a crash on Arch Linux with the latest qt5-wayland package. Thank you very much for fixing this annoying Qt bug!
*** Bug 389126 has been marked as a duplicate of this bug. ***
*** Bug 389063 has been marked as a duplicate of this bug. ***
*** Bug 389050 has been marked as a duplicate of this bug. ***
*** Bug 389149 has been marked as a duplicate of this bug. ***
*** Bug 389314 has been marked as a duplicate of this bug. ***
Created attachment 110369 [details] New crash information added by DrKonqi plasmashell (5.12.0) using Qt 5.9.3 - What I was doing when the application crashed: I use plasma 5.12 wayland, the bug is wayland specific and is present on my desktop and laptop. Desktop UI completely crashes when moving the mouse from any collapsable applications submenu (also recent Applications and Recent documents) to the favourites icons in the menu or moving from menu to the desktop. Since this happens on two machines, one intel CPU with AMD GPU and a laptop with intel cpu&gpu. I do use latest stable padoka MESA drivers but since the bug is present on AMD and intel gpu's I doubt that it is caused by padoka. -- Backtrace (Reduced): #6 wl_proxy_create_wrapper (proxy=0x0) at ../src/wayland-client.c:2038 #7 0x00007fc95a11ecc6 in dri2_wl_create_window_surface (drv=<optimized out>, disp=0x11599e0, conf=0x11b2ff0, native_window=0x7fc88c0036a0, attrib_list=<optimized out>) at ../../../../src/egl/drivers/dri2/platform_wayland.c:121 #8 0x00007fc95a10b9a5 in _eglCreateWindowSurfaceCommon (disp=0x11599e0, config=<optimized out>, native_window=0x7fc88c0036a0, attrib_list=0x0) at ../../../../src/egl/main/eglapi.c:903 #9 0x00007fc95a58d068 in QtWaylandClient::QWaylandEglWindow::updateSurface (this=this@entry=0x15fd7f0, create=create@entry=true) at ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:141 #10 0x00007fc95a58b64d in QtWaylandClient::QWaylandGLContext::makeCurrent (this=0x9220500, surface=<optimized out>) at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:410
(In reply to Roman Gilg from comment #75) > I assume it will be backported by the Neon Team for 5.12 LTS release if Qt > isn't fast enough with releasing a bugfixed Qt 5.9. Seems not to have happened because plasma just crashed when I closed the sliding settings popup from the panel. I'm running plasma 5.12 on KDE Neon.
Neon doesn't have my patch backported.
*** Bug 389985 has been marked as a duplicate of this bug. ***
Patch should have been backported to Neon now as well. Sorry for the delay.
*** Bug 389841 has been marked as a duplicate of this bug. ***
*** Bug 389979 has been marked as a duplicate of this bug. ***
*** Bug 390535 has been marked as a duplicate of this bug. ***
*** Bug 390807 has been marked as a duplicate of this bug. ***
*** Bug 391443 has been marked as a duplicate of this bug. ***
*** Bug 391852 has been marked as a duplicate of this bug. ***
*** Bug 390958 has been marked as a duplicate of this bug. ***
*** Bug 392634 has been marked as a duplicate of this bug. ***
*** Bug 392921 has been marked as a duplicate of this bug. ***
*** Bug 391672 has been marked as a duplicate of this bug. ***