[Bug 160284] bad mmap causes cores in KPCMemoryDevice

Sebastian Sauer mail at dipe.org
Fri Apr 4 00:26:23 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=160284         
mail dipe org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|crash                       |grave



------- Additional Comments From mail dipe org  2008-04-04 00:26 -------
Changed status from crash to grave since there are more components like KWin and Plasma affected in this crash and it may result in an unusable session where only CTRL+SHIFT+BACKSPACE helps.

So, I am able to reproduce this with the Systemsettings=>Appearance=>Icons by switching to another theme though mostly I need to switch 10-20 times till it happens and each time it happens something random like Plasma, Systemsettings or KWin crashes.

The reason is, that at switching the icon-theme it's needed to clear the icon-cache. For this at http://websvn.kde.org/trunk/KDE/kdebase/runtime/kcontrol/icons/iconthemes.cpp?view=markup the KIconCache::deleteCache() is called which works fine but leads to the crash. Even trying to work around this by deleting the cache at http://websvn.kde.org/trunk/KDE/kdelibs/kdeui/icons/kiconloader.cpp?view=markup after/before the "mIconCache = new KIconCache;" doesn't fix this.

What helps 100% is to undef USE_MMAP at http://websvn.kde.org/trunk/KDE/kdelibs/kdeui/icons/kpixmapcache.cpp?view=markup


More information about the Kdelibs-bugs mailing list