错误摘要
安装 subclipse1.6.5 后,eclipse3.6启动自动关闭,并在错语日志中记录如下信息
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x3752804c, pid=4012, tid=3492
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# C [libapr-1.dll+0x804c]
#
--------------- T H R E A D ---------------
Current thread (0x342fc578): JavaThread "Worker-0" [_thread_in_native, id=3492]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x360dbc58, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
ESP=0x34e68aa4, EBP=0x34e68ab0, ESI=0x33f51538, EDI=0x00000000
EIP=0x3752804c, EFLAGS=0x00010246
Top of Stack: (sp=0x34e68aa4)
0x34e68aa4: 00000000 33f51538 360dbc58 34e6aadc
0x34e68ab4: 35361f32 34e6aad8 360dbc58 00000000
0x34e68ac4: 00000000 00000000 33f51538 360dbc58
0x34e68ad4: 00000000 360dbc58 00000000 360dbc58
0x34e68ae4: 360dbcf8 6eec8461 360dbc58 00000010
0x34e68af4: 6ee40000 6eec11f2 360dbc58 360dbcf8
0x34e68b04: 6eec1210 6eec8570 360dbc58 360dbca8
0x34e68b14: 360dbc58 360dbc58 00000000 003a0043
解决方法
将环境变量 APR_ICONV_PATH移除或改为APR_ICONV1_PATH