Plasmashell crashing on startup

Plasmashell crashes on startup. Last thing I did before this happened was try to install Japanese input via https://wiki.archlinux.org/title/Input_Japanese_using_uim . I also updated to the latest version using sudo pacman -Syu.

Here is what happens when I try start plasmashell:

admin@EOS ~ [1]> plasmashell --replace
KPackageStructure of KPluginMetaData(pluginId:"com.github.uim.status", fileName: "/usr/share/plasma/plasmoids/com.github.uim.status/metadata.json") does not match requested format "Plasma/Applet"
kf.plasma.quick: Applet preload policy set to 1
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":
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Toolbox not loading, toolbox package is either invalid or disabled.
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":
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Toolbox not loading, toolbox package is either invalid or disabled.
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
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55d8f36f4090
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55d8f36f4090
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
org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"
org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"
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
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
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
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
KCrash: Attempting to start /usr/bin/plasmashell
KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
fish: Job 1, 'plasmashell --replace' terminated by signal SIGSEGV (Address boundary error)
admin@EOS ~ [SIGSEGV]> KPackageStructure of KPluginMetaData(pluginId:"com.github.uim.status", fileName: "/usr/share/plasma/plasmoids/com.github.uim.status/metadata.json") does not match requested format "Plasma/Applet"
kf.plasma.quick: Applet preload policy set to 1
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":
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Toolbox not loading, toolbox package is either invalid or disabled.
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":
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:201:9
Toolbox not loading, toolbox package is either invalid or disabled.
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
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55992be8eb50
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" 0x55992be8eb50
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
org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"
org.kde.applets.brightness: D-Bus action "KeyboardBrightnessControl" is not available at service "org.kde.Solid.PowerManagement"
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
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
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
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

It still crashes on X11.

admin@EOS ~> killall plasmashell
plasmashell: no process found
admin@EOS ~ [1]> kquitapp5 plasmashell; sleep 2s; kstart5 plasmashell
"Application plasmashell could not be found using service org.kde.plasmashell and path /MainApplication."

Welcome to the EndeavourOS forums!

Can’t help you much with the error, using Cinnamon, not Plasma here.

But I wonder if you might fare better using ibus instead of uim. It is said to be better integrated with KDE, and less problematic.

I have been using uim in the last decade on Linux Mint, but completely switched to ibus on EndeavourOS. That said, I have never used Japanese, so your mileage may vary…

Welcome to the forum :enos_flag: :enos:
It looks like this uim package causes the crash somehow, and I have no idea why it does that.
But updating with just pacman -Syu will only update files that are in the “native” repositories, and not files that are installed from the AUR.
You can use either just yay or the script that is also in the welcome app:

eos-update --aur

Don’t know if this helps at all but there is also some information in this topic about trying to restart the plasmashell.

Having a look at this plasma applet

KPluginMetaData(pluginId:"com.github.uim.status",

What I could find this is a 7 year old applet , if that is correct it is no surprise it will cause problems.

Thank you very much for this recommendation. I didn’t know where to even start when it came to getting language support working.

Running eos-update --aur + removing uim, uim-mozc, and mozc, didn’t fix the issue. I don’t know where or how to check that applet or remove it if it’s the thing causing issues.

Also removed a bunch of packages I installed when trying to get uim work, and it’s still not fixed.

Maybe you can find it here ?

“The file or folder /usr/share/plasma/plasmoids/com.github.uim.status does not exist.”

Also I am trying to do a clean install because I have 0 idea how to fix this, but my ventoy is not displaying anything when I boot into it. This is getting annoying :sweat_smile:

I can understand your annoyance as Plasma seems buggy especially after updates. I was blocked by plasmashell constantly crashing after login so I thought I’d add my 2 cents worth to this thread to show how I solved it.

My problem was being limited to a tty terminal in order to have access to my system. I tried restoring to an older backup as I use btrfs but had no luck. Perhaps I didn’t go back far enough.
Anyway I read that by creating a new user the plasmashell starting from fresh would work correctly. Fortunately I had created a root password so was able to get into my original user directory and do the following, as shown by others in this thread:

  1. clear the plasma and KDE cache files
    rm -fr ~/.cache/plasma*
    rm -fr ~/.cache/KWin*
  2. move the plasma desktop applets out of the way (as shown above)
    mv ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/.config/plasma-org.kde.plasma.desktop-appletsrc.bak

I did this from a new user that I had created just to test the plasma did work and wasn’t a problem with fontconfig as suggested elsewhere by cactux Plasmashell crashing - #17 by cactux .
Then on switching back to my normal user account everything was back to normal as the desktop was regenerated but still keeping my modifications.
I thought this may be useful confirmation for any others facing the same problem.

My setup on an AMD Lenovo laptop:
Plasma version: 6.7.2
KDE Frameworks Version: 6.27.0
Qtversion: 6.11.1
Kernel version: 6.18.38-1-lts
Graphics platform: Wayland