今天要用svn下载项目,发现eclipse中的svn插件不知道什么时候没有了,只好从官方网站重新安装了一个svn的eclipse插件,安装很快也很顺利,就是傻瓜式的下一步,然后就是消耗时间的等待,插件下载好,并安装好了,提示重启eclipse。按照svn的提示,重新启动eclipse,插件中已经能看到svn插件,虽然不是很明显,但是还是能找到。
不管这么多,点开项目导入,把服务器项目的svn地址录入到svn的访问地址中,就等着svn这大爷的反应,“嘣。。。”,系统弹出了一个框,eclipse没了,弹出来的框是我们使用eclipse的人员最怕看到的“eclipse崩溃”窗口,我想,是不是内存不够用导致的?把eclipse中在建的项目都卸载,再次尝试,还是崩溃。把eclipse的内存调大,还是崩溃。。。。。奶奶的,怎么回事?查看eclipse崩溃的日志
# # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x08cd832c, pid=3020, tid=4232 # # Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode, sharing windows-x86) # Problematic frame: # C [libapr-1.dll+0x832c] # # 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 (0x04557400): JavaThread "ModalContext" [_thread_in_native, id=4232, stack(0x08c80000,0x08cd0000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000000 Registers: EAX=0x08931090, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000 ESP=0x08cc87f8, EBP=0x08cc8804, ESI=0x0896c970, EDI=0x00000000 EIP=0x08cd832c, EFLAGS=0x00010246 Top of Stack: (sp=0x08cc87f8) 0x08cc87f8: 00000000 0896c970 08931090 08cca830 0x08cc8808: 083b1f32 08cca82c 08931090 00000000 0x08cc8818: 00000000 00000000 0896c970 08931090 0x08cc8828: 00000000 08931090 00000000 08931090 0x08cc8838: 0895e5b8 6eec8461 08931090 00000010 0x08cc8848: 6ee40000 6eec11f2 08931090 0895e5b8 0x08cc8858: 6eec1210 6eec8570 08931090 08933058 0x08cc8868: 08931090 08931090 00000001 003a0044 Instructions: (pc=0x08cd832c) 0x08cd831c: 89 55 10 53 8b 5d 14 56 57 85 db 75 03 8b 58 18 0x08cd832c: 8b 03 bf 01 00 00 00 3b c7 0f 82 1d 01 00 00 8b Stack: [0x08c80000,0x08cd0000], sp=0x08cc87f8, free space=289k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libapr-1.dll+0x832c] 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.info2(Ljava/lang/String;Lorg/tigris/subversion/javahl/Revision;Lorg/tigris/subversion/javahl/Revision;Z)[Lorg/tigris/subversion/javahl/Info2;+0 j org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getInfo(Lorg/tigris/subversion/svnclientadapter/SVNUrl;)Lorg/tigris/subversion/svnclientadapter/ISVNInfo;+50 j org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation.validateConnection(Lorg/eclipse/core/runtime/IProgressMonitor;)V+10 j org.tigris.subversion.subclipse.ui.wizards.NewLocationWizard$1.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+7 j org.eclipse.jface.operation.ModalContext$ModalContextThread.run()V+15 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x04557400 JavaThread "ModalContext" [_thread_in_native, id=4232, stack(0x08c80000,0x08cd0000)] 0x05d7bc00 JavaThread "Cleanup" daemon [_thread_in_native, id=3412, stack(0x08580000,0x085d0000)] 0x05d56800 JavaThread "MyEclipse Thread" [_thread_blocked, id=6140, stack(0x08530000,0x08580000)] 0x05c0d000 JavaThread "Worker-4" [_thread_blocked, id=5872, stack(0x084e0000,0x08530000)] 0x05c0c400 JavaThread "Worker-3" [_thread_blocked, id=5864, stack(0x07910000,0x07960000)] 0x05c0c000 JavaThread "Worker-2" [_thread_blocked, id=5860, stack(0x078c0000,0x07910000)] 0x05c04800 JavaThread "Worker-1" [_thread_blocked, id=5856, stack(0x07870000,0x078c0000)] 0x04cdb000 JavaThread "SocketListener0-1" [_thread_blocked, id=4420, stack(0x07ca0000,0x07cf0000)] 0x04cdd400 JavaThread "SocketListener0-0" [_thread_blocked, id=4416, stack(0x07c50000,0x07ca0000)] 0x04cfb800 JavaThread "Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=50313]" [_thread_in_native, id=4412, stack(0x07c00000,0x07c50000)] 0x04cd2000 JavaThread "SessionScavenger" daemon [_thread_blocked, id=4408, stack(0x07bb0000,0x07c00000)] 0x04d06800 JavaThread "Java indexing" daemon [_thread_blocked, id=424, stack(0x07b60000,0x07bb0000)] 0x059e9400 JavaThread "Worker-0" [_thread_blocked, id=2444, stack(0x03be0000,0x03c30000)] 0x030f5c00 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=900, stack(0x037d0000,0x03820000)] 0x030f2400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=2184, stack(0x03730000,0x03780000)] 0x02d52400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1280, stack(0x02fc0000,0x03010000)] 0x02d48c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3076, stack(0x02f70000,0x02fc0000)] 0x02d47400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2376, stack(0x02f20000,0x02f70000)] 0x02d63400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3012, stack(0x02ed0000,0x02f20000)] 0x02d04000 JavaThread "Finalizer" daemon [_thread_blocked, id=3440, stack(0x02e80000,0x02ed0000)] 0x02cff800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2780, stack(0x02e30000,0x02e80000)] 0x00947000 JavaThread "main" [_thread_in_native, id=3940, stack(0x009e0000,0x00a30000)] Other Threads: 0x02cfe000 VMThread [stack: 0x02de0000,0x02e30000] [id=2640] 0x02d53c00 WatcherThread [stack: 0x03010000,0x03060000] [id=1760] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 9088K, used 1923K [0x0e1e0000, 0x0ebb0000, 0x0f590000) eden space 8128K, 11% used [0x0e1e0000, 0x0e2d0cc0, 0x0e9d0000) from space 960K, 100% used [0x0eac0000, 0x0ebb0000, 0x0ebb0000) to space 960K, 0% used [0x0e9d0000, 0x0e9d0000, 0x0eac0000) tenured generation total 121024K, used 95694K [0x0f590000, 0x16bc0000, 0x1e1e0000) the space 121024K, 79% used [0x0f590000, 0x15303ad8, 0x15303c00, 0x16bc0000) compacting perm gen total 131072K, used 34479K [0x1e1e0000, 0x261e0000, 0x2a9e0000) the space 131072K, 26% used [0x1e1e0000, 0x2038bc30, 0x2038be00, 0x261e0000) ro space 8192K, 67% used [0x2a9e0000, 0x2af47448, 0x2af47600, 0x2b1e0000) rw space 12288K, 53% used [0x2b1e0000, 0x2b854d58, 0x2b854e00, 0x2bde0000) --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 2097151k(1779492k free), swap 4194303k(3457480k free) vm_info: Java HotSpot(TM) Client VM (11.2-b01) for windows-x86 JRE (1.6.0_12-b04), built on Jan 17 2009 09:57:14 by "java_re" with MS VC++ 7.1 time: Sun Apr 08 09:45:55 2012 elapsed time: 47 seconds
它大爷的,看到上面日志红色字体的部分吗?本地的svn客户端和服务器与eclipse的插件的svn发生了冲突,卸载一个?不行,你怎么办?
解决办法,改掉环境变量:
就这么个问题,让人崩溃,改好,再次启动eclipse,使用svn就ok了