【问题标题】:Eclipse crash and close every time openedEclipse 每次打开都会崩溃并关闭
【发布时间】:2014-07-21 07:27:47
【问题描述】:

当我尝试打开 Eclipse 加载 GUI 然后关闭时,我遇到了 Eclipse IDE 的胎儿错误,每次打开 Eclipse IDE 时都会发生这种情况。

Error Loading DDMS Preferences
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5a0c9822a1, pid=4316, tid=140027354994432
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6c2a1]  soup_session_feature_detach+0x11
#
# 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:
# /opt/eclipse/hs_err_pid4316.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug

解决方法

  • 更改 Eclipse 所有者。
  • 以 root 身份运行 eclipse。
  • 在 /opt 上再次提取 jdk。
  • 将 jre 从 /opt 链接到 /usr/bin。

但问题依然存在,任何帮助将不胜感激。

【问题讨论】:

  • 什么是 Eclipse 的 PermGen 内存?
  • @unknown 512M -Xms40m -Xmx512m -XX:MaxPermSize=512m

标签: java eclipse


【解决方案1】:

基于this,我的问题已经解决了。

For a workaround add the following to the end of your eclipse.ini

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

【讨论】:

    【解决方案2】:

    如果

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

    不起作用并且您的操作系统是 debian,请尝试这篇文章中的解决方案:

    http://forums.debian.net/viewtopic.php?f=8&t=115477

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-12-29
      • 2023-03-18
      • 1970-01-01
      • 2015-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多