我正在使用eclipse开发Web应用程序,当我尝试从eclipse中在服务器上运行我的应用程序时遇到了问题。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f41e4e610b0, pid=3463, tid=139924549404416
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.5-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x11670b0]  void WTF::freeOwnedGPtr<_GdkEvent>(_GdkEvent*)+0x15e00
#
# 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.
#

我在Google上进行了搜索,发现了一种可能的解决方案here,该提议建议:“最小的解决方法是将-XX:LoopUnrollLimit = 1添加为参数。”问题是我不知道在何处添加此参数以及如何添加它。有人可以帮我吗?

谢谢。

编辑:我将我的jdk从1.7_9更新为1.7_40,但问题仍然存在。

最佳答案

在Linux Mint 16中,对我来说,解决方案是将eclipse主题从GTK更改为Classic,并在eclipse.ini中编写以下代码:
-Dorg.eclipse.swt.browser.DefaultType=mozilla

09-10 13:16
查看更多