Eclipse在自动建议时崩溃

时间:2013-06-27 12:51:17

标签: java eclipse ubuntu

我正在使用eclipse 3.7(indigo),每当我尝试通过按Ctrl+Space来获取自动建议时它就会崩溃。我甚至试图改变我的eclipse和jdk版本,但仍然得到同样的错误。

我在Ubuntu 13.04上运行,当我试图从终端运行eclipse时出现以下错误 -

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4d744f2009, pid=21632, tid=139972060423936
#
# JRE version: 7.0_21-b02
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6e009]  soup_session_feature_detach+0x19
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/swapnilg/hs_err_pid21632.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Here是我得到的日志文件。请帮帮我。

2 个答案:

答案 0 :(得分:5)

似乎日食中有bug 404776导致这种情况。我使用Eclipse Juno和Kepler对Fedora 19产生了这种影响。问题是由较新版本的libsoup引起的。

有一种解决方法对我来说效果很好,只需添加

-Dorg.eclipse.swt.browser.DefaultType=mozilla

eclipse.ini

的末尾

BR,
亚历

答案 1 :(得分:0)

您尝试过哪些Java版本? OpenJDK和?您是否考虑使用Oracle的那个?

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo update-java-alternatives -s java-7-oracle
java -version

你真的需要Indigo(3.7)吗?我们现在有Juno(4.2)...... ooops Kepler(4.3)刚出局。