Bug 30799

Summary: Core dump with J2SDK 1.4.1_01 in java.util.zip.ZipFile.getNextEntry
Product: [Eclipse Project] JDT Reporter: Jochen Hiller <jochen.hiller>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Sample core dump log
none
Sample of core dump log
none
Another sample
none
Another sample
none
Last sample none

Description Jochen Hiller CLA 2003-02-03 04:32:19 EST
Hallo,

I got some core dumps using Eclipse 2.1 M4 and jdk 1.4.1_01 in
  java.util.zip.ZipFile.getNextEntry

Changing back to JDK 1.3.1_06 will solve the problem.

Bye, Jochen

I will attach the log files.
Comment 1 Jochen Hiller CLA 2003-02-03 04:35:31 EST
Created attachment 3266 [details]
Sample core dump log
Comment 2 Jochen Hiller CLA 2003-02-03 04:36:57 EST
Created attachment 3267 [details]
Sample of core dump log
Comment 3 Philipe Mulet CLA 2003-02-03 04:37:34 EST
Feels like a VM problem.
Comment 4 Jochen Hiller CLA 2003-02-03 04:39:20 EST
Created attachment 3268 [details]
Another sample
Comment 5 Jochen Hiller CLA 2003-02-03 04:43:13 EST
Created attachment 3269 [details]
Another sample
Comment 6 Jochen Hiller CLA 2003-02-03 04:43:39 EST
Created attachment 3270 [details]
Last sample
Comment 7 Philipe Mulet CLA 2003-02-03 10:14:32 EST
As I said, this is a VM bug, there is nothing we can do, unless I am missing 
something.

Closing
Comment 8 Klaus Halfmann CLA 2003-02-10 02:43:42 EST
I originally posted this bug to 
http://developer.java.sun.com/developer/bugParade/index.html
with Review ID: 164769
but I cant find any trace of it. I assume this Bug will appear
when two threads (eplipse + compiler ?) access the same zip/jar-file.

The bug happens when recompiling some larger amount of files.

Perhaps somone from the eclipse team could reproduce the bug and
track it down to some reasonable small example and then report it
to sun. Since Im not an eclipse developer I wont be able to do so.

klaus.halfmann@bauer-partner.de
Comment 9 Philipe Mulet CLA 2003-02-10 09:26:03 EST
As said earlier this is a Sun bug, not an Eclipse bug. Closing

As for filling some PR to Sun, any multi-threaded Zip access would reproduce it 
(no need for having Eclipse to demonstrate it), btw Eclipse sources are 
available if you really need them to narrow it down. You don't need to be a 
developper to get Eclipse, we are open source.
Good luck !