Eclipse 已随机停止加载 [英] Eclipse has randommly stopped loading

查看:26
本文介绍了Eclipse 已随机停止加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,在大约一个月的不工作之后,我像往常一样打开了 eclipse(单击任务栏中的图标),然后……什么也没有.有一些硬盘驱动器活动,但没有进程真正保持活动状态,如果它们启动的话.

So, I've gone to open eclipse like I normally do (clicking the icon in my taskbar) after about a month of not working, and... nothing. There is a bit of hard drive activity but no processes actually stay alive, if they start at all.

进一步调查后,我发现如果我以管理员身份运行可执行文件(顺便说一下,我正在运行 Windows 7),就会出现启动画面,但在进度条出现之前它崩溃了,生成了一个名为 hs_err_pid2620 的文件.txt 包含以下内容:

After investigating further I found that the splash screen would come up if I ran the executable as Administrator (I'm running Windows 7 by the way), but before the progress bar appeared it crashed generating a file named hs_err_pid2620.txt containing the following:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000779b0895, pid=2620, tid=996
#
# JRE version: 7.0_03-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (22.1-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [ntdll.dll+0x50895]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x0000000002fef000):  JavaThread "main" [_thread_in_Java, id=996, stack(0x0000000000030000,0x0000000000130000)]

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff

Registers:
RAX=0x000000000012dc68, RBX=0x0000000000000002, RCX=0x000000000012dd38, RDX=0x000000000012dca8
RSP=0x000000000012dc58, RBP=0x000007fee9f266e0, RSI=0x0000000000000020, RDI=0x0000000000000000
R8 =0x0000000000125000, R9 =0x0000000000000003, R10=0x0000000000000000, R11=0x0000000000003b95
R12=0x0000000000000000, R13=0x0000000000000050, R14=0x0000000000000003, R15=0x0000000002fef000
RIP=0x00000000779b0895, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x000000000012dc58)
0x000000000012dc58:   0000000000000202 000000007796b239
0x000000000012dc68:   000007fffffde000 0000000000000051
0x000000000012dc78:   00000000081e5888 000000000012de00
0x000000000012dc88:   0000000000000000 000000000012de70
0x000000000012dc98:   000000006b06e908 000000000000000a
0x000000000012dca8:   0000000000130000 0000000000125000
0x000000000012dcb8:   0000000007a31630 000000000012e4d0
0x000000000012dcc8:   000000000302743a 00000000030273d0
0x000000000012dcd8:   0000000000000000 0000000000000000
0x000000000012dce8:   000000000012e4d0 000000000012e5b0
0x000000000012dcf8:   0000000002ff6038 000000006b1815ab
0x000000000012dd08:   0000000000000000 000000000012e610
0x000000000012dd18:   000056db5fdc4851 000000000012e500
0x000000000012dd28:   0000000002feca70 000000006b181aab
0x000000000012dd38:   000000000012de98 00000000f83af1d8
0x000000000012dd48:   000000000012e500 00000000d825d98b 

Instructions: (pc=0x00000000779b0895)
0x00000000779b0875:   d0 00 00 00 4c 89 a1 d8 00 00 00 4c 89 a9 e0 00
0x00000000779b0885:   00 00 4c 89 b1 e8 00 00 00 4c 89 b9 f0 00 00 00
0x00000000779b0895:   0f ae 81 00 01 00 00 0f 29 81 a0 01 00 00 0f 29
0x00000000779b08a5:   89 b0 01 00 00 0f 29 91 c0 01 00 00 0f 29 99 d0 


Register to memory mapping:

RAX=0x000000000012dc68 is pointing into the stack for thread: 0x0000000002fef000
RBX=0x0000000000000002 is an unknown value
RCX=0x000000000012dd38 is pointing into the stack for thread: 0x0000000002fef000
RDX=0x000000000012dca8 is pointing into the stack for thread: 0x0000000002fef000
RSP=0x000000000012dc58 is pointing into the stack for thread: 0x0000000002fef000
RBP=0x000007fee9f266e0 is an unknown value
RSI=0x0000000000000020 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x0000000000125000 is pointing into the stack for thread: 0x0000000002fef000
R9 =0x0000000000000003 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000003b95 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000050 is an unknown value
R14=0x0000000000000003 is an unknown value
R15=0x0000000002fef000 is a thread


Stack: [0x0000000000030000,0x0000000000130000],  sp=0x000000000012dc58,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x50895]  RtlCaptureContext+0x85

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  blob 0x00000000030274ff
j  java.util.jar.Attributes.putValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+13
j  java.util.jar.Attributes.read(Ljava/util/jar/Manifest$FastInputStream;[B)V+301
j  java.util.jar.Manifest.read(Ljava/io/InputStream;)V+291
j  sun.security.util.SignatureFileVerifier.processImpl(Ljava/util/Hashtable;Ljava/util/List;)V+20
j  sun.security.util.SignatureFileVerifier.process(Ljava/util/Hashtable;Ljava/util/List;)V+9
j  java.util.jar.JarVerifier.processEntry(Lsun/security/util/ManifestEntryVerifier;)V+387
j  java.util.jar.JarVerifier.update(I[BIILsun/security/util/ManifestEntryVerifier;)V+39
j  java.util.jar.JarFile.initializeVerifier()V+107
j  java.util.jar.JarFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;+25
j  sun.misc.URLClassPath$JarLoader$2.getInputStream()Ljava/io/InputStream;+11
j  sun.misc.Resource.cachedInputStream()Ljava/io/InputStream;+9
j  sun.misc.Resource.getByteBuffer()Ljava/nio/ByteBuffer;+1
j  java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+132
j  java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j  java.net.URLClassLoader$1.run()Ljava/lang/Class;+43
j  java.net.URLClassLoader$1.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+70
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+101
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00000000068c2000 JavaThread "Service Thread" daemon [_thread_blocked, id=2096, stack(0x0000000007440000,0x0000000007540000)]
  0x00000000068b8800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3160, stack(0x0000000007340000,0x0000000007440000)]
  0x00000000068b2800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2100, stack(0x0000000007240000,0x0000000007340000)]
  0x00000000068b2000 JavaThread "Attach Listener" daemon [_thread_blocked, id=2136, stack(0x0000000007140000,0x0000000007240000)]
  0x00000000068a6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2144, stack(0x0000000007040000,0x0000000007140000)]
  0x00000000067c9000 JavaThread "Finalizer" daemon [_thread_blocked, id=2856, stack(0x0000000006f40000,0x0000000007040000)]
  0x00000000067bc000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2740, stack(0x0000000006e40000,0x0000000006f40000)]
=>0x0000000002fef000 JavaThread "main" [_thread_in_Java, id=996, stack(0x0000000000030000,0x0000000000130000)]

Other Threads:
  0x00000000067ae800 VMThread [stack: 0x0000000006d40000,0x0000000006e40000] [id=3400]
  0x00000000068d2800 WatcherThread [stack: 0x0000000007540000,0x0000000007640000] [id=2624]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 11968K, used 3878K [0x00000000f8000000, 0x00000000f8d50000, 0x0000000100000000)
  eden space 10304K, 37% used [0x00000000f8000000,0x00000000f83c99e0,0x00000000f8a10000)
  from space 1664K, 0% used [0x00000000f8bb0000,0x00000000f8bb0000,0x00000000f8d50000)
  to   space 1664K, 0% used [0x00000000f8a10000,0x00000000f8a10000,0x00000000f8bb0000)
 PSOldGen        total 27328K, used 0K [0x00000000e8000000, 0x00000000e9ab0000, 0x00000000f8000000)
  object space 27328K, 0% used [0x00000000e8000000,0x00000000e8000000,0x00000000e9ab0000)
 PSPermGen       total 21248K, used 4738K [0x00000000d8000000, 0x00000000d94c0000, 0x00000000e8000000)
  object space 21248K, 22% used [0x00000000d8000000,0x00000000d84a0be0,0x00000000d94c0000)

Code Cache  [0x0000000002ff0000, 0x0000000003260000, 0x0000000005ff0000)
 total_blobs=245 nmethods=26 adapters=172 free_code_cache=48707Kb largest_free_block=49843712

Dynamic libraries:
0x0000000000400000 - 0x000000000044f000     C:UsersAndyDesktopeclipse-java-juno-win32-x86_64eclipseeclipse.exe
0x0000000077960000 - 0x0000000077b09000     C:windowsSYSTEM32
tdll.dll
0x0000000077840000 - 0x000000007795f000     C:windowssystem32kernel32.dll
0x000007fefded0000 - 0x000007fefdf3c000     C:windowssystem32KERNELBASE.dll
0x00000000775e0000 - 0x00000000776da000     C:windowssystem32USER32.dll
0x000007fefea70000 - 0x000007fefead7000     C:windowssystem32GDI32.dll
0x000007fefe220000 - 0x000007fefe22e000     C:windowssystem32LPK.dll
0x000007fefe460000 - 0x000007fefe529000     C:windowssystem32USP10.dll
0x000007feffbd0000 - 0x000007feffc6f000     C:windowssystem32msvcrt.dll
0x000007fefc620000 - 0x000007fefc814000     C:windowsWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9acCOMCTL32.dll
0x000007fefe340000 - 0x000007fefe3b1000     C:windowssystem32SHLWAPI.dll
0x000007fefdc90000 - 0x000007fefdce7000     C:windowssystem32apphelp.dll
0x000007fee9f80000 - 0x000007fee9fda000     C:windowsAppPatchAppPatch64AcLayers.DLL
0x000007fefb9c0000 - 0x000007fefba31000     C:windowssystem32WINSPOOL.DRV
0x000007fef9090000 - 0x000007fef90a8000     C:windowssystem32MPR.dll
0x000007fefe6b0000 - 0x000007fefe7dd000     C:windowssystem32RPCRT4.dll
0x000007fee9b10000 - 0x000007fee9f77000     C:windowsAppPatchAppPatch64AcXtrnal.DLL
0x000007fee9fe0000 - 0x000007feea031000     C:windowsAppPatchAppPatch64AcGenral.DLL
0x000007fefdc60000 - 0x000007fefdc85000     C:windowssystem32SspiCli.dll
0x000007fefe7e0000 - 0x000007fefe9e3000     C:windowssystem32ole32.dll
0x000007fefede0000 - 0x000007feffb68000     C:windowssystem32SHELL32.dll
0x00000000726d0000 - 0x00000000726d3000     C:windowssystem32sfc.dll
0x000007fef7af0000 - 0x000007fef7b00000     C:windowssystem32sfc_os.DLL
0x000007fefd0c0000 - 0x000007fefd0de000     C:windowssystem32USERENV.dll
0x000007fefddc0000 - 0x000007fefddcf000     C:windowssystem32profapi.dll
0x000007fefbd90000 - 0x000007fefbda8000     C:windowssystem32dwmapi.dll
0x000007fefeb00000 - 0x000007fefebdb000     C:windowssystem32ADVAPI32.dll
0x000007fefeae0000 - 0x000007fefeaff000     C:windowsSYSTEM32sechost.dll
0x000007fefe1e0000 - 0x000007fefe20e000     C:windowssystem32IMM32.DLL
0x000007fefe230000 - 0x000007fefe339000     C:windowssystem32MSCTF.dll
0x00000000222f0000 - 0x00000000223f5000     C:Program FilesCheckPointAForceFieldPluginsISWSHEX.dll
0x0000000073c20000 - 0x0000000073ce9000     C:windowsWinSxSamd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_88e41e092fab0294MSVCR80.dll
0x000007fefde70000 - 0x000007fefdeaa000     C:windowssystem32WINTRUST.dll
0x000007fefdf40000 - 0x000007fefe0aa000     C:windowssystem32CRYPT32.dll
0x000007fefde60000 - 0x000007fefde6f000     C:windowssystem32MSASN1.dll
0x0000000073b10000 - 0x0000000073c19000     C:windowsWinSxSamd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_88e41e092fab0294MSVCP80.dll
0x000007fefc5a0000 - 0x000007fefc5cd000     C:windowssystem32
tmarta.dll
0x000007feffb70000 - 0x000007feffbc2000     C:windowssystem32WLDAP32.dll
0x0000000072000000 - 0x0000000072012000     C:UsersAndyDesktopeclipse-java-juno-win32-x86_64eclipsepluginsorg.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813eclipse_1503.dll
0x000007fefcd60000 - 0x000007fefcd6c000     C:windowssystem32VERSION.dll
0x000007fefc380000 - 0x000007fefc3d6000     C:windowssystem32uxtheme.dll
0x000007fefdcf0000 - 0x000007fefdcff000     C:windowssystem32CRYPTBASE.dll
0x000007fefe3c0000 - 0x000007fefe459000     C:windowssystem32CLBCatQ.DLL
0x000007fefe530000 - 0x000007fefe607000     C:windowssystem32OLEAUT32.dll
0x0000000010000000 - 0x000000001000a000     C:Program Files (x86)LenovoEnergy ManagementBatteryTestDLL.dll
0x000000006afc0000 - 0x000000006b69a000     C:Program FilesJavajdk1.7.0_03jreinserverjvm.dll
0x000007fef1390000 - 0x000007fef1399000     C:windowssystem32WSOCK32.dll
0x000007fefe190000 - 0x000007fefe1dd000     C:windowssystem32WS2_32.dll
0x000007fefe210000 - 0x000007fefe218000     C:windowssystem32NSI.dll
0x000007fefaf60000 - 0x000007fefaf9b000     C:windowssystem32WINMM.dll
0x0000000077b20000 - 0x0000000077b27000     C:windowssystem32PSAPI.DLL
0x000000006bca0000 - 0x000000006bd71000     C:windowssystem32MSVCR100.dll
0x0000000071790000 - 0x000000007179f000     C:Program FilesJavajdk1.7.0_03jreinverify.dll
0x000000006bc70000 - 0x000000006bc98000     C:Program FilesJavajdk1.7.0_03jreinjava.dll
0x000000006cc60000 - 0x000000006cc75000     C:Program FilesJavajdk1.7.0_03jreinzip.dll
0x000007fefd690000 - 0x000007fefd6a7000     C:windowssystem32CRYPTSP.dll
0x000007fefd390000 - 0x000007fefd3d7000     C:windowssystem32
saenh.dll
0x000000006bc50000 - 0x000000006bc69000     C:Program FilesJavajdk1.7.0_03jrein
et.dll
0x000007fefd630000 - 0x000007fefd685000     C:windowssystem32mswsock.dll
0x000007fefd620000 - 0x000007fefd627000     C:windowsSystem32wship6.dll
0x000007fefb030000 - 0x000007fefb045000     C:windowssystem32NLAapi.dll
0x000007fef2750000 - 0x000007fef2765000     C:windowssystem32
apinsp.dll
0x000007fef2770000 - 0x000007fef2789000     C:windowssystem32pnrpnsp.dll
0x000007fefd4b0000 - 0x000007fefd50b000     C:windowssystem32DNSAPI.dll
0x000007fef2730000 - 0x000007fef273b000     C:windowsSystem32winrnr.dll
0x000007fef2740000 - 0x000007fef2750000     C:windowssystem32wshbth.dll
0x0000000072220000 - 0x0000000072246000     C:Program FilesBonjourmdnsNSP.dll
0x000007fefa8e0000 - 0x000007fefa907000     C:windowssystem32Iphlpapi.DLL
0x000007fefa8c0000 - 0x000007fefa8cb000     C:windowssystem32WINNSI.DLL
0x000007fef4750000 - 0x000007fef477f000     C:Program FilesCommon FilesMicrosoft SharedWindows LiveWLIDNSP.DLL
0x000007fefcfa0000 - 0x000007fefcfa7000     C:windowsSystem32wshtcpip.dll
0x000007fef4a50000 - 0x000007fef4a58000     C:windowssystem32
asadhlp.dll
0x000007fefa4c0000 - 0x000007fefa513000     C:windowsSystem32fwpuclnt.dll
0x000000006bc30000 - 0x000000006bc41000     C:Program FilesJavajdk1.7.0_03jrein
io.dll

VM Arguments:
jvm_args: -Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -Xms40m -Xmx384m -XX:MaxPermSize=256m 
java_command: <unknown>
Launcher Type: generic

Environment Variables:
CLASSPATH=.;
PATH=C:/Program Files/Java/jdk1.7.0_03/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0_03/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0_03/bin/../jre/lib/amd64;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program Files (x86)Common FilesMicrosoft SharedWindows Live;C:Program FilesJavajdk1.7.0_03in;C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)ATI TechnologiesATI.ACECore-Static;C:Program Files (x86)Windows LiveShared;C:UsersAndyDesktopeclipse-java-juno-win32-x86_64eclipse;
USERNAME=Andy
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 6000 

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

Memory: 4k page, physical 6233968k(4708700k free), swap 12466084k(10719968k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (22.1-b02) for windows-amd64 JRE (1.7.0_03-b05), built on Feb  3 2012 20:43:56 by "java_re" with unknown MS VC++:1600

time: Sat Jun 30 17:13:23 2012
elapsed time: 0 seconds

我已经尝试了所有我能想到的方法来解决这个问题.我已经下载了最新版本的 Eclipse,安装了最新版本的 Java 和 JDK,甚至根据 Java 的建议暂时禁用了 UAC,但这些都没有解决问题.

I have tried everything that I can think of to resolve the issue. I've downloaded the latest version of Eclipse, installed the latest version of both Java and the JDK, and even temporarily disabled UAC as per Java's recommendation but none of that has solved the situation.

据我所知,由于 Eclipse 工作正常,我没有修改任何内容(当然与 Eclipse 无关).但是,我确实有点怀疑我的硬盘驱动器可能没有应有的健康;尽管如此,我还没有看到其他任何东西生效.因此,任何帮助或建议将不胜感激.

As far as I can think, I have not modified anything (certainly not to do with Eclipse) since Eclipse was working fine. However I do have a little bit of a suspicion that my hard drive may not be as healthy as it should be; still, I have not seen anything else effected. Therefore, any help or advice would be greatly appreciated.

提前致谢

推荐答案

不幸的是, Stephen C 的怀疑是正确的;这与 Eclipse 完全没有关系.

Unfortunately, Stephen C's suspicion was correct; it was nothing to do with Eclipse at all.

我猜测崩溃是由 ntdll.dll 引起的,这让我有点担心,因为它位于 Windows 目录中.在几个程序中的扩展 SMART 测试产生读取失败"后,我进一步调查发现我的 28 个扇区被损坏.在这一点上,现实发生了,我意识到我的 HDD 已经快用完了,所以我订购了一个 SSD(因为我有残疾,这意味着我可能会手忙脚乱,还有其他原因).我很高兴我做到了.

I guessed that the crashes were down to ntdll.dll which concerned me a bit because it is located in the Windows directory. After an extended SMART test in a couple of programs produced an 'read failure', I investigated further to find 28 of my sectors were damaged. At this point reality struck and I realised that my HDD was on its last legs, so I ordered an SSD (because I have a disability that means I can be heavy handed, amongst other reasons). And I'm glad I did.

在某些方面,当我使用 Eclipse 时,我做得很好.我可以从字面上看到驱动器出现故障 - 我设法备份了我的大部分文件,有些文件在坏扇区上,甚至 Unstoppable Copier 也无能为力;但克隆是一项毫无意义且耗时的工作.Acronis 设法克隆了驱动器,但它显然没有获得重要文件 - Windows 无法加载,我最终重新安装并丢失了我的恢复分区 - 但你不能拥有任何东西.

In some ways, it's a good job I went to use Eclipse when I did. I could literally see the drive failing - I managed to back up most of my files, some were on bad sectors and even Unstoppable Copier couldn't help; but cloning was a pointless and time consuming exercise. Acronis managed to clone the drive, but it obviously didn't get the vital files - Windows wouldn't load and I ended up reinstalling and loosing my recovery partition - but you can't have anything.

无论如何,您真正需要知道的是 Eclipse 现在正在运行,问题是由我的硬盘上损坏的扇区引起的.很烦人.

Anyway, all you really needed to know is Eclipse is now working and the problem was caused by damaged sectors on my HDD. Very annoying.

这篇关于Eclipse 已随机停止加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆