我有两个 Eclipse 实例。
旧实例
使用了几个月。从 Helios 升级到 Juno。JRE 1.6。最近开始崩溃Java error code -1
。所以我决定重新开始:
新实例
全新下载的 Juno。JRE 1.7。从一开始,就会突然随机消失。没有崩溃消息,没有日志条目,没有进程驻留。只是工作,工作,工作,噗!消失了!崩溃时甚至不会自动保存。
电脑规格
- 带有最新更新的 Windows XP SP3
- 奔腾4
- HP Compaq 台式机
可能的原因是什么?有什么办法可以解决这个问题吗?
更新:
设法找到错误日志。重点如下:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e832906, pid=3648, tid=1632
#
# JRE version: 7.0_13-b20
# Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode windows-x86 )
# Problematic frame:
# V [jvm.dll+0x72906]
--------------- T H R E A D ---------------
Current thread (0x02e6ac00): VMThread [stack: 0x03160000,0x03260000] [id=1632]
Register to memory mapping:
EAX=0x00000042 is an unknown value
EBX=0x0325fb7c is an unknown value
ECX=0x30924980 is an oop
{constMethod}
- klass: {other class}
- method: 0x309249a0 {method} 'equals' '(Ljava/lang/Object;)Z' in 'org/eclipse/swt/graphics/RGB'
- exceptions: 0x30011128
EDX=0x3ffffffe is an unallocated location in the heap
ESP=0x0325fb2c is an unknown value
EBP=0x0325fb54 is an unknown value
ESI=
[error occurred during error reporting (printing register info), id 0xc0000005]
Stack: [0x03160000,0x03260000], sp=0x0325fb2c, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x72906]
...
C [MSVCR100.dll+0x5c6de] endthreadex+0x3a
C [MSVCR100.dll+0x5c788] endthreadex+0xe4
C [kernel32.dll+0xb729] GetModuleFileNameA+0x1ba
VM_Operation (0x0d65f854): GenCollectFull, mode: safepoint, requested by thread 0x41e5b400