eclipse 在 ubuntu 14.04 上崩溃

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23516589/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 21:41:50  来源:igfitidea点击:

eclipse crashed on ubuntu 14.04

eclipseubuntu-14.04

提问by perry

i used google android ide adt-eclipse on ubuntu 13.10.it was fine. when i upgrade the ubuntu 14.04.the eclipse is crashed when it was clued to method or etc.the log is follow: who can help me ? thanks!

我在 ubuntu 13.10 上使用了 google android ide adt-eclipse。很好。当我升级 ubuntu 14.04.the 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

回答by Murray Bozinsky

You might want to try adding

您可能想尝试添加

org.eclipse.swt.browser.DefaultType=mozilla

to configuration/config.ini

configuration/config.ini

(from https://askubuntu.com/questions/457506)

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

回答by Desta Haileselassie Hagos

I had the same problem for couple of weeks now. Adding the following line to the eclipse.inifile has solved my problem. Give it a try and hope it helps.

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

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

回答by Mind Android

If you are using 1.7 java, please confirm

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

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

Project-> Properties -> Java Compiler -> Compiler Compliance 级别为 1.7 并且:

SET -Dosgi.requiredJavaVersion=1.7

in ECLIPSE.INI.

ECLIPSE.INI.