JDK-6179434 : SIGBUS from ZipFile.getEntry
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2004-10-14
  • Updated: 2010-04-03
  • Resolved: 2005-12-17
Related Reports
Duplicate :  
Description
While running the NetBeans IDE (a development build) using JDK 1.5.0 b64, the VM suddenly crashed with a SIGBUS. I don't recall exactly what I was doing at the time in the IDE; nothing unusual.

I saw a VM crash also from ZIP-handling code in 1.5.0 b64 a few weeks ago, but unfortunately lost the crash log, so I am not sure if that was the same error.

The Java thread involved was running javac in the background to look for errors in source code. Impossible to say which ZipFile was involved. It is possible that some *.zip file was deleted (or rewritten) on disk suddenly, but I do not recall doing anything that would have caused such a change on disk in the time leading up to the crash.

No known steps to reproduce, unfortunately, so should be closed if you can't see anything from the crash log that indicates a particular bug in the code that could be fixed.
###@###.### 10/14/04 20:59 GMT

Comments
EVALUATION This is very likely to be the crash when zip files are replaced/deleted while in use. That is the only known cause of crashes in jar/zip in normal use. This is a known problem, and very hard to fix without unacceptable performance degradation. I intend to close this as a dup of .... hmmmm, why can't I find the bug to dup ?? ###@###.### 10/14/04 21:43 GMT Perhaps you are thinking of CR #4425695? ###@###.### 10/14/04 22:26 GMT Indeed. Thank you very much. I think I have trouble finding that one because it's in the unexpected place java/runtime. 4425695: Updating jar files crashes running programs ###@###.### 10/14/04 23:46 GMT
14-10-2004