Bug 514860

Summary: plasmashell occasionally fails to open sycoca database on boot
Product: [Plasma] plasmashell Reporter: Jin Liu <ad.liu.jin>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, kdedev, nate
Priority: NOR    
Version First Reported In: 6.5.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=511469
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jin Liu 2026-01-20 10:30:52 UTC
Occasionally (like 1 in 10 times), plasmashell boots with all empty icons. And the log says it "Could not open sycoca database":

1月 20 18:19:28 laptop-jin-mi plasmashell[1591]: Could not find required file "mainscript" for package "/usr/share/plasma/plasmoids/org.kde.plasma.icontasks/">
1月 20 18:19:29 laptop-jin-mi plasmashell[1591]: Member availWidth of the object AppletContainer_QMLTYPE_171_QML_175 overrides a member of the base object. Co>
1月 20 18:19:29 laptop-jin-mi plasmashell[1591]: Member availHeight of the object AppletContainer_QMLTYPE_171_QML_175 overrides a member of the base object. C>
1月 20 18:19:33 laptop-jin-mi plasmashell[1591]: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app>
1月 20 18:19:33 laptop-jin-mi plasmashell[1591]: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
1月 20 18:19:36 laptop-jin-mi plasmashell[1591]: Error, KSycocaFactory (id = 1 ) not found!
1月 20 18:19:36 laptop-jin-mi plasmashell[1591]: Could not open sycoca database, you must run kbuildsycoca first!
1月 20 18:19:37 laptop-jin-mi plasmashell[1591]: Entry is not valid "/usr/share/applications/vivaldi-stable.desktop" 0x55b11615e3b0
1月 20 18:19:37 laptop-jin-mi plasmashell[1591]: Entry is not valid "applications:vivaldi-stable.desktop" 0x55b11615e3b0
1月 20 18:19:37 laptop-jin-mi plasmashell[1591]: Entry is not valid "vivaldi-stable.desktop" 0x55b11615e3b0

The problem would be gone the next boot.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.90
KDE Frameworks Version: 6.22.0
Qt Version: 6.11.0
Kernel Version: 6.18.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics
Comment 1 TraceyC 2026-01-20 20:53:53 UTC
I'm not seeing this on Plasma built from git-master
Comment 2 Jin Liu 2026-01-21 02:18:33 UTC
(In reply to TraceyC from comment #1)
> I'm not seeing this on Plasma built from git-master

I've never seen this in 6.5 or earlier. So may be 6.6-beta only.