Created attachment 132329 [details] Backtrace 01 SUMMARY Upon starting Plasma, kactivitymanagerd crashes then crashes again when using Dolphin or System settings. STEPS TO REPRODUCE 1. Reboot and wait for Plasma 2. Crash OBSERVED RESULT kactivitymanagerd crashes rendering impossible to use Activities. EXPECTED RESULT It should not crash. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.20 KDE Plasma Version: 5.20.0 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.0 Kernel Version: 5.4.0-48-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i5-4670 CPU @ 3.40GHz Memory: 15.6 GiB of RAM Graphics Processor: GeForce GTX 1060 3GB/PCIe/SSE2 ADDITIONAL INFORMATION Specific VERSION with this problem is 5.20.0-0xneon+20.04+focal+build10 downgrading to 5.19.5-0xneon+20.04+focal+build9 is a workaround to maintain activities working with no noticeable drawback. Also, https://bugs.kde.org/show_bug.cgi?id=426963 Talks about a crash on version 5.20, but I don't know if its related or not. Their trace back is not a segmentation fault, so opted for opening this ticket.
Git commit 4e48431b0b4d9b8d73002d55ffb01d2a864f1b91 by Ivan Čukić. Committed on 14/10/2020 at 08:43. Pushed by ivan into branch 'ivan/fix-dangling-reference-crash-in-db-error-handling'. Fix a dangling reference to the list of database files M +2 -1 src/service/plugins/sqlite/Database.cpp https://invent.kde.org/plasma/kactivitymanagerd/commit/4e48431b0b4d9b8d73002d55ffb01d2a864f1b91
that patch fixed it for me
Git commit 847c1dbed6b422211285fb19d7fd07d8112349ff by Ivan Čukić. Committed on 15/10/2020 at 06:45. Pushed by ivan into branch 'master'. Fix a dangling reference to the list of database files M +2 -1 src/service/plugins/sqlite/Database.cpp https://invent.kde.org/plasma/kactivitymanagerd/commit/847c1dbed6b422211285fb19d7fd07d8112349ff
Git commit 590778d6f105e11f4521d5bed65ac0e30b086132 by Ivan Čukić. Committed on 15/10/2020 at 06:49. Pushed by ivan into branch 'Plasma/5.20'. Fix a dangling reference to the list of database files M +2 -1 src/service/plugins/sqlite/Database.cpp https://invent.kde.org/plasma/kactivitymanagerd/commit/590778d6f105e11f4521d5bed65ac0e30b086132
@Albert Great, thanks for testing!
*** Bug 434576 has been marked as a duplicate of this bug. ***