Bug 509238

Summary: plasmashell crashes endlessly in a loop, log contains QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Product: [Plasma] plasmashell Reporter: Dick Tracey <traceydick>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: NEEDSINFO BACKTRACE    
Severity: crash CC: kde, kdedev
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dick Tracey 2025-09-07 17:24:10 UTC
Yesterday, I installed and attempted to run open-tv-bin (Arch Linux AUR package), it just caused plasmashell to crash.

Since then, once plasmashell crashes once, it keeps crashing in an endless loop.
I see the error in CLI

kde.plasma.activitiesstats: [Error at ResultSetPrivate::initQuery]: QSqlError("11", "Unable to fetch row", "database disk image is malformed")

SUMMARY


STEPS TO REPRODUCE
1. Install and run open-tv-bin? (Arch Linux AUR package) At the least that's what I was doing when this first happened
2. Once it crashes plasmashell, restart plasmshell manually from CLI
3. 

OBSERVED RESULT
plasmashell crashes again, if I dismiss report bug window, plasmashell restarts and crashes and the loop begins anew...

EXPECTED RESULT
no crashes

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch Linux
KDE Plasma Version:  6.4.4
KDE Frameworks Version:  6.17.0.
Qt Version: 6.9.2

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-09-09 14:49:01 UTC
As the message at the top of the summary says, if something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl ?

Thanks.