Summary: | KDE-Applications won't start -> intCeil(0,0) | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Tobias C. Berner <tcberner> |
Component: | kshareddatacache | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cfeck, mpyne, rakuco |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | http://commits.kde.org/kdelibs/7f0aaa22dfd26d1e0aa4582dd67b835beb97571e | Version Fixed In: | 4.8.4 |
Sentry Crash Report: |
Description
Tobias C. Berner
2011-09-14 16:25:29 UTC
Changing product to kdelibs/shareddatacache. It seems the cache (on-disk) is corrupt somehow. I'm looking at modifying the affected code path to add more sanity checks. But until then, you may want to try removing the cached information to remove the corrupt data. You can do this by deleting the file /var/tmp/kdecache-$USER/icon-cache.kcache in this case (it's probably the icon cache which is corrupted since every KDE application is affected). Yes, removing /var/tmp/kdecache-${USER} solved the problem. Thanks. Please keep this bug open until those sanity checks are added. Git commit 7f0aaa22dfd26d1e0aa4582dd67b835beb97571e by Michael Pyne. Committed on 21/05/2012 at 03:36. Pushed by mpyne into branch 'KDE/4.8'. kshareddatacache: Sanity checking for intCeil. intCeil is only ever used with unsigned int, so remove the template. This allows for proper validation of the denominator, a corrupted-cache exception will be thrown if intCeil is called incorrectly. Passes the kshareddatacache and kiconloader_unittest tests, and my limited fuzz testing of kpat and plasma themes. Should fix bug 282027 and any duplicates mentioning "intCeil(0, 0)" in the backtrace. FIXED-IN:4.8.4 M +5 -2 kdecore/util/kshareddatacache.cpp http://commits.kde.org/kdelibs/7f0aaa22dfd26d1e0aa4582dd67b835beb97571e |