SUMMARY This does not happen always, but it's easiest to reproduce while adding an applet from "Plasma 6 clocks" category in store. Happened to me with KDE ModernClock (https://store.kde.org/p/2135653) (but happens with others too). It's 90% reproducible, but if you happen to successfully place the widget, error does not happen again. My guess is that ConfigOverlay.qml:288 does not check for existence of `currentApplet` (like in bug https://bugs.kde.org/show_bug.cgi?id=335268 but different line number) STEPS TO REPRODUCE 1. Add KDE Moder Clock to your desktop OBSERVED RESULT Plasma crashes 9/10 times :/ EXPECTED RESULT Plasma does not crash :) SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.9-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 16 × 12th Gen Intel® Core™ i7-12650H Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: Vivobook_ASUSLaptop N7601ZM_N7601ZM System Version: 1.0
This is line 289 in current master, which is exactly: https://invent.kde.org/plasma/plasma-desktop/-/blob/84900edcea17bb2070606f3a1520f57aff1d1476/containments/panel/contents/ui/ConfigOverlay.qml#L289 I believe the solution would be the same as in: https://invent.kde.org/plasma/plasma-desktop/-/blob/84900edcea17bb2070606f3a1520f57aff1d1476/containments/panel/contents/ui/ConfigOverlay.qml#L310
I'll do a MR with your suggestion as that should certainly hide the error, but it really shouldn't be crashing!
(In reply to Niccolò Venerandi from comment #2) > I'll do a MR with your suggestion as that should certainly hide the error, > but it really shouldn't be crashing! I did some investigating and you're right, this error is not the reason of the crash! Actually plasma segfaults in libfreetype.so.6.20.1 when adding a plasmoid using custom font (and bug appears in "Plasma 6 clocks" since they often use custom fonts). I will create a separate bug report for that and link it here
Filed a related bug report at: https://bugs.kde.org/show_bug.cgi?id=483932
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2135
Git commit 8fd109b565f7f8a0b1774fc0dc07645dc22732c7 by Niccolò Venerandi. Committed on 22/03/2024 at 07:14. Pushed by niccolove into branch 'master'. Check for applet in ConfigOverlay to avoid startup error messages M +1 -1 containments/panel/contents/ui/ConfigOverlay.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/8fd109b565f7f8a0b1774fc0dc07645dc22732c7
Git commit d2cf450f8f3c372da4993d3a18634a0b4ee02bf7 by ivan tkachenko. Committed on 19/04/2024 at 19:56. Pushed by ratijas into branch 'master'. Check for applet AND provide a fallback in ConfigOverlay to avoid startup error messages Amends 8fd109b565f7f8a0b1774fc0dc07645dc22732c7 M +1 -1 containments/panel/contents/ui/ConfigOverlay.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/d2cf450f8f3c372da4993d3a18634a0b4ee02bf7