Eclipse crashes when closing a project

2019-09-01 02:53发布

问题:

I am using eclipse indigo in ubuntu 11.10

My java is

java version "1.6.0_06" Java(TM) SE Runtime Environment (build
1.6.0_06-b02) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)

I have two project open in my eclipse and it crashes when i try to close any of these projects. Whenever a crash happens i have a hs_err_pidXXXX[X].log file in my home folder which is around 100k.

How should i debug and fix this problem? I couldn't find any duplicate threads for this.

I have copied my hs_err_pid21233.log to google docs link here

I tried the suggestion by @spektom. Now eclipse crashes with a different error attached here

回答1:

I always find similar problems by "googling" for problematic frame code (in your case it's: [libjvm.so+0x1f125a]). This may bring you to existing bug reports either in Eclipse or in Java, which contain useful comments about workarounds and information in which version a bug is fixed.

For your specific problem, I've found these pages:

https://groups.google.com/forum/?fromgroups#!topic/linux.debian.bugs.dist/0IGmtBE8nuQ

https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/206620

Workaround: https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/174759

Please go ahead and try if they work for you!