[Bug 160284] bad mmap causes cores in KPCMemoryDevice

Michael Pyne mpyne at purinchu.net
Sun Jun 1 05:05:41 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:05 -------
Sebastian: Does this remove a cache that is not in use by the program (since it now looks by looping over the static mCaches)?  Such behavior is not specified explicitly in the API but I think it would be useful to be able to remove a cache without having to first open it.

I imagine this would also not fix the case where a file was deleted from under an open mmap, such as by a different process calling removeCache().  One way or the other we will have to handle SIGBUS, which is something I will try to work on.


More information about the Kdelibs-bugs mailing list