[Bug 160284] bad mmap causes cores in KPCMemoryDevice

Michael Pyne mpyne at purinchu.net
Fri May 30 04:06:10 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         




------- Additional Comments From mpyne purinchu net  2008-05-30 04:06 -------
KPixmapCache::deleteCache(name) is static, and can therefore be called at any time.  So, the KPixmapCache code needs to be able to handle SIGBUS at basically any time in case the cache gets deleted out from under code that has the cache mmap()'ed.

What we can (try) to do in the interim is to ensure that all code calling deleteCache() is only called in situations where the cache is not mmap()'ed.

I noticed that mmap support can be disabled.  Is this an enormous slowdown if disabled or can we disable it by default until this is more ironclad?


More information about the Kdelibs-bugs mailing list