Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 234280

Summary: JVM crashes on startup of Eclipse
Product: [Eclipse Project] Equinox Reporter: John <ceputter>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, remy.suen, tjwatson
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description John CLA 2008-05-27 19:41:04 EDT
Build ID: don't know

Steps To Reproduce:
1. Install windows-x86 JRE (1.6.0_06)
2. Get either Eclipse Europa or Ganymede
3. Run and crash


More information:
System Vista 64, Intel Q6600 processor.

Recently the JVM updated itself and since then both Europa and Ganymede crash on startup.

Can someone tell me how to force an older JVM to be used to run eclipse?

See below error log for details.


Error log:

=============================================================

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x07847bfc, pid=408, tid=4360
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [libapr-1.dll+0x7bfc]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x0562d000):  JavaThread "Worker-0" [_thread_in_native, id=4360, stack(0x06090000,0x06190000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x02114168, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
ESP=0x06188a40, EBP=0x06188a4c, ESI=0x02118160, EDI=0x00000000
EIP=0x07847bfc, EFLAGS=0x00010246

Top of Stack: (sp=0x06188a40)
0x06188a40:   00000000 02118160 02114168 0618aa78
0x06188a50:   07821f32 0618aa74 02114168 00000000
0x06188a60:   00000000 00000000 02118160 02114168
0x06188a70:   00000000 02114168 00000000 02114168
0x06188a80:   02114208 6eec84f1 02114168 00000010
0x06188a90:   6ee40000 6eec11f2 02114168 02114208
0x06188aa0:   6eec1210 6eec8610 02114168 021141b8
0x06188ab0:   02114168 02114168 00000005 003a0043 

Instructions: (pc=0x07847bfc)
0x07847bec:   89 55 10 53 8b 5d 14 56 57 85 db 75 03 8b 58 18
0x07847bfc:   8b 03 bf 01 00 00 00 3b c7 0f 82 19 01 00 00 8b 


Stack: [0x06090000,0x06190000],  sp=0x06188a40,  free space=994k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libapr-1.dll+0x7bfc]
C  [libapriconv-1.dll+0x1f32]
C  [libapriconv-1.dll+0x1da4]
C  [_tbl_simple.so+0x123b]
C  [_tbl_simple.so+0x11c4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x05777000 JavaThread "Thread-2" [_thread_blocked, id=4580, stack(0x064c0000,0x065c0000)]
  0x056e7c00 JavaThread "Worker-1" [_thread_blocked, id=3632, stack(0x06380000,0x06480000)]
  0x0562a800 JavaThread "Thread-1" [_thread_blocked, id=4384, stack(0x06240000,0x06340000)]
=>0x0562d000 JavaThread "Worker-0" [_thread_in_native, id=4360, stack(0x06090000,0x06190000)]
  0x0544a800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=4820, stack(0x05bf0000,0x05cf0000)]
  0x0544a000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=4628, stack(0x05ab0000,0x05bb0000)]
  0x0544bc00 JavaThread "State Data Manager" daemon [_thread_blocked, id=2700, stack(0x05900000,0x05a00000)]
  0x02618400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1508, stack(0x05020000,0x05120000)]
  0x02611800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4476, stack(0x04ee0000,0x04fe0000)]
  0x02610c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3548, stack(0x04da0000,0x04ea0000)]
  0x02608000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5040, stack(0x04c60000,0x04d60000)]
  0x02600800 JavaThread "Finalizer" daemon [_thread_blocked, id=4692, stack(0x04b20000,0x04c20000)]
  0x025ffc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4808, stack(0x04a20000,0x04b20000)]
  0x025b7800 JavaThread "main" [_thread_in_native, id=2324, stack(0x00080000,0x00180000)]

Other Threads:
  0x025fe800 VMThread [stack: 0x04920000,0x04a20000] [id=2828]
  0x02629c00 WatcherThread [stack: 0x05160000,0x05260000] [id=1456]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 2880K, used 2715K [0x14510000, 0x14820000, 0x158c0000)
  eden space 2624K,  93% used [0x14510000, 0x14776c48, 0x147a0000)
  from space 256K, 100% used [0x147a0000, 0x147e0000, 0x147e0000)
  to   space 256K,   0% used [0x147e0000, 0x147e0000, 0x14820000)
 tenured generation   total 37824K, used 13907K [0x158c0000, 0x17db0000, 0x24510000)
   the space 37824K,  36% used [0x158c0000, 0x16654eb8, 0x16655000, 0x17db0000)
 compacting perm gen  total 13824K, used 13641K [0x24510000, 0x25290000, 0x2c510000)
   the space 13824K,  98% used [0x24510000, 0x25262580, 0x25262600, 0x25290000)
    ro space 8192K,  62% used [0x2c510000, 0x2ca12a60, 0x2ca12c00, 0x2cd10000)
    rw space 12288K,  52% used [0x2cd10000, 0x2d3586e0, 0x2d358800, 0x2d910000)

Dynamic libraries:
0x00400000 - 0x0040d000 	N:\_devel\eclipse\eclipse.exe
0x776b0000 - 0x77800000 	C:\Windows\SysWOW64\ntdll.dll
0x76140000 - 0x76250000 	C:\Windows\syswow64\kernel32.dll
0x76300000 - 0x763d0000 	C:\Windows\syswow64\USER32.dll
0x75ce0000 - 0x75d70000 	C:\Windows\syswow64\GDI32.dll
0x75910000 - 0x759cf000 	C:\Windows\syswow64\ADVAPI32.dll
0x770a0000 - 0x77190000 	C:\Windows\syswow64\RPCRT4.dll
0x758b0000 - 0x75910000 	C:\Windows\syswow64\Secur32.dll
0x74130000 - 0x741b6000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\COMCTL32.dll
0x76250000 - 0x762fa000 	C:\Windows\syswow64\MSVCRT.dll
0x76460000 - 0x764c0000 	C:\Windows\system32\IMM32.DLL
0x77190000 - 0x77257000 	C:\Windows\syswow64\MSCTF.dll
0x75b80000 - 0x75b89000 	C:\Windows\syswow64\LPK.DLL
0x75b00000 - 0x75b7d000 	C:\Windows\syswow64\USP10.dll
0x72000000 - 0x72012000 	N:\_devel\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
0x75810000 - 0x75818000 	C:\Windows\system32\VERSION.dll
0x73fd0000 - 0x74050000 	C:\Windows\system32\uxtheme.dll
0x75b90000 - 0x75cd4000 	C:\Windows\system32\ole32.dll
0x6d7c0000 - 0x6da10000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\client\jvm.dll
0x740f0000 - 0x74123000 	C:\Windows\system32\WINMM.dll
0x77260000 - 0x772ec000 	C:\Windows\syswow64\OLEAUT32.dll
0x745f0000 - 0x74628000 	C:\Windows\system32\OLEACC.dll
0x7c340000 - 0x7c396000 	C:\Windows\system32\MSVCR71.dll
0x74090000 - 0x740bc000 	C:\Windows\system32\apphelp.dll
0x6d270000 - 0x6d278000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\hpi.dll
0x77690000 - 0x77697000 	C:\Windows\syswow64\PSAPI.DLL
0x6d770000 - 0x6d77c000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\verify.dll
0x6d310000 - 0x6d32f000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\java.dll
0x6d7b0000 - 0x6d7bf000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\zip.dll
0x6d570000 - 0x6d583000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\net.dll
0x75f10000 - 0x75f3d000 	C:\Windows\syswow64\WS2_32.dll
0x75f40000 - 0x75f46000 	C:\Windows\syswow64\NSI.dll
0x74880000 - 0x748bb000 	C:\Windows\system32\mswsock.dll
0x738d0000 - 0x738d6000 	C:\Windows\System32\wship6.dll
0x6d590000 - 0x6d599000 	C:\Program Files (x86)\Java\jre1.6.0_06\bin\nio.dll
0x10000000 - 0x1004f000 	N:\_devel\eclipse\configuration\org.eclipse.osgi\bundles\306\1\.cp\swt-win32-3349.dll
0x741c0000 - 0x74354000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\COMCTL32.dll
0x75f50000 - 0x75fa5000 	C:\Windows\syswow64\SHLWAPI.dll
0x75e90000 - 0x75f04000 	C:\Windows\syswow64\comdlg32.dll
0x76550000 - 0x7701e000 	C:\Windows\syswow64\SHELL32.dll
0x75d70000 - 0x75e40000 	C:\Windows\syswow64\WININET.dll
0x77680000 - 0x77683000 	C:\Windows\syswow64\Normaliz.dll
0x75e40000 - 0x75e85000 	C:\Windows\syswow64\iertutil.dll
0x05de0000 - 0x05de8000 	N:\_devel\eclipse\configuration\org.eclipse.osgi\bundles\45\1\.cp\os\win32\x86\localfile_1_0_0.dll
0x6eec0000 - 0x6eee1000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\libapr.dll
0x6ee50000 - 0x6ee59000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\libapriconv.dll
0x07580000 - 0x07688000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\libeay32.dll
0x75820000 - 0x75827000 	C:\Windows\system32\WSOCK32.dll
0x13000000 - 0x130c4000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\libdb44.dll
0x73710000 - 0x73776000 	C:\Windows\system32\MSVCP60.dll
0x07690000 - 0x076c1000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\ssleay32.dll
0x6ee60000 - 0x6ee89000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\libaprutil.dll
0x076d0000 - 0x076e2000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\intl3_svn.dll
0x076f0000 - 0x077f9000 	N:\_devel\eclipse\plugins\org.tigris.subversion.javahl.win32_1.2.4\libsvnjavahl-1.dll
0x74800000 - 0x74805000 	C:\Windows\system32\SHFOLDER.dll
0x6ee40000 - 0x6ee45000 	C:\Program Files (x86)\Subversion\iconv\_tbl_simple.so
0x07820000 - 0x07829000 	C:\Program Files (x86)\Subversion\bin\libapriconv-1.dll
0x07840000 - 0x07860000 	C:\Program Files (x86)\Subversion\bin\libapr-1.dll

VM Arguments:
jvm_args: -Xms40m -Xmx256m -XX:MaxPermSize=128M 
java_command: <unknown>
Launcher Type: generic

Environment Variables:
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.6.0_06\lib\ext\QTJava.zip
PATH=C:\Program Files (x86)\Java\jre1.6.0_06\bin\client;C:\Program Files (x86)\Java\jre1.6.0_06\bin;C:\Program Files (x86)\MiKTeX 2.7\miktex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Enblend-Enfuse\bin\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\MSYS\1.0\mingw\bin;C:\MSYS\1.0\mingw\libexec\gcc\mingw32\3.4.5;N:\_tools\Qt\4.3.4\bin;N:\_tools\Python25;C:\Program Files (x86)\Subversion\bin;C:\apache2triad\bin;C:\apache2triad\perl\bin;C:\apache2triad\php\bin;C:\apache2triad\mysql\bin;C:\apache2triad\opssl\bin;C:\apache2triad\python\bin;C:\apache2triad\pgsql\bin;C:\Program Files (x86)\Graphviz2.18\Bin;
USERNAME=Christiaan
OS=Windows_NT
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 11, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows Vista Build 6000 

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 4192576k(2179704k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Client VM (10.0-b22) for windows-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 01:22:05 by "java_re" with MS VC++ 7.1

time: Wed May 28 01:31:57 2008
elapsed time: 3 seconds
Comment 1 Remy Suen CLA 2008-05-27 23:39:46 EDT
I'm not sure if you're using Subclipse, but please try the workaround suggested here: http://subclipse.tigris.org/faq.html#win32-crash
Comment 2 Thomas Watson CLA 2008-05-28 09:21:58 EDT
Looks like a problem in the library from org.tigris.subversion.javahl.win32 you should open a bug against the plugin provider.
Comment 3 Thomas Watson CLA 2008-05-28 09:30:09 EDT
(In reply to comment #0)
> Recently the JVM updated itself and since then both Europa and Ganymede crash
> on startup.
> 
> Can someone tell me how to force an older JVM to be used to run eclipse?
> 

You can use the -vm option to point to an older VM jre/bin directory.  Try adding the following two lines to the beginning of your eclipse.ini

-vm
<full path to old vm root dir>\jre\bin
Comment 4 Eric Moffatt CLA 2008-05-28 15:55:28 EDT
Ooops, bug 234480 for the messages...
Comment 5 Eric Moffatt CLA 2008-05-28 15:56:36 EDT
Sheesh, sorry guys..I had the wrong bug open...
Comment 6 Thomas Watson CLA 2008-05-28 16:42:14 EDT
Resolve to not eclipse again :)