Bug 485632

Summary: Plasmashell Wayland KVM Issue
Product: [Plasma] plasmashell Reporter: Jonah Jones <jc40477>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jonah Jones 2024-04-16 13:02:40 UTC
Application: plasmashell (6.0.3)

Qt Version: 6.7.0
Frameworks Version: 6.1.0
Operating System: Linux 6.8.5-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.0.3 [CoredumpBackend]

-- Information about the crash:
I use a KVM. Plasmashell doesn't seem to detect the display when I press the button to change to the Linux, unless I switch to another TTY (Ctrl + Alt + F2) and then switch back (Ctrl + Alt + F1). This time Plasmashell crashed when I switched back to the Linux PC.

The crash can be reproduced sometimes.

-- Backtrace:
Application: plasmashell (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
Downloading separate debug info for /usr/bin/plasmashell...
[New LWP 16241]
[New LWP 16245]
[New LWP 16246]
[New LWP 16244]
Downloading separate debug info for /usr/lib/libPlasmaQuick.so.6...
Downloading separate debug info for /usr/lib/libKF6DBusAddons.so.6...
Downloading separate debug info for /usr/lib/libKF6XmlGui.so.6...
Downloading separate debug info for /usr/lib/libKWaylandClient.so.6...
Downloading separate debug info for /usr/lib/libKF6StatusNotifierItem.so.6...
Downloading separate debug info for /usr/lib/libkworkspace6.so.6...
Downloading separate debug info for /usr/lib/libwayland-client.so.0...
Downloading separate debug info for /usr/lib/libLayerShellQtInterface.so.6...
Downloading separate debug info for /usr/lib/libKF6UserFeedbackCore.so.6...
Downloading separate debug info for /usr/lib/libxcb.so.1...
Downloading separate debug info for /usr/lib/libKF6Crash.so.6...
Downloading separate debug info for /usr/lib/libKF6Solid.so.6...
Downloading separate debug info for /usr/lib/libPlasma.so.6...
Downloading separate debug info for /usr/lib/libKF6WindowSystem.so.6...
Downloading separate debug info for /usr/lib/libKF6Svg.so.6...
Downloading separate debug info for /usr/lib/libPlasmaActivities.so.6...
Downloading separate debug info for /usr/lib/libKF6GlobalAccel.so.6...
Downloading separate debug info for /usr/lib/libQt6Widgets.so.6...
Downloading separate debug info for /usr/lib/libKF6ConfigQml.so.6...
Downloading separate debug info for /usr/lib/libQt6Quick.so.6...
Downloading separate debug info for /usr/lib/libQt6Qml.so.6...
Downloading separate debug info for /usr/lib/libKF6ConfigGui.so.6...
Downloading separate debug info for /usr/lib/libQt6WaylandClient.so.6...
Downloading separate debug info for /usr/lib/libKF6Package.so.6...
Downloading separate debug info for /usr/lib/libKF6I18n.so.6...
Downloading separate debug info for /usr/lib/libKF6Service.so.6...
Downloading separate debug info for /usr/lib/libKF6ConfigCore.so.6...
Downloading separate debug info for /usr/lib/libKF6CoreAddons.so.6...
Downloading separate debug info for /usr/lib/libQt6DBus.so.6...
Downloading separate debug info for /usr/lib/libQt6Gui.so.6...
Downloading separate debug info for /usr/lib/libQt6Core.so.6...
Downloading separate debug info for /usr/lib/libc.so.6...
Downloading separate debug info for /usr/lib/libKF6KIOWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6KCMUtilsQuick.so.6...
Downloading separate debug info for /usr/lib/libxcb-shape.so.0...
Downloading separate debug info for /usr/lib/libKF6KIOCore.so.6...
Downloading separate debug info for /usr/lib/libKF6Notifications.so.6...
Downloading separate debug info for /usr/lib/libKF6WidgetsAddons.so.6...
Downloading separate debug info for /usr/lib/libm.so.6...
Downloading separate debug info for /usr/lib/libQt6Xml.so.6...
Downloading separate debug info for /usr/lib/libQt6Network.so.6...
Downloading separate debug info for /usr/lib/libQt6PrintSupport.so.6...
Downloading separate debug info for /usr/lib/libKF6ItemViews.so.6...
Downloading separate debug info for /usr/lib/libKF6IconWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6ConfigWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6IconThemes.so.6...
Downloading separate debug info for /usr/lib/libKF6ColorScheme.so.6...
Downloading separate debug info for /usr/lib/libKF6GuiAddons.so.6...
Downloading separate debug info for /usr/lib/libXau.so.6...
Downloading separate debug info for /usr/lib/libxcb-randr.so.0...
Downloading separate debug info for /usr/lib/libffi.so.8...
Downloading separate debug info for /usr/lib/libXdmcp.so.6...
Downloading separate debug info for /usr/lib/libX11.so.6...
Downloading separate debug info for /usr/lib/libudev.so.1...
Downloading separate debug info for /usr/lib/libmount.so.1...
Downloading separate debug info for /usr/lib/libimobiledevice-1.0.so.6...
Downloading separate debug info for /usr/lib/libplist-2.0.so.4...
Downloading separate debug info for /usr/lib/libxcb-res.so.0...
Downloading separate debug info for /usr/lib/libXfixes.so.3...
Downloading separate debug info for /usr/lib/libxcb-keysyms.so.1...
Downloading separate debug info for /usr/lib/libQt6Svg.so.6...
Downloading separate debug info for /usr/lib/libKF6Archive.so.6...
Downloading separate debug info for /usr/lib/libQt6QmlModels.so.6...
Downloading separate debug info for /usr/lib/libQt6OpenGL.so.6...
Downloading separate debug info for /lib64/ld-linux-x86-64.so.2...
Downloading separate debug info for /usr/lib/libwayland-cursor.so.0...
Downloading separate debug info for /usr/lib/libxkbcommon.so.0...
Downloading separate debug info for /usr/lib/libdbus-1.so.3...
Downloading separate debug info for /usr/lib/libEGL.so.1...
Downloading separate debug info for /usr/lib/libfontconfig.so.1...
Downloading separate debug info for /usr/lib/libglib-2.0.so.0...
Downloading separate debug info for /usr/lib/libGLX.so.0...
Downloading separate debug info for /usr/lib/libOpenGL.so.0...
Downloading separate debug info for /usr/lib/libpng16.so.16...
Downloading separate debug info for /usr/lib/libharfbuzz.so.0...
Downloading separate debug info for /usr/lib/libmd4c.so.0...
Downloading separate debug info for /usr/lib/libfreetype.so.6...
Downloading separate debug info for /usr/lib/libz.so.1...
Downloading separate debug info for /usr/lib/libicui18n.so.74...
Downloading separate debug info for /usr/lib/libicuuc.so.74...
Downloading separate debug info for /usr/lib/libsystemd.so.0...
Downloading separate debug info for /usr/lib/libdouble-conversion.so.3...
Downloading separate debug info for /usr/lib/libb2.so.1...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libb2.so.1.
Downloading separate debug info for /usr/lib/libpcre2-16.so.0...
Downloading separate debug info for /usr/lib/libzstd.so.1...
Downloading separate debug info for /usr/lib/libKF6KIOGui.so.6...
Downloading separate debug info for /usr/lib/libKF6JobWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6Completion.so.6...
Downloading separate debug info for /usr/lib/libKF6KCMUtilsCore.so.6...
Downloading separate debug info for /usr/lib/libKF6AuthCore.so.6...
Downloading separate debug info for /usr/lib/libacl.so.1...
Downloading separate debug info for /usr/lib/libcanberra.so.0...
Downloading separate debug info for /usr/lib/libgssapi_krb5.so.2...
Downloading separate debug info for /usr/lib/libbrotlidec.so.1...
Downloading separate debug info for /usr/lib/libproxy.so.1...
Downloading separate debug info for /usr/lib/libcrypto.so.3...
Downloading separate debug info for /usr/lib/libKF6Codecs.so.6...
Downloading separate debug info for /usr/lib/libcap.so.2...
Downloading separate debug info for /usr/lib/libblkid.so.1...
Downloading separate debug info for /usr/lib/libssl.so.3...
Downloading separate debug info for /usr/lib/libusbmuxd-2.0.so.7...
Downloading separate debug info for /usr/lib/libbz2.so.1.0...
Downloading separate debug info for /usr/lib/liblzma.so.5...
Downloading separate debug info for /usr/lib/libGLdispatch.so.0...
Downloading separate debug info for /usr/lib/libexpat.so.1...
Downloading separate debug info for /usr/lib/libpcre2-8.so.0...
Downloading separate debug info for /usr/lib/libgraphite2.so.3...
Downloading separate debug info for /usr/lib/libicudata.so.74...
Downloading separate debug info for /usr/lib/libgcrypt.so.20...
Downloading separate debug info for /usr/lib/liblz4.so.1...
Downloading separate debug info for /usr/lib/libvorbisfile.so.3...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libvorbisfile.so.3.
Downloading separate debug info for /usr/lib/libtdb.so.1...
Downloading separate debug info for /usr/lib/libltdl.so.7...
Downloading separate debug info for /usr/lib/libkrb5.so.3...
Downloading separate debug info for /usr/lib/libk5crypto.so.3...
Downloading separate debug info for /usr/lib/libcom_err.so.2...
Downloading separate debug info for /usr/lib/libkrb5support.so.0...
Downloading separate debug info for /usr/lib/libkeyutils.so.1...
Downloading separate debug info for /usr/lib/libresolv.so.2...
Downloading separate debug info for /usr/lib/libbrotlicommon.so.1...
Downloading separate debug info for /usr/lib/libproxy/libpxbackend-1.0.so...
Downloading separate debug info for /usr/lib/libgobject-2.0.so.0...
Downloading separate debug info for /usr/lib/libimobiledevice-glue-1.0.so.0...
Downloading separate debug info for /usr/lib/libgpg-error.so.0...
Downloading separate debug info for /usr/lib/libvorbis.so.0...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libvorbis.so.0.
Downloading separate debug info for /usr/lib/libogg.so.0...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libogg.so.0.
Downloading separate debug info for /usr/lib/libcurl.so.4...
Downloading separate debug info for /usr/lib/libgio-2.0.so.0...
Downloading separate debug info for /usr/lib/libduktape.so.207...
Downloading separate debug info for /usr/lib/libnghttp3.so.9...
Downloading separate debug info for /usr/lib/libnghttp2.so.14...
Downloading separate debug info for /usr/lib/libidn2.so.0...
Downloading separate debug info for /usr/lib/libssh2.so.1...
Downloading separate debug info for /usr/lib/libpsl.so.5...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libpsl.so.5.
Downloading separate debug info for /usr/lib/libgmodule-2.0.so.0...
Downloading separate debug info for /usr/lib/libunistring.so.5...
Downloading separate debug info for /usr/lib/libGLX_nvidia.so.0...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libGLX_nvidia.so.0.
Downloading separate debug info for /usr/lib/libnvidia-glsi.so.550.67...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libnvidia-glsi.so.550.67.
Downloading separate debug info for /usr/lib/libnvidia-tls.so.550.67...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libnvidia-tls.so.550.67.
Downloading separate debug info for /usr/lib/libnvidia-glcore.so.550.67...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libnvidia-glcore.so.550.67.
Downloading separate debug info for /usr/lib/libXext.so.6...
Downloading separate debug info for /usr/lib/libdl.so.2...
Downloading separate debug info for /usr/lib/libpthread.so.0...
Downloading separate debug info for /usr/lib/librt.so.1...
Downloading separate debug info for /usr/lib/libnvidia-gpucomp.so.550.67...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libnvidia-gpucomp.so.550.67.
Downloading separate debug info for /usr/lib/qt6/plugins/platforms/libqwayland-generic.so...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so...
Downloading separate debug info for /usr/lib/qt6/plugins/platformthemes/KDEPlasmaPlatformTheme6.so...
Downloading separate debug info for /usr/lib/libQt6QuickControls2.so.6...
Downloading separate debug info for /usr/lib/libKF6KIOFileWidgets.so.6...
Downloading separate debug info for /usr/lib/libXcursor.so.1...
Downloading separate debug info for /usr/lib/libQt6QuickTemplates2.so.6...
Downloading separate debug info for /usr/lib/libQt6Core5Compat.so.6...
Downloading separate debug info for /usr/lib/libKF6BookmarksWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6Bookmarks.so.6...
Downloading separate debug info for /usr/lib/libXrender.so.1...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libwayland-egl.so.1...
Downloading separate debug info for /usr/lib/libEGL_nvidia.so.0...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libEGL_nvidia.so.0.
Downloading separate debug info for /usr/lib/libnvidia-egl-wayland.so.1...
Downloading separate debug info for /usr/lib/libwayland-server.so.0...
Downloading separate debug info for /usr/lib/libdrm.so.2...
Downloading separate debug info for /usr/lib/libnvidia-eglcore.so.550.67...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libnvidia-eglcore.so.550.67.
Downloading separate debug info for /usr/lib/libnvidia-egl-gbm.so.1...
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libnvidia-egl-gbm.so.1.
Downloading separate debug info for /usr/lib/libgbm.so.1...
Downloading separate debug info for /usr/lib/libEGL_mesa.so.0...
Downloading separate debug info for /usr/lib/libglapi.so.0...
Downloading separate debug info for /usr/lib/libX11-xcb.so.1...
Downloading separate debug info for /usr/lib/libxcb-dri2.so.0...
Downloading separate debug info for /usr/lib/libxcb-xfixes.so.0...
Downloading separate debug info for /usr/lib/libxcb-dri3.so.0...
Downloading separate debug info for /usr/lib/libxcb-present.so.0...
Downloading separate debug info for /usr/lib/libxcb-sync.so.1...
Downloading separate debug info for /usr/lib/libxshmfence.so.1...
Downloading separate debug info for /usr/lib/qt6/plugins/styles/breeze6.so...
Downloading separate debug info for /usr/lib/libKirigamiPlatform.so.6...
Downloading separate debug info for /usr/lib/libKF6Style.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/packagestructure/plasma_lookandfeel.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/packagestructure/plasma_shell.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemKWaylandPlugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/packagestructure/plasma_applet.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/packagestructure/plasma_layouttemplate.so...
Downloading separate debug info for /usr/lib/qt6/plugins/plasma/containmentactions/org.kde.contextmenu.so...
Downloading separate debug info for /usr/lib/qt6/plugins/plasma/applets/org.kde.plasma.systemtray.so...
Downloading separate debug info for /usr/lib/qt6/plugins/plasma/applets/org.kde.plasma.private.systemtray.so...
Downloading separate debug info for /usr/lib/libPlasma5Support.so.6...
Downloading separate debug info for /usr/lib/libQt6Sql.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/plasma/applets/org.kde.plasma.notifications.so...
Downloading separate debug info for /usr/lib/qt6/plugins/plasma/applets/org.kde.kscreen.so...
Downloading separate debug info for /usr/lib/libKF6Screen.so.8...
Downloading separate debug info for /usr/lib/qt6/plugins/plasma/applets/org.kde.plasma.vault.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/kscreen/KSC_KWayland.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqgif.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqico.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqjpeg.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libjpeg.so.8...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqsvg.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqpdf.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libQt6Pdf.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libopenjp2.so.7...
Downloading separate debug info for system-supplied DSO at 0x7ffeda3e9000...
Download failed: Connection reset by peer.  Continuing without separate debug info for system-supplied DSO at 0x7ffeda3e9000.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c...
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x72224a8019c0 (LWP 16241))]

Cannot QML trace cores :(
Downloading source file /usr/src/debug/glibc/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S...
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_create.c...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp...
Downloading source file /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.7.0/src/client/qwaylanddisplay.cpp...
Downloading source file /usr/src/debug/glibc/glibc/io/../sysdeps/unix/sysv/linux/poll.c...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/dbus/qdbusconnectionmanager.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/global/qflags.h...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventdispatcher_glib.cpp...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gmain.c...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qwaitcondition_unix.cpp...
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_cond_wait.c...
Downloading source file /usr/src/debug/glibc/glibc/nptl/futex-internal.c...
Downloading source file /usr/src/debug/plasma-workspace/plasma-workspace-6.0.3/shell/main.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp...
Downloading source file /usr/src/debug/wayland/build/../wayland-1.22.0/src/wayland-client.c...
Downloading source file /usr/src/debug/wayland/build/../wayland-1.22.0/src/connection.c...
Downloading source file /usr/src/debug/libffi/libffi-3.4.6/x86_64-pc-linux-gnu/../src/x86/ffi64.c...
Downloading source file /usr/src/debug/libffi/libffi-3.4.6/x86_64-pc-linux-gnu/../src/x86/unix64.S...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qbasicatomic.h...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qatomic_cxx11.h...
[Current thread is 1 (Thread 0x72224a8019c0 (LWP 16241))]

Thread 4 (Thread 0x7222454006c0 (LWP 16244)):
#0  0x000072224f1190bf in __GI___poll (fds=0x5e4d65644d50, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000072224e419306 in g_main_context_poll_unlocked (priority=2147483647, n_fds=3, fds=0x5e4d65644d50, timeout=<optimized out>, context=0x722240000c80) at ../glib/glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x722240000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4212
#3  0x000072224e3b9712 in g_main_context_iteration (context=0x722240000c80, may_block=1) at ../glib/glib/gmain.c:4282
#4  0x000072224f983df4 in QEventDispatcherGlib::processEvents (this=0x722240000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#5  0x000072224f745c7e in QEventLoop::processEvents (flags=..., this=0x7222453ffb30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec (this=0x7222453ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:182
#7  0x000072224f82cbef in QThread::exec (this=this@entry=0x7222506cab20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/global/qflags.h:74
#8  0x000072225064113f in QDBusConnectionManager::run (this=0x7222506cab20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/dbus/qdbusconnectionmanager.cpp:144
#9  0x000072224f8adcd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x7222506cab20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:285
#12 0x000072224f0a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x000072224f126a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x72223f4006c0 (LWP 16246)):
#0  0x000072224f1190bf in __GI___poll (fds=fds@entry=0x72223f3ffb70, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x0000722251579ce8 in poll (__timeout=-1, __nfds=2, __fds=0x72223f3ffb70) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5e4d656d1f70) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.7.0/src/client/qwaylanddisplay.cpp:182
#3  0x000072224f8adcd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:326
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:262
#5  QThreadPrivate::start (arg=0x5e4d656d1f70) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:285
#6  0x000072224f0a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x000072224f126a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x72223fe006c0 (LWP 16245)):
#0  0x000072224f0a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5e4d656e18d0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5e4d656e18d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x000072224f0a5f3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5e4d656e18d0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x000072224f0a8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5e4d656e1880, cond=0x5e4d656e18a8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5e4d656e18a8, mutex=0x5e4d656e1880) at pthread_cond_wait.c:618
#5  0x000072224f8b8b90 in QWaitConditionPrivate::wait (deadline=..., this=0x5e4d656e1880) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qwaitcondition_unix.cpp:102
#6  QWaitCondition::wait (this=this@entry=0x5e4d65656c30, mutex=mutex@entry=0x5e4d65656c28, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qwaitcondition_unix.cpp:180
#7  0x0000722251579c68 in QtWaylandClient::EventThread::waitForReading (this=0x5e4d65656bf0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.7.0/src/client/qwaylanddisplay.cpp:216
#8  QtWaylandClient::EventThread::run (this=0x5e4d65656bf0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.7.0/src/client/qwaylanddisplay.cpp:177
#9  0x000072224f8adcd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x5e4d65656bf0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread_unix.cpp:285
#12 0x000072224f0a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x000072224f126a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x72224a8019c0 (LWP 16241)):
[KCrash Handler]
#5  std::__atomic_base<int>::fetch_add (__m=std::memory_order_acq_rel, __i=1, this=0xa00000060, this=<optimized out>, __i=<optimized out>, __m=<optimized out>) at /usr/include/c++/13.2.1/bits/atomic_base.h:633
#6  QAtomicOps<int>::ref<int> (_q_value=<error reading variable: Cannot access memory at address 0xa00000060>, _q_value=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qatomic_cxx11.h:259
#7  QBasicAtomicInteger<int>::ref (this=0xa00000060, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qbasicatomic.h:47
#8  QThreadData::ref (this=0xa00000060) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/thread/qthread.cpp:99
#9  QObjectPrivate::connectImpl (sender=sender@entry=0x5e4d6564a270, signal_index=5, receiver=receiver@entry=0x5e4d6564a270, slot=slot@entry=0x0, slotObjRaw=slotObjRaw@entry=0x5e4d65e1b680, type=<optimized out>, types=0x0, senderMetaObject=0x722244625700 <KScreen::WaylandConfig::staticMetaObject>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:5250
#10 0x000072224f79574b in QObject::connectImpl (sender=0x5e4d6564a270, signal=<optimized out>, receiver=0x5e4d6564a270, slot=0x0, slotObjRaw=0x5e4d65e1b680, type=Qt::AutoConnection, types=0x0, senderMetaObject=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:5180
#11 0x00007222446192fd in KScreen::WaylandConfig::setupRegistry()::{lambda(void*, wl_registry*, unsigned int, char const*, unsigned int)#1}::_FUN(void*, wl_registry*, unsigned int, char const*, unsigned int) () at /usr/include/qt6/QtCore/qobject.h:240
#12 0x000072224fbfc596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#13 0x000072224fbf900e in ffi_call_int (cif=cif@entry=0x7ffeda3a6f10, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#14 0x000072224fbfbbd3 in ffi_call (cif=cif@entry=0x7ffeda3a6f10, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffeda3a6fe0) at ../src/x86/ffi64.c:710
#15 0x0000722252068645 in wl_closure_invoke (closure=closure@entry=0x7222300027d0, target=<optimized out>, target@entry=0x5e4d65f9d150, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025
#16 0x0000722252068e73 in dispatch_event (display=display@entry=0x5e4d65640550, queue=0x5e4d65640640) at ../wayland-1.22.0/src/wayland-client.c:1631
#17 0x000072225206913c in dispatch_queue (queue=0x5e4d65640640, display=0x5e4d65640550) at ../wayland-1.22.0/src/wayland-client.c:1777
#18 wl_display_dispatch_queue_pending (display=0x5e4d65640550, queue=0x5e4d65640640) at ../wayland-1.22.0/src/wayland-client.c:2019
#19 0x0000722251579b5e in QtWaylandClient::EventThread::readAndDispatchEvents (this=0x5e4d65656bf0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.7.0/src/client/qwaylanddisplay.cpp:227
#20 0x000072224f7883e4 in QObject::event (this=0x5e4d65640320, e=0x7222380014b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qobject.cpp:1446
#21 0x00007222516fbfcb in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5e4d65640320, e=0x7222380014b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:3287
#22 0x000072224f73dae8 in QCoreApplication::notifyInternal2 (receiver=0x5e4d65640320, event=event@entry=0x7222380014b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1134
#23 0x000072224f73de74 in QCoreApplication::sendEvent (event=0x7222380014b0, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1575
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5e4d6551cba0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1932
#25 0x000072224f9860e4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qcoreapplication.cpp:1789
#26 postEventSourceDispatch (s=0x5e4d65613140) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#27 0x000072224e3ba199 in g_main_dispatch (context=0x722240000f00) at ../glib/glib/gmain.c:3344
#28 0x000072224e4193bf in g_main_context_dispatch_unlocked (context=0x722240000f00) at ../glib/glib/gmain.c:4152
#29 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x722240000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#30 0x000072224e3b9712 in g_main_context_iteration (context=0x722240000f00, may_block=1) at ../glib/glib/gmain.c:4282
#31 0x000072224f983df4 in QEventDispatcherGlib::processEvents (this=0x5e4d6564bd10, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#32 0x000072224f745c7e in QEventLoop::processEvents (flags=..., this=0x7ffeda3a75d0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:100
#33 QEventLoop::exec (this=0x7ffeda3a75d0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/kernel/qeventloop.cpp:182
#34 0x000072224f7416e8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/corelib/global/qflags.h:74
#35 0x00007222516f851a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.7.0/src/widgets/kernel/qapplication.cpp:2555
#36 0x00005e4d64c8f476 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.3/shell/main.cpp:214

Reported using DrKonqi
Comment 1 Jonah Jones 2024-04-18 14:43:42 UTC
Looks like this has been resolved in KDE 6.0.4. Great work! :)