stop using mmap for zip I/O

Christos Zoulas christos at zoulas.com
Fri Feb 27 12:21:12 UTC 2015


On Feb 27,  9:34am, aph at redhat.com (Andrew Haley) wrote:
-- Subject: Re: stop using mmap for zip I/O

| On 26/02/15 22:17, Christos Zoulas wrote:
| > There are numerous bug reports about the jvm crashing in libzip...
| > Just google for "libzip java crash". The bottom line is that using
| > mmap is problematic (I can get into more per OS details if necessary)
| > because it will potentially signal when the file size is altered.
| 
| So we catch the signal, right?  Maybe there's something I'm missing...

https://bugs.openjdk.java.net/browse/JDK-8017777

Uncomment the crashReadWrite() test, add a few imports and run it...
[it crashes the jdk with SIGBUS on linux]

christos



More information about the core-libs-dev mailing list