[Bug 160284] bad mmap causes cores in KPCMemoryDevice

Michael Pyne mpyne at purinchu.net
Sun Jun 1 05:13:28 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-06-01 05:13 -------
SVN commit 815057 by mpyne:

Disable the on disk pixmap cache (affects icon caching) as this causes crashes for some use cases, as
discussed on bug 160284.  There are two known causes:

1. Alignment of mmap()'ed data is off, which on some architectures results in a SIGBUS.
2. We can also receive SIGBUS for trying to access mmap()'ed pages where the underlying file has been
   truncated, which has also been an issue.

I'm working on making the code properly handle the SIGBUS signal which we can receive if our mmap()'ed
cache is deleted from under us.  I will also fix a separate issue with alignment of the mmap()'ed data if
I can fix the SIGBUS issue.

CCBUG:160284


 M  +2 -1      kpixmapcache.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=815057


More information about the Kdelibs-bugs mailing list