kactivitymanagerd crashes constantly in Plasma 5.20

Since upgrading from Plasma 5.18 to Plasma 5.20 (openSUSE Tumbleweed) I get constant notifications about a crash occurring in the system tray. The system process crashing is kactivitymanagerd, occurring whenever I open certain KDE applications or navigating (changing directories) in Dolphin. Is the cause known and a bug report opened, or should I add this to the bug tracker?

https://i.imgur.com/0vtPwkC.png

5.20 out… let me get it and see what happens! ;-))

https://bugs.kde.org/show_bug.cgi?id=427650

Thanks! Hope that fix can be in very soon.

I had the same problem and here is what I did:


bz@orion:~ > cd ./.local/share/kactivitymanagerd/resources
bz@orion:~/.local/share/kactivitymanagerd/resources > ll
total 240
drwxrwxr-x 4 bz users   4096 Oct 17 09:54 **.**
drwxrwxr-x 3 bz users   4096 Nov  5  2015 **..**
-rw-r--r-- 1 bz users   4096 Oct 17 09:52 database
-rw-r--r-- 1 bz users  32768 Oct 18 06:01 database-shm
-rw-r--r-- 1 bz users 185432 Oct 18 06:01 database-wal
-rw-r--r-- 1 bz users   2318 Oct 17 09:52 errors.log
drwxr-xr-x 2 bz users   4096 Oct 18 06:01 **test-backup**
drwxr-xr-x 2 bz users   4096 Oct 17 09:52 **working-backup**

Look at your errors.log. Kill the current kactivitymanagerd, remove the 3 files database, database-shm, database-wal, and restart the kactivitymanagerd daemon by user. It recreates all the files clean, and I did not get the error message again.

Thanks, that did it. Navigating to ~/.local/share/kactivitymanagerd/resources and deleting database + database-shm + database-wal makes the crashes go away. Only annoyance was that all favorites were removed from the kickoff launcher and I had to add them back in, other than that all is working well once more.