Plasma 6.5.1 crashes because of the notify applet

Hi everyone,

Does anyone have issue recently with plasma 6.5.1 ? I’m getting some a odd behavior. The notification applet seems to crash the plasmashell service and the my desktop does not refresh if I download files to it from a browser. I can create new file directly but saving does not. Here is what I see in my journal before and after the crash. There seems to be qml errors.

Oct 31 13:58:49 hyrules-linux plasmashell[87766]: qrc:/qt/qml/plasma/applet/org/kde/plasma/notifications/global/Globals.qml:521:13: Unable to assign [undefined] to bool
Oct 31 13:58:51 hyrules-linux systemd-coredump[90021]: Process 87766 (plasmashell) of user 1000 dumped core.
                                                       #2  0x00007f7dc9ef639a n/a (org.kde.plasma.notifications.so + 0x9e39a)
                                                       #39 0x000055f23206e2d9 n/a (/usr/bin/plasmashell + 0x292d9)
                                                       #42 0x000055f23206e875 n/a (/usr/bin/plasmashell + 0x29875)
Oct 31 13:58:51 hyrules-linux systemd[1443]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
Oct 31 13:58:51 hyrules-linux systemd[1443]: plasma-plasmashell.service: Failed with result 'core-dump'.
Oct 31 13:58:51 hyrules-linux systemd[1443]: plasma-plasmashell.service: Consumed 15.408s CPU time, 1G memory peak.
Oct 31 13:58:51 hyrules-linux systemd[1443]: plasma-plasmashell.service: Scheduled restart job, restart counter is at 1.
Oct 31 13:58:51 hyrules-linux plasmashell[90035]: Applet preload policy set to 1
Oct 31 13:58:54 hyrules-linux plasmashell[90035]: qrc:/qt/qml/org/kde/plasma/private/clipboard/UrlItemDelegate.qml:49:17: TypeError: Cannot read property 'height' of null
Oct 31 13:58:55 hyrules-linux plasmashell[90035]: qrc:/qt/qml/plasma/applet/org/kde/plasma/brightness/PopupDialog.qml:96: TypeError: Value is null and could not be converted to an object
Oct 31 13:58:55 hyrules-linux plasmashell[90035]: qrc:/qt/qml/plasma/applet/org/kde/plasma/brightness/PopupDialog.qml:96: TypeError: Value is null and could not be converted to an object
Oct 31 13:59:10 hyrules-linux plasmashell[90035]: qrc:/qt/qml/plasma/applet/org/kde/plasma/notifications/global/Globals.qml:521:13: Unable to assign [undefined] to bool

The only way i found to fix this temporarely was to delete plasma-org.kde.plasma.desktop-appletsrc and restart plasmashell so it can recreate it. Then i have to setup my desktop and applets again. I tried to restart replacing the file with a working version and restarting plasmashell but the issue persist even then. I thought at first it was the theme I was using but I reverted to Breeze Dark and it still happen. Eventually I get notifications, clean them and then the applet crashes.

At this point my guess is that something is creating a notification that’s badly formed and when the Notify Applet try to remove it, it crashes. Your help is appreciated. thanks.

Well I found something. It seems to be related to Notifications and the Notification applet. The change i made earlier this week was to disable the notification applet do not disturb. Enabling it started this whole endeavour :slight_smile: I guess enabling it again should temporarely fix it.

I’m not having any issues.

I think I’ve found what causes this. It’s linux mint web apps manager. I use it for messenger. What I did was delete my plasma desktop settings and restarted my pc. As soon as I opened the messenger app, plasma crashed. it’s trying to send a notification for some reason and then plasma dump on the notification applet :

Oct 31 16:21:40 hyrules-linux systemd-coredump[4343]: Process 1704 (plasmashell) of user 1000 dumped core.
                                                      #2  0x00007fbda2acc39a n/a (org.kde.plasma.notifications.so + 0x9e39a)
                                                      #40 0x000055897e8ba2d9 n/a (/usr/bin/plasmashell + 0x292d9)
                                                      #43 0x000055897e8ba875 n/a (/usr/bin/plasmashell + 0x29875)

1 Like

Mint isn’t always mint! :laughing:

2 Likes

Nope still happening… darn it… Then it’s brave. I use both brave as browser and container for the web app…

1 Like

I, too, used to experience severe random screen tearing resulting to glorious plasma crashes. I found out that the were caused by a couple of apps (not really compatible with Wayland session???).

So, I’ve switched from Wayland to X11 (after a decade or so being on Wayland) & everything runs buttery smooth again.

Cheers

Yeah. I’m not feeling too fond of X11 because i’m running 4k monitors. I need the scaling that wayland offers. With X11 you are kinda stuck with predefined scaling which are either too big or too small. I know there are ways around that and there is some ways to get fractionnal scaling but for me Wayland seems faster and more responsive / smoother. Right now It seems that things are stable. I’ve changed some settings and disable better blur and havn’t seen any crash and even return to the Carl theme I was using. So fingers crossed…

I think I may have fix it. I don’t want to be too premature but I did 2 things.

I deleted plasmashellrc in $HOME/.config

I deleted the content of $HOME/.cache/plasmashell

$HOME being your home folder.

I’ll get back in a couple of days and mark it as solved if this indeed fixed my plasmashell crashes. Since doing this a couple of minutes ago, I didn’t had a crash opening the notification applet and plasmashell didn’t crash either. :crossed_fingers:

NOTE : Deleting the plasmashellrc file will reset some of your config for plasma.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.