当鼠标悬停在Java元素上时,Eclipse e4 Kepler SR2在Kubuntu 14.04上崩溃

时间:2014-06-18 12:10:36

标签: eclipse webkit jvm-crash

Java运行时报告:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe7241924cf, pid=9456, tid=140630721804032
#
# JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0xc4cf]  _dl_rtld_di_serinfo+0x2dbf

hs_err_pid*.log中的Java堆栈如下所示:

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.webkit.WebKitGTK._webkit_web_view_new()J+0
j  org.eclipse.swt.internal.webkit.WebKitGTK.webkit_web_view_new()J+7
j  org.eclipse.swt.browser.WebKit.create(Lorg/eclipse/swt/widgets/Composite;I)V+212
j  org.eclipse.swt.browser.Browser.<init>(Lorg/eclipse/swt/widgets/Composite;I)V+81
j  org.eclipse.jface.internal.text.html.BrowserInformationControl.isAvailable(Lorg/eclipse/swt/widgets/Composite;)Z+12

1 个答案:

答案 0 :(得分:2)

Why does my Eclipse Indigo crash on Ubuntu 13.04 with Oracle JDK 64bit?接受的答案对我有用:

追加

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

eclipse.ini的末尾(特别是在-vmargs选项之后)。

如果您现在在XULRunner中崩溃,请同时禁用它:

-Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null