Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to diagnose eclipse crashes?

Tags:

eclipse

jvm

crash

OMG, eclipse (it's Gallileo, but with previous versions I also had such problems) crashed again, silently as always. That can happen one time per week, but this is really annoying. All I have now is a crash log. Are there any ways of discovering the true reason of these crashes?

Header of crash log, can't see anything useful:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d80f8d4, pid=1388, tid=3180
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# V  [jvm.dll+0xcf8d4]
#
like image 956
okutane Avatar asked Jul 28 '09 08:07

okutane


People also ask

How do I fix Eclipse not responding?

If there is a project you earlier imported externally (outside of Workspace), that may cause this problem. If you can access Eclipse try to remove it. If you are getting the 'No responding at startup', then go delete the file at source. This will solve the problem.

Why my Eclipse is closing automatically?

Memory Setting. This is also one of the main reason for this problem. Sometimes when you run a memory intensive application in Eclipse and Eclipse run out of memory then you can get this issue. To increase the memory open the eclipse.


1 Answers

I used to have these kind of silent crashes on 64-bit Linux. For me it was fine after adding these lines to my eclipse.ini (see corresponding Eclipse and Sun bug entries):

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
like image 82
Fabian Steeg Avatar answered Sep 18 '22 16:09

Fabian Steeg