Bug 504734

Summary: plasmashell crash on window launch
Product: [Plasma] plasmashell Reporter: leo
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: cwo.kde
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description leo 2025-05-24 13:35:45 UTC
Application: plasmashell (6.3.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.3
Frameworks Version: 6.12.0
Operating System: Linux 6.14.8-1-liquorix-amd64 x86_64
Windowing System: Wayland
Distribution: Ubuntu 25.04
DrKonqi: 6.3.4 [KCrashBackend]

-- Information about the crash:
My plasma shell keeps crashing on a regular basis.
Usually when I launch an application, I assume it is the new window that opens though.
Taskbar and everything disappears for a moment, then it restarts itself. Most of the time - right now it is gone and I can only use krunner to start things.

It is a reasonably fresh install of Kubuntu and I just upgraded to 25.04, which did not change any behaviour.

I think the crash reporter already took a stacktrace, here I add the journalctl logs from 2 of the crashes. But I was not able to see any obvious problem.


Mai 24 15:17:41 my-host plasmashell[5900]: kf.plasma.quick: Applet preload policy set to 1
Mai 24 15:17:41 my-host plasmashell[5900]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
Mai 24 15:17:41 my-host plasmashell[5900]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Mai 24 15:17:41 my-host plasmashell[5900]: Toolbox not loading, toolbox package is either invalid or disabled.
Mai 24 15:17:41 my-host dbus-daemon[2276]: [session uid=1000 pid=2276 pidfd=5] Activating service name='org.kde.KSplash' requested by ':1.100' (uid=1000 pid=5900 comm="/usr/bin/plasmashell --no-respawn")
Mai 24 15:17:42 my-host plasmashell[5900]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/main.qml:310:13: QML Image: Cannot open: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/start-here-kubuntu
Mai 24 15:17:42 my-host plasmashell[5900]: org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55864100f520
Mai 24 15:17:42 my-host plasmashell[5900]: org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55864100f520
Mai 24 15:17:42 my-host plasmashell[5900]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::checkRequested(QString)
Mai 24 15:17:42 my-host plasmashell[5900]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::checkDone(Solid::ErrorType, QVariant, QString)
Mai 24 15:17:42 my-host plasmashell[5900]: org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"
Mai 24 15:17:44 my-host plasmashell[5900]: kdeconnect.interfaces: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/modules/kdeconnect/devices/31ed13b0_0074_4798_ae12_5c015b64fa81/notifications'")
Mai 24 15:17:44 my-host plasmashell[5900]: kdeconnect.interfaces: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/modules/kdeconnect/devices/e72d9069_30fb_46ba_9142_fdf5c5dd9356/notifications'")


Mai 24 15:26:27 my-host plasmashell[6552]: QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
Mai 24 15:26:27 my-host plasmashell[6552]: QSocketNotifier: Invalid socket 41 and type 'Read', disabling...
Mai 24 15:26:27 my-host plasmashell[7081]: kf.plasma.quick: Applet preload policy set to 1
Mai 24 15:26:27 my-host plasmashell[7081]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:178:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth":
Mai 24 15:26:27 my-host plasmashell[7081]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Mai 24 15:26:27 my-host plasmashell[7081]: Toolbox not loading, toolbox package is either invalid or disabled.
Mai 24 15:26:27 my-host dbus-daemon[2276]: [session uid=1000 pid=2276 pidfd=5] Activating service name='org.kde.KSplash' requested by ':1.127' (uid=1000 pid=7081 comm="/usr/bin/plasmashell")
Mai 24 15:26:28 my-host plasmashell[7081]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/main.qml:310:13: QML Image: Cannot open: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/start-here-kde-symbolic
Mai 24 15:26:28 my-host plasmashell[7081]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::checkRequested(QString)
Mai 24 15:26:28 my-host plasmashell[7081]: qt.core.qobject.connect: QObject::connect: No such signal Solid::Backends::Fstab::FstabStorageAccess::checkDone(Solid::ErrorType, QVariant, QString)
Mai 24 15:26:28 my-host plasmashell[7081]: org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#7  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44
#8  __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
#9  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:100
#10 0x00007fc95b8456de in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#11 0x00007fc95b8288cd in __GI_abort () at ./stdlib/abort.c:73


Reported using DrKonqi
Comment 1 leo 2025-05-24 13:35:46 UTC
Created attachment 181706 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 cwo 2025-05-24 14:59:35 UTC
Run:

kcmshell6 kcm_qtquicksettings

What is set for "Rendering Backend" and "Rendering Loop"? Make sure both are set to automatic.
Comment 3 leo 2025-05-25 09:16:18 UTC
Hey there!


I kept trying things after the automated crash-reporter suggested to create this bug.

Unfortunately I can not reproduce the issue anymore, since I found out that it was some configuration in my user (a newly created user did not have the issue).
So I wildly went purging my kde plasma related config files in my home dir.

Deleting one of:
~/.config/plasmarc
~/.config/kdeglobals
~/.local/share/plasma

Must have been it.


br, Leo
Comment 4 leo 2025-05-25 09:17:34 UTC
But yes, rendering backend and loop are set to automatic.
Now. (Can not tell for before).
Comment 5 cwo 2025-05-25 09:24:16 UTC
Then it was probably that - it's know to create wild crashish, especially on Qt 6. (which is why we hide that config window, it's only for developers testing things).