After update plasmashell will segfault after update.
Removing old settings and themes, than cache and reinstalling as below solves problem (in my case, as depending on installed themes it will need to be deducted from logs).
For users who are not proficient with terminal, viable solution may be to revert to use older version of System (should be an options during boot).
The problem can be easily solved via automation script after updating version of KDE/plasmashell for it to not occur if any user will update it and/or have themes that will conflict with new version:
-> detection of plasmashell crash after update
-> backup of current settings and themes folder
-> clear themes and cache
-> reinstall plasma workspace
-> inform user
I belive moving themes and old options will be better than black screen with crashes in loop when you try to run plasmashell (unusable state of system for user).
deimos@nobara-pc:~$ plasmashell
KCrash: Attempting to start /usr/bin/plasmashell
KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
DEBUG:
Application: plasmashell (plasmashell), signal: Segmentation fault
[New LWP 15760]
[New LWP 15752]
[New LWP 15754]
[New LWP 15755]
[New LWP 15753]
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f893e8a84a4 in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f89214006c0 (LWP 15760))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7f89214006c0 (LWP 15760))]
Thread 5 (Thread 0x7f892ae006c0 (LWP 15753)):
#0 0x00007f893e91c67d in poll () at /lib64/libc.so.6
#1 0x00007f893dcb7c34 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#2 0x00007f893dc57383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3 0x00007f893f2850a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#4 0x00007f893efa3b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#5 0x00007f893f0b7e4f in QThread::exec() () at /lib64/libQt6Core.so.6
#6 0x00007f894107be41 in QDBusConnectionManager::run() () at /lib64/libQt6DBus.so.6
#7 0x00007f893f15463c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#8 0x00007f893e8a6507 in start_thread () at /lib64/libc.so.6
#9 0x00007f893e92a40c in clone3 () at /lib64/libc.so.6
Thread 4 (Thread 0x7f89296006c0 (LWP 15755)):
#0 0x00007f893e91c67d in poll () at /lib64/libc.so.6
#1 0x00007f8940775df5 in QtWaylandClient::EventThread::run() () at /lib64/libQt6WaylandClient.so.6
#2 0x00007f893f15463c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#3 0x00007f893e8a6507 in start_thread () at /lib64/libc.so.6
#4 0x00007f893e92a40c in clone3 () at /lib64/libc.so.6
Thread 3 (Thread 0x7f892a0006c0 (LWP 15754)):
#0 0x00007f893e91c67d in poll () at /lib64/libc.so.6
#1 0x00007f8940775df5 in QtWaylandClient::EventThread::run() () at /lib64/libQt6WaylandClient.so.6
#2 0x00007f893f15463c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#3 0x00007f893e8a6507 in start_thread () at /lib64/libc.so.6
#4 0x00007f893e92a40c in clone3 () at /lib64/libc.so.6
Thread 2 (Thread 0x7f8938c0f400 (LWP 15752)):
#0 0x00007f893e8a2be9 in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1 0x00007f893e8a5639 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2 0x00007f893f160efb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt6Core.so.6
#3 0x00007f89402eae58 in QQmlThread::internalCallMethodInThread(QQmlThread::Message*) () at /lib64/libQt6Qml.so.6
#4 0x00007f8940441f83 in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) () at /lib64/libQt6Qml.so.6
#5 0x00007f8940442788 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) () at /lib64/libQt6Qml.so.6
#6 0x00007f8940320a30 in QQmlComponentPrivate::loadUrl(QUrl const&, QQmlComponent::CompilationMode) () at /lib64/libQt6Qml.so.6
#7 0x00007f8941efa84c in PlasmaQuick::SharedQmlEngine::setSource(QUrl const&) () at /lib64/libPlasmaQuick.so.6
#8 0x00007f8941efba58 in PlasmaQuick::QuickViewSharedEngine::setSource(QUrl const&) () at /lib64/libPlasmaQuick.so.6
#9 0x000055d0744ad0aa in DesktopView::DesktopView (this=0x7f892400dbe0, corona=0x55d0b2f1d3c0, targetScreen=0x55d0b2750420) at /usr/src/debug/plasma-workspace-6.1.3-5.fc40.x86_64/shell/desktopview.cpp:65
#10 ShellCorona::addOutput (this=0x55d0b2f1d3c0, screen=0x55d0b2750420) at /usr/src/debug/plasma-workspace-6.1.3-5.fc40.x86_64/shell/shellcorona.cpp:1397
#11 ShellCorona::addOutput (this=0x55d0b2f1d3c0, screen=0x55d0b2750420) at /usr/src/debug/plasma-workspace-6.1.3-5.fc40.x86_64/shell/shellcorona.cpp:1383
#12 0x000055d0744b120f in ShellCorona::loadDefaultLayout (this=0x55d0b2f1d3c0) at /usr/src/debug/plasma-workspace-6.1.3-5.fc40.x86_64/shell/shellcorona.cpp:1068
#13 0x00007f8941c6ec1d in Plasma::Corona::loadLayout(QString const&) () at /lib64/libPlasma.so.6
#14 0x000055d0744b24a4 in ShellCorona::load (this=0x55d0b2f1d3c0) at /usr/src/debug/plasma-workspace-6.1.3-5.fc40.x86_64/shell/shellcorona.cpp:796
#15 0x00007f893effc872 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6
#16 0x00007f8941249543 in KActivities::Consumer::serviceStatusChanged(KActivities::Consumer::ServiceStatus) () at /lib64/libPlasmaActivities.so.6
#17 0x00007f893effc872 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6
#18 0x00007f894125837c in KActivities::ActivitiesCache::setAllActivities(QList<ActivityInfo> const&) () at /lib64/libPlasmaActivities.so.6
#19 0x00007f894125e394 in KActivities::ActivitiesCache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libPlasmaActivities.so.6
#20 0x00007f893effcbe0 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6
#21 0x00007f89410d4031 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /lib64/libQt6DBus.so.6
#22 0x00007f893efedd4b in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6
#23 0x00007f894158b218 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#24 0x00007f893ef96dc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#25 0x00007f893ef9ab91 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt6Core.so.6
#26 0x00007f893f2858ef in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Core.so.6
#27 0x00007f893dc55e8c in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#28 0x00007f893dcb7c98 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#29 0x00007f893dc57383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#30 0x00007f893f2850a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#31 0x00007f893efa3b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#32 0x00007f893ef9f9bc in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#33 0x000055d074477b3a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.1.3-5.fc40.x86_64/shell/main.cpp:188
Thread 1 (Thread 0x7f89214006c0 (LWP 15760)):
[KCrash Handler]
#4 0x00007f89403fe434 in QQmlType::QQmlType(QQmlType const&) () at /lib64/libQt6Qml.so.6
#5 0x00007f894040f9d5 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject(QmlIR::Object const*, QQmlBindingInstantiationContext const&, QQmlError*) const () at /lib64/libQt6Qml.so.6
#6 0x00007f894041f109 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) () at /lib64/libQt6Qml.so.6
#7 0x00007f894041f4c2 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) () at /lib64/libQt6Qml.so.6
#8 0x00007f894041fb98 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectsIncrementally() () at /lib64/libQt6Qml.so.6
#9 0x00007f894040e152 in QQmlTypeCompiler::compile() () at /lib64/libQt6Qml.so.6
#10 0x00007f8940421925 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::ResolvedTypeReferenceMap*, std::function<QByteArray ()> const&) () at /lib64/libQt6Qml.so.6
#11 0x00007f894042999e in QQmlTypeData::done() () at /lib64/libQt6Qml.so.6
#12 0x00007f8940331065 in QQmlDataBlob::tryDone() () at /lib64/libQt6Qml.so.6
#13 0x00007f89404412a0 in QQmlTypeLoader::setData(QQmlRefPointer<QQmlDataBlob> const&, QQmlDataBlob::SourceCodeData const&) () at /lib64/libQt6Qml.so.6
#14 0x00007f8940441bb9 in QQmlTypeLoader::setData(QQmlRefPointer<QQmlDataBlob> const&, QString const&) () at /lib64/libQt6Qml.so.6
#15 0x00007f8940441cc0 in QQmlTypeLoader::loadThread(QQmlRefPointer<QQmlDataBlob> const&) () at /lib64/libQt6Qml.so.6
#16 0x00007f89404420ea in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) () at /lib64/libQt6Qml.so.6
#17 0x00007f8940442788 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) () at /lib64/libQt6Qml.so.6
#18 0x00007f8940427edd in QQmlTypeData::resolveTypes() () at /lib64/libQt6Qml.so.6
#19 0x00007f894042c209 in QQmlTypeData::allDependenciesDone() () at /lib64/libQt6Qml.so.6
#20 0x00007f894044141b in QQmlTypeLoader::setData(QQmlRefPointer<QQmlDataBlob> const&, QQmlDataBlob::SourceCodeData const&) () at /lib64/libQt6Qml.so.6
#21 0x00007f8940441bb9 in QQmlTypeLoader::setData(QQmlRefPointer<QQmlDataBlob> const&, QString const&) () at /lib64/libQt6Qml.so.6
#22 0x00007f8940441cc0 in QQmlTypeLoader::loadThread(QQmlRefPointer<QQmlDataBlob> const&) () at /lib64/libQt6Qml.so.6
#23 0x00007f894044f1dc in QQmlThread::createMessageFromMethod<void (QQmlTypeLoaderThread::*)(QQmlRefPointer<QQmlDataBlob> const&), QQmlRefPointer<QQmlDataBlob> const&>(void (QQmlTypeLoaderThread::*&&)(QQmlRefPointer<QQmlDataBlob> const&), QQmlRefPointer<QQmlDataBlob> const&)::I::call(QQmlThread*) () at /lib64/libQt6Qml.so.6
#24 0x00007f89402eab5d in QQmlThreadPrivate::threadEvent() () at /lib64/libQt6Qml.so.6
#25 0x00007f89402eb5fd in QQmlThreadPrivate::event(QEvent*) () at /lib64/libQt6Qml.so.6
#26 0x00007f894158b218 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6
#27 0x00007f893ef96dc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#28 0x00007f893ef9ab91 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt6Core.so.6
#29 0x00007f893f2858ef in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Core.so.6
#30 0x00007f893dc55e8c in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#31 0x00007f893dcb7c98 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#32 0x00007f893dc57383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#33 0x00007f893f2850a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#34 0x00007f893efa3b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#35 0x00007f893f0b7e4f in QThread::exec() () at /lib64/libQt6Core.so.6
#36 0x00007f893f15463c in QThreadPrivate::start(void*) () at /lib64/libQt6Core.so.6
#37 0x00007f893e8a6507 in start_thread () at /lib64/libc.so.6
#38 0x00007f893e92a40c in clone3 () at /lib64/libc.so.6
Terminal
deimos@nobara-pc:~$ plasmashell
KPackageStructure of KPluginMetaData(pluginId:"OnlyText.Date.Kde", fileName: "/home/deimos/.local/share/plasma/plasmoids/OnlyText.Date.Kde/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Redmi.Clock", fileName: "/home/deimos/.local/share/plasma/plasmoids/Redmi.Clock/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"zayron.chaac.weather", fileName: "/home/deimos/.local/share/plasma/plasmoids/zayron.chaac.weather/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"zayron.simple.separator", fileName: "/home/deimos/.local/share/plasma/plasmoids/zayron.simple.separator/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kpple.kppleMenu", fileName: "/home/deimos/.local/share/plasma/plasmoids/org.kpple.kppleMenu/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Weather.IntiSol.kde", fileName: "/home/deimos/.local/share/plasma/plasmoids/Weather.IntiSol.kde/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Plasma.Control.Hub", fileName: "/home/deimos/.local/share/plasma/plasmoids/Plasma.Control.Hub/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.windowtitle.Fork", fileName: "/home/deimos/.local/share/plasma/plasmoids/org.kde.windowtitle.Fork/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Date.Urban.kde", fileName: "/home/deimos/.local/share/plasma/plasmoids/Date.Urban.kde/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.win7showdesktop", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.win7showdesktop/metadata.json") does not match requested format "Plasma/Applet"
KCrash: Attempting to start /usr/bin/plasmashell
KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
Segmentation fault (core dumped)
deimos@nobara-pc:~$ KPackageStructure of KPluginMetaData(pluginId:"OnlyText.Date.Kde", fileName: "/home/deimos/.local/share/plasma/plasmoids/OnlyText.Date.Kde/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Redmi.Clock", fileName: "/home/deimos/.local/share/plasma/plasmoids/Redmi.Clock/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"zayron.chaac.weather", fileName: "/home/deimos/.local/share/plasma/plasmoids/zayron.chaac.weather/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"zayron.simple.separator", fileName: "/home/deimos/.local/share/plasma/plasmoids/zayron.simple.separator/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kpple.kppleMenu", fileName: "/home/deimos/.local/share/plasma/plasmoids/org.kpple.kppleMenu/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Weather.IntiSol.kde", fileName: "/home/deimos/.local/share/plasma/plasmoids/Weather.IntiSol.kde/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Plasma.Control.Hub", fileName: "/home/deimos/.local/share/plasma/plasmoids/Plasma.Control.Hub/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.windowtitle.Fork", fileName: "/home/deimos/.local/share/plasma/plasmoids/org.kde.windowtitle.Fork/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"Date.Urban.kde", fileName: "/home/deimos/.local/share/plasma/plasmoids/Date.Urban.kde/metadata.json") does not match requested format "Plasma/Applet"
KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.win7showdesktop", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.win7showdesktop/metadata.json") does not match requested format "Plasma/Applet"
KCrash: Attempting to start /usr/bin/plasmashell
KCrash: Application 'plasmashell' crashing... crashRecursionCounter = 2
After update plasmashell will segfault after update.
Removing old settings and themes, than cache and reinstalling as below solves problem (in my case, as depending on installed themes it will need to be deducted from logs). For users who are not proficient with terminal, viable solution may be to revert to use older version of System (should be an options during boot).
The problem can be easily solved via automation script after updating version of KDE/plasmashell for it to not occur if any user will update it and/or have themes that will conflict with new version: -> detection of plasmashell crash after update -> backup of current settings and themes folder -> clear themes and cache -> reinstall plasma workspace -> inform user
I belive moving themes and old options will be better than black screen with crashes in loop when you try to run plasmashell (unusable state of system for user).
Inxi - information about my system
My commands (my solution deducted from logs)
Error logs:
Terminal