【问题标题】:eclipse crashed on ubuntu 14.04eclipse 在 ubuntu 14.04 上崩溃了
【发布时间】:2014-05-07 11:29:58
【问题描述】:

我在 ubuntu 13.10 上使用了 google android ide adt-eclipse。很好。当我升级 ubuntu 14.04 时,当它被提示到方法等时,eclipse 崩溃了。日志如下: 谁能帮我 ?谢谢!

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3d9fbaa685, pid=29310, tid=139905366640384
#
# JRE version: 7.0_15-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x407685]  webkitWebViewRegisterForIconNotification+0x95
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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.
#

---------------  T H R E A D  ---------------

Current thread (0x00007f3e38009800):  JavaThread "main" [_thread_in_native, id=29318, stack(0x00007f3e419e4000,0x00007f3e41ae5000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000005f38

Registers:
RAX=0x00007f3e41ae23e0, RBX=0x00007f3e3a5fb330, RCX=0x00007f3e2e6f7f00, RDX=0x00007f3e3a5fb330
RSP=0x00007f3e41ae2348, RBP=0x00007f3e3a5c8db0, RSI=0x00007f3d9fb82e50, RDI=0x0000000000005ec8
R8 =0x00007f3e382879e0, R9 =0x0000000000000020, R10=0x0000000000000000, R11=0x0000000000000033
R12=0x00007f3e2e9ae940, R13=0x00007f3e382a1200, R14=0x00007f3e3a4178b0, R15=0x00007f3e3a5c8db0
RIP=0x00007f3d9fbaa685, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

【问题讨论】:

  • 为什么它被标记为ubuntu-14.04 有问题据说是关于ubuntu-13.10
  • 现在ubuntu版本是14.04,升级前是13.10,14.04出现错误

标签: eclipse ubuntu-14.04


【解决方案1】:

您可能想尝试添加

org.eclipse.swt.browser.DefaultType=mozilla

致configuration/config.ini

(来自https://askubuntu.com/questions/457506)

【讨论】:

  • 我做到了。但没用
  • 将以上行添加到 eclipse.ini 文件而不是 configuration/config.ini
  • 将此添加到 config.init 文件中看起来是正确的答案; eclipse 每隔 5 分钟就会在 Ubuntu 14 上崩溃,现在它可以完美运行 1 小时,所以看起来这是个好技巧!谢谢!
  • 这真的很适合我。如果我将设置放在 eclipse.ini 中,它仅在从 cmd 行启动时才有效。但是从 Ubuntu Launcher 启动 Eclipse 时它仍然会崩溃。太糟糕了。使用此解决方案,我可以从启动器启动 Eclipse,而不会在弹出自动完成时崩溃。非常感谢!!顺便说一句,我正在使用最新的 ADT Bundle!
  • 如果我卸载了 mozilla firefox 并使用 Opera 作为我的默认浏览器怎么办?我应该使用相同的代码吗?
【解决方案2】:

我已经有几个星期遇到同样的问题了。将以下行添加到eclipse.ini 文件中解决了我的问题。试一试,希望对您有所帮助。

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

【讨论】:

    【解决方案3】:

    如果您使用的是1.7 java,请确认

    Project-> Properties -> Java Compiler -> Compiler Compliance level is 1.7 and:

    SET -Dosgi.requiredJavaVersion=1.7
    

    在ECLIPSE.INI.

    【讨论】:

      猜你喜欢
      • 2014-08-04
      • 1970-01-01
      • 2012-07-30
      • 2014-06-11
      • 1970-01-01
      • 2014-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多