Bug 213196

Summary: Eclipse constantly crashes
Product: [Eclipse Project] Platform Reporter: David I <david.ishee>
Component: SWTAssignee: Steve Northover <steve_northover>
Status: RESOLVED WORKSFORME QA Contact:
Severity: blocker    
Priority: P3 CC: Olivier_Thomann, remy.suen
Version: 3.3.1Keywords: vm
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Crash log
none
Crash log example #2
none
Crash log example #3
none
Crash log example #4
none
Crash log example #5
none
crash log with jit disabled
none
crash log with 1.5.0_14
none
crash log none

Description David I CLA 2007-12-17 11:53:45 EST
Created attachment 85391 [details]
Crash log

Build ID:  M20071023-1652

Steps To Reproduce:
Startup Eclipse. It will crash while rebuilding workspace

More information:
I originally tried to use the right-click menu to copy a file and paste it in the Package Explorer view. Eclipse now crashes constantly with:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d641e39, pid=2484, tid=5828
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_13-b05 mixed mode, sharing)
# Problematic frame:
# V  [jvm.dll+0x1e39]
#
Comment 1 David I CLA 2007-12-17 11:54:19 EST
Created attachment 85392 [details]
Crash log example #2
Comment 2 David I CLA 2007-12-17 11:54:49 EST
Created attachment 85393 [details]
Crash log example #3
Comment 3 David I CLA 2007-12-17 11:55:15 EST
Created attachment 85394 [details]
Crash log example #4
Comment 4 David I CLA 2007-12-17 11:56:05 EST
Created attachment 85395 [details]
Crash log example #5
Comment 5 Olivier Thomann CLA 2007-12-17 12:20:35 EST
Looks like a VM issue (probably in the JIT).
You can try to use -Djava.compiler=NONE on the command line to disable the JIT.

I would suggest reporting this issue to the VM vendor.

This could be an illegal access in SWT code.
Moving to Platform/SWT for comment.
Comment 6 Steve Northover CLA 2007-12-17 13:00:55 EST
There is nothing in the crashes to go on.  Please attach java -version to this bug report and try a different VM's to see whether the problem goes away.
Comment 7 David I CLA 2007-12-17 13:12:03 EST
>java -version

java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)
Comment 8 Olivier Thomann CLA 2007-12-17 13:30:09 EST
Did you try to disable the JIT ?
Comment 9 David I CLA 2007-12-17 15:03:38 EST
I disabled the JIT and got it to crash again. Attaching crash log #6.
Comment 10 David I CLA 2007-12-17 15:12:31 EST
Created attachment 85414 [details]
crash log with jit disabled
Comment 11 Olivier Thomann CLA 2007-12-17 15:15:57 EST
I would change the VM and try to reproduce the failure.
Reporting to the VM vendor seems to be the right thing to do.

I would close as INVALID since there is nothing that can be done on the Eclipse side to fix it. The failure is clearly in the dll vm.dll.
Comment 12 Steve Northover CLA 2007-12-17 15:18:08 EST
Does any version of Eclipse work for you?  How about 3.2, 3.1 or 3.0?
Comment 13 Steve Northover CLA 2007-12-17 15:28:27 EST
We have yet to prove anything.  Hang on.
Comment 14 David I CLA 2007-12-17 15:40:27 EST
Created attachment 85416 [details]
crash log with 1.5.0_14

Eclipse crashed after upgrading to 1.5.0_14.
Comment 15 David I CLA 2007-12-17 15:52:02 EST
I just re-downloaded eclipse-java-europa-fall2-win32.zip and will use it instead of my original version. I had been using the Update Center to upgrade it. 
Comment 16 David I CLA 2007-12-17 16:10:17 EST
Created attachment 85419 [details]
crash log

I had two projects open, and I tried to close one. This is with a fresh download of eclipse-java-europa-fall2-win32.zip and reusing my old workspace.
Comment 17 David I CLA 2007-12-17 17:22:49 EST
I just ran a bootable CD with the Microsoft Memory Tester and got a memory failure in the LRAND test. This is probably a hardware problem.

We'll see what happens once I can get the memory replaced.
Comment 18 Steve Northover CLA 2007-12-18 09:27:08 EST
Closing as WORKSFORME (for now).