想到eclipse有错误日志记录的,来到根目录下打开错误日志文件,类似hs_err_pid4256.log这样的文件,内容如下:
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0a68804c, pid=4256, tid=5388 # # JRE version: 6.0_18-b07 # Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode windows-x86 ) # Problematic frame: # C [libapr-1.dll+0x804c] # # 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 (0x0887c000): JavaThread "Worker-1" [_thread_in_native, id=5388, stack(0x08ff0000,0x090f0000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000000 Registers: EAX=0x015f7850, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000 ESP=0x090e8b94, EBP=0x090e8ba0, ESI=0x008bfc88, EDI=0x00000000 EIP=0x0a68804c, EFLAGS=0x00010246 Top of Stack: (sp=0x090e8b94) 0x090e8b94: 00000000 008bfc88 015f7850 090eabcc 0x090e8ba4: 0a671f32 090eabc8 015f7850 00000000 0x090e8bb4: 00000000 00000000 008bfc88 015f7850 0x090e8bc4: 00000000 015f7850 00000000 015f7850 0x090e8bd4: 015f78f0 6eec84f1 015f7850 00000010 0x090e8be4: 6ee40000 6eec11f2 015f7850 015f78f0 0x090e8bf4: 6eec1210 6eec8610 015f7850 015f78a0 0x090e8c04: 015f7850 015f7850 00000001 003a0044 Instructions: (pc=0x0a68804c) 0x0a68803c: 89 55 10 53 8b 5d 14 56 57 85 db 75 03 8b 58 18 0x0a68804c: 8b 03 bf 01 00 00 00 3b c7 0f 82 1a 01 00 00 8b Stack: [0x08ff0000,0x090f0000], sp=0x090e8b94, free space=3e2090e86c8k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libapr-1.dll+0x804c] 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.update([Ljava/lang/String;Lorg/tigris/subversion/javahl/Revision;ZZ)[J+0 j org.tigris.subversion.javahl.SVNClient.update(Ljava/lang/String;Lorg/tigris/subversion/javahl/Revision;Z)J+12 j org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(Ljava/io/File;Lorg/tigris/subversion/svnclientadapter/SVNRevision;Z)J+89 j org.tigris.subversion.subclipse.core.commands.UpdateResourcesCommand.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+94 j org.tigris.subversion.subclipse.ui.operations.UpdateOperation.execute(Lorg/tigris/subversion/subclipse/core/SVNTeamProvider;[Lorg/eclipse/core/resources/IResource;Lorg/eclipse/core/runtime/IProgressMonitor;)V+46 j org.tigris.subversion.subclipse.ui.operations.RepositoryProviderOperation.execute(Lorg/eclipse/core/runtime/IProgressMonitor;)V+142 j org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+35 j org.eclipse.team.internal.ui.actions.JobRunnableContext.run(Lorg/eclipse/jface/operation/IRunnableWithProgress;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+2 j org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+9 j org.eclipse.core.internal.resources.InternalWorkspaceJob.run(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+37 j org.eclipse.core.internal.jobs.Worker.run()V+31 v ~StubRoutines::call_stub 。。。。。。
这个方法并不适合我当前的要求,后来搜索到了这篇文章:
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=900344
从这篇文章来看大致的解决方法有两种:
将系统的环境变量 APR_ICONV_PATH改为APR_ICONV1_PATH
下载Subversion 1.4.3的zip包,将环境变量 APR_ICONV_PATH 指向解压后的 iconv文件夹