如何避免/修复/阻止Eclipse获取此SIGSEGV?

时间:2011-01-12 15:13:52

标签: eclipse sigsegv

我正在使用Eclipse Helios,我得到了这个:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb13aa83b, pid=5456, tid=3076675264
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libxul.so+0xce183b]
#
# An error report file with more information is saved as:
# /home/wena/hs_err_pid5456.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted

更新:我很长一段时间没有遇到这种情况,我不记得它什么时候停止发生或是什么导致它停止。

1 个答案:

答案 0 :(得分:0)

假设您正在使用CDT,请尝试将这两行附加到eclipse.ini:

-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTFunctionDeclarator,postAccept
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPSemantics,declaredBefore