Summary: | [KSharedDataCache] Crash when disk is full | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | omega <biasquez> |
Component: | kshareddatacache | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | acb, Alexandr.Kara, jnelson-kde, marsu1, mpyne, ssvdale, subcoolent |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
omega
2010-07-19 22:00:10 UTC
Bug 245172 has a different backtrace but refers to the same error. *** Bug 253124 has been marked as a duplicate of this bug. *** *** Bug 259347 has been marked as a duplicate of this bug. *** *** Bug 263580 has been marked as a duplicate of this bug. *** Git commit 7237842546dd284b388368afe3cc420c48cc51aa by Michael Pyne. Committed on 13/02/2011 at 05:31. Pushed by mpyne into branch 'master'. Try to ensure disk cache is fully on-disk. KSharedDataCache will use posix_fallocate() if it is available to try to ensure that the file used for the disk cache is actually fully committed to disk before using it. This should hopefully avoid crashes due to lack of disk space. Not all filesystems support posix_fallocate. If that function is not claimed to be supported at compile time then a warning is issued, but there are no other functionality changes. If the system claims to support posix_fallocate and still fails, then it is assumed there is really no space and KSharedDataCache will fallback to private memory. This corresponds to KDE Platform 4.7. I intend to backport, but somehow 4.6 and 4.7 are already different enough that the patch wouldn't have been a mere merge or cherry-pick, so perhaps in a few days once people other than myself have had time to test. CCBUG:245173 M +3 -1 kdecore/util/kshareddatacache.cpp M +45 -0 kdecore/util/kshareddatacache_p.h http://commits.kde.org/kdelibs/7237842546dd284b388368afe3cc420c48cc51aa *** Bug 268940 has been marked as a duplicate of this bug. *** Created attachment 63142 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0
- What I was doing when the application crashed:
I was closing gmx sms manager, a wine programm
-- Backtrace (Reduced):
#6 memcpy () at ../sysdeps/x86_64/memcpy.S:79
#7 0x00007f3e6685035d in KSharedDataCache::insert (this=0xe81040, key=<value optimized out>, data=...) at /usr/include/bits/string3.h:52
#8 0x00007f3e66db316d in KImageCache::insertImage (this=0xe81040, key=..., image=...) at ../../kdeui/util/kimagecache.cpp:103
#9 0x00007f3e66db3696 in KImageCache::insertPixmap (this=0xe81040, key=..., pixmap=...) at ../../kdeui/util/kimagecache.cpp:119
#10 0x00007f3e68ad48b2 in Plasma::ThemePrivate::scheduledCacheUpdate (this=0x7d88a0) at ../../plasma/theme.cpp:302
Created attachment 67566 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2
- What I was doing when the application crashed:
attempting to clear up more space. The screen keeps flashing, not allowing me to clear the trash.
-- Backtrace (Reduced):
#8 0x00d35c86 in operator int (this=0x89f6688, key=..., data=...) at /usr/include/bits/string3.h:52
#9 cachePageSize (this=0x89f6688, key=..., data=...) at ../../kdecore/util/kshareddatacache.cpp:361
#10 page (this=0x89f6688, key=..., data=...) at ../../kdecore/util/kshareddatacache.cpp:481
#11 page (this=0x89f6688, key=..., data=...) at ../../kdecore/util/kshareddatacache.cpp:511
#12 KSharedDataCache::insert (this=0x89f6688, key=..., data=...) at ../../kdecore/util/kshareddatacache.cpp:1446
|