Plasma Wayland crashes when adding applets to bar or desktop

Hi everyone. I have an issue where I cannot drag applets to either the desktop or the bar, rendering them unusable. Whenever I try to drag applets to those areas Plasma shell crashes and restarts. Is this due to some files that I left behind when I reinstalled Plasma? Widgets / Applets are completely unusable as all of them crash and restart Plasma when dragging them to the bar or desktop.

Thanks

What is the version of Plasma you are using and Distribution ?

With coredumpctl -1 gdb plasmashell and debuginfod enabled (depends on your distro), you can report the crash trace.

Hi, I use Plasma 6.2.5, and my distribution is Gentoo Linux.

I do not have debuginfod enabled at the moment but I could enable it.

6.2 isn’t maintained anymore, or at least won’t get a fix for applets related issues.

Trying from a new user might reveal if that’s a configuration leftover issue.

The output of the process plasmashell or logs could be useful.

Plasma 6.4 isn’t far off (June) so you might want to wait for it before updating building half the world again.

1 Like

I tested on a new user and the issue is gone.

Output from journalctl at time of crash (dragging applet to bar or desktop):

Apr 24 13:01:05 gentoo-tank plasmashell[63636]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:05 gentoo-tank plasmashell[63636]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact.applet", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:05 gentoo-tank plasmashell[63636]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact.applet", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: KPackage in "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/" "" does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: KPackage in "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/" "" does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: KPackage in "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/" "" does not match requested format "Plasma/Applet"
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: "" from "org.kde.plasma.cameraindicator" is not a known category that can be translated
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: "" from "org.kde.plasma.keyboardindicator" is not a known category that can be translated
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: "" from "org.kde.plasma.keyboardlayout" is not a known category that can be translated
Apr 24 13:01:06 gentoo-tank plasmashell[63636]: "Personal information" from "org.kde.merkuro.contact.applet" is not a known category that can be translated
Apr 24 13:01:07 gentoo-tank plasmashell[63636]: qrc:/qt/qml/org/kde/plasma/components/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible":
Apr 24 13:01:07 gentoo-tank plasmashell[63636]: qrc:/qt/qml/org/kde/plasma/components/ScrollBar.qml:24:5
Apr 24 13:01:07 gentoo-tank plasmashell[63636]: qrc:/qt/qml/org/kde/plasma/components/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible":
Apr 24 13:01:07 gentoo-tank plasmashell[63636]: qrc:/qt/qml/org/kde/plasma/components/ScrollBar.qml:24:5
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact.applet", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: 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":
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Apr 24 13:01:10 gentoo-tank dbus-daemon[1066]: [session uid=1000 pid=1066 pidfd=5] Activating service name='org.kde.KSplash' requested by ':1.477' (uid=1000 pid=64506 comm="/usr/bin/plasmashell --no-respawn")
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Apr 24 13:01:10 gentoo-tank plasmashell[64506]: error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
Apr 24 13:01:11 gentoo-tank plasmashell[64506]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_0b_00.4.analog-stereo.monitor"
Apr 24 13:01:27 gentoo-tank plasmashell[64506]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:27 gentoo-tank plasmashell[64506]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact.applet", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:27 gentoo-tank plasmashell[64506]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:27 gentoo-tank plasmashell[64506]: KPackage in "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/" "" does not match requested format "Plasma/Applet"
Apr 24 13:01:27 gentoo-tank plasmashell[64506]: KPackage in "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/" "" does not match requested format "Plasma/Applet"
Apr 24 13:01:27 gentoo-tank plasmashell[64506]: KPackage in "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/" "" does not match requested format "Plasma/Applet"
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: "" from "org.kde.plasma.cameraindicator" is not a known category that can be translated
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: "" from "org.kde.plasma.keyboardindicator" is not a known category that can be translated
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: "" from "org.kde.plasma.keyboardlayout" is not a known category that can be translated
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: "Personal information" from "org.kde.merkuro.contact.applet" is not a known category that can be translated
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: qrc:/qt/qml/org/kde/plasma/components/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible":
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: qrc:/qt/qml/org/kde/plasma/components/ScrollBar.qml:24:5
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: qrc:/qt/qml/org/kde/plasma/components/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible":
Apr 24 13:01:28 gentoo-tank plasmashell[64506]: qrc:/qt/qml/org/kde/plasma/components/ScrollBar.qml:24:5
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact.applet", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact.applet/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet"
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: 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":
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Apr 24 13:01:31 gentoo-tank plasmashell[64739]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:50:9: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
Apr 24 13:01:32 gentoo-tank plasmashell[64739]: error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
Apr 24 13:01:32 gentoo-tank plasmashell[64739]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_0b_00.4.analog-stereo.monitor"

Also time of crash:

Apr 24 13:03:30 gentoo-tank systemd[1]: systemd-coredump@12-65680-0.service: Deactivated successfully.
Apr 24 13:03:30 gentoo-tank systemd[1]: systemd-coredump@12-65680-0.service: Consumed 1.602s CPU time, 855.1M memory peak.
Apr 24 13:03:31 gentoo-tank systemd[1056]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
Apr 24 13:03:31 gentoo-tank systemd[1056]: plasma-plasmashell.service: Failed with result 'core-dump'.
Apr 24 13:03:31 gentoo-tank drkonqi-coredump-processor[65682]: Entry doesn't look like a dump. This may have been a vaccum run. Nothing to process.
Apr 24 13:03:31 gentoo-tank drkonqi-coredump-processor[65682]: "/usr/bin/plasmashell" 64739 "/var/lib/systemd/coredump/core.plasmashell.1000.252666893b1a458a993320e3a70f5e41.64739.1745496209000000.zst"

coredumpctl -1 gdb plasmashell after crash:

           PID: 64739 (plasmashell)
           UID: 1000 (yaslam)
           GID: 1000 (yaslam)
        Signal: 11 (SEGV)
     Timestamp: Thu 2025-04-24 13:03:29 BST (3min 28s ago)
  Command Line: /usr/bin/plasmashell --no-respawn
    Executable: /usr/bin/plasmashell
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service
          Unit: user@1000.service
     User Unit: plasma-plasmashell.service
         Slice: user-1000.slice
     Owner UID: 1000 (yaslam)
       Boot ID: 252666893b1a458a993320e3a70f5e41
    Machine ID: 6afcb85ae2e3430baf07affab14c27f6
      Hostname: gentoo-tank
       Storage: /var/lib/systemd/coredump/core.plasmashell.1000.252666893b1a458a993320e3a70f5e41.64739.1745496209000000.zst (present)
  Size on Disk: 22.9M
       Message: Process 64739 (plasmashell) of user 1000 dumped core.

GNU gdb (Gentoo 15.2 vanilla) 15.2
Copyright (C) 2024 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:
<https://bugs.gentoo.org/>.
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"...
Reading symbols from /usr/bin/plasmashell...
(No debugging symbols found in /usr/bin/plasmashell)

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:kwin-dmabuf-feedback-table (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-shm (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=2312 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing
[New LWP 64739]
[New LWP 64747]
[New LWP 64748]
[New LWP 64755]
[New LWP 64756]
[New LWP 64746]
[New LWP 64753]
[New LWP 64757]
[New LWP 64835]
[New LWP 64782]
--Type <RET> for more, q to quit, c to continue without paging--c
[New LWP 64812]
[New LWP 64811]
[New LWP 64821]
[New LWP 64771]
[New LWP 64833]
[New LWP 64803]
[New LWP 64836]
[New LWP 64822]
[New LWP 65487]
[New LWP 65488]
[New LWP 64805]
[New LWP 64854]
[New LWP 64825]
[New LWP 65663]
[New LWP 65490]
[New LWP 64853]
[New LWP 64845]
[New LWP 64766]
[New LWP 64758]
[New LWP 65653]
[New LWP 65661]
[New LWP 65489]
[New LWP 65664]
[New LWP 64759]
[New LWP 65666]
[New LWP 64754]
[New LWP 64804]
[New LWP 64809]
[New LWP 64823]
[New LWP 64767]
[New LWP 64830]
[New LWP 64768]
[New LWP 64810]
[New LWP 64792]
[New LWP 64831]
[New LWP 64769]
[New LWP 64846]
[New LWP 64770]
[New LWP 65662]
[New LWP 64843]
[New LWP 65667]
[New LWP 64808]
[New LWP 64844]
[New LWP 64824]
[New LWP 64847]
[New LWP 64848]
[New LWP 65491]
[New LWP 64849]
[New LWP 65665]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f0aa9ae40f2 in QQuickItem::mapToScene(QPointF const&) const () from /usr/lib64/libQt6Quick.so.6
[Current thread is 1 (Thread 0x7f0aa4069a00 (LWP 64739))]

After some hours of troubleshooting this on a separate user, I found the culprit that was causing the issue. There was a theme I installed for Plasma called Sweet that installed a desktoptheme into ~/.local/share/plasma/desktoptheme/Sweet and ~/.local/share/plasma/desktoptheme/Sweet-Ambar-Blue. Removing those folders fixed the issues with widgets and everything is back to normal. But I am not quite sure how or why this theme was causing issues, maybe outdated? The issue is resolved now after removing those folders anyway.

Bugs can happen in themes, please comment on their author’s page to help them fix them.
As themes they can crash plasmashell because of a bug in their code.

Sweet is quite maintained Sweet KDE - KDE Store.

2 Likes

Fixed in: Github/EliverLara/Sweet-kde/issues/49
(I am unable to post links)