Plasmashell 6.1 segfault on wayland usb-c docking/undocking

Hello,

I’m new to KDE communities and I’m not sure about what is the process to report / discuss bugs, so if it’s not that, let me know, I will try to correct.

I’m on archlinux and KDE6/wayland since beta release late february. Things were working mostly OK.
A week or two ago, I updated to KDE6.1 stack.

Since then, I have a crash almost each time I plug or unplug my usb-c dock. I thought it was a linux kernel pb (I had several with my T14s AMD, but AMD contributors mostly sorted them out the past two years) and most importantly, KDE is telling me it’s it that crashed with that stack trace:

#0  0x00007dbc95ca8e44 in ?? () from /usr/lib/libc.so.6
#1  0x00007dbc95c50a30 in raise () from /usr/lib/libc.so.6
#2  0x00007dbc98b50643 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF6Crash.so.6
#3  <signal handler called>
#4  0x00007dbc971a540b in QtWaylandClient::QWaylandWindow::devicePixelRatio() const () from /usr/lib/libQt6WaylandClient.so.6
#5  0x00007dbc8f1cff0c in QtWaylandClient::QWaylandEglWindow::updateSurface(bool) ()
   from /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6
#6  0x00007dbc8f1d0905 in QtWaylandClient::QWaylandGLContext::makeCurrent(QPlatformSurface*) ()
   from /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6
#7  0x00007dbc96cadc28 in QOpenGLContext::makeCurrent(QSurface*) () from /usr/lib/libQt6Gui.so.6
#8  0x00007dbc96e6f112 in ?? () from /usr/lib/libQt6Gui.so.6
#9  0x00007dbc97c18647 in ?? () from /usr/lib/libQt6Quick.so.6
#10 0x00007dbc97c19f9a in ?? () from /usr/lib/libQt6Quick.so.6
#11 0x00007dbc964c9747 in ?? () from /usr/lib/libQt6Core.so.6
#12 0x00007dbc95ca6ded in ?? () from /usr/lib/libc.so.6
#13 0x00007dbc95d2a0dc in ?? () from /usr/lib/libc.so.6

Exact version of system components (not sure which ones are important):

linux 6.9.6.arch1-1

wayland 1.23.0-1
wayland-protocols 1.36-1
wayland-utils 1.2.0-1
xorg-xwayland 24.1.0-1

kwayland 6.1.0-1
qt5-wayland 5.15.14+kde+r58-1
qt6-wayland 6.7.2-1

libplasma 6.1.0-1

Thanks in advance for any help or pointer to workaround

I don’t recall seeing a bug report about this. Please submit one at https://https://bugs.kde.org. Thanks!

1 Like

Thank you, done here: 489458 – Plasmashell 6.1 segfault on wayland usb-c docking/undocking on QtWaylandClient::QWaylandWindow::devicePixelRatio