一般是在非 eclipse 下面修改了文件,然后未在 eclipse下面进行刷新,运行一会后,就会退出。
查看错误日志:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0628831c, pid=2772, tid=3896
#
# Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode windows-x86)
# Problematic frame:
# C [libapr-1.dll+0x831c]
#
# 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 (0x0478a400): JavaThread "Worker-0" [_thread_in_native, id=3896, stack(0x050d0000,0x051d0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x061918b0, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
ESP=0x051c8850, EBP=0x051c885c, ESI=0x00916100, EDI=0x00000000
EIP=0x0628831c, EFLAGS=0x00010246
Top of Stack: (sp=0x051c8850)
0x051c8850: 00000000 00916100 061918b0 051ca888
0x051c8860: 03ff1f32 051ca884 061918b0 00000000
0x051c8870: 00000000 00000000 00916100 061918b0
0x051c8880: 00000000 061918b0 00000000 061918b0
0x051c8890: 06191950 6eec84f1 061918b0 00000010
0x051c88a0: 6ee40000 6eec11f2 061918b0 06191950
0x051c88b0: 6eec1210 6eec8610 061918b0 06191900
0x051c88c0: 061918b0 061918b0 00000001 003a0043
Instructions: (pc=0x0628831c)
0x0628830c: 89 55 10 53 8b 5d 14 56 57 85 db 75 03 8b 58 18
0x0628831c: 8b 03 bf 01 00 00 00 3b c7 0f 82 1d 01 00 00 8b
Stack: [0x050d0000,0x051d0000], sp=0x051c8850, free space=994k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libapr-1.dll+0x831c]
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)
j org.tigris.subversion.javahl.SVNClient.status(Ljava/lang/String;ZZZZZ)[Lorg/tigris/subversion/javahl/Status;+0
j org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(Ljava/io/File;ZZZZ)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+83
j org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(Ljava/io/File;ZZZ)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+7
j org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(Ljava/io/File;ZZ)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+5
j org.tigris.subversion.subclipse.core.status.NonRecursiveStatusUpdateStrategy.statusesToUpdate(Lorg/eclipse/core/resources/IResource;)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+80
j org.tigris.subversion.subclipse.core.status.StatusCacheManager.refreshStatus(Lorg/eclipse/core/resources/IContainer;Z)[Lorg/eclipse/core/resources/IResource;+58
j org.tigris.subversion.subclipse.core.resourcesListeners.FileModificationManager.refreshStatus([Lorg/eclipse/core/resources/IResource;)V+97
注意看红色部分。
修正方法:
在我的电脑中找到系统 -- 高级 , 把用户的 环境变量和系统变量中的APR_ICONV_PATH改为APR_ICONV1_PATH
然后重新启动eclipse即可