如何修复运行java时"无法写入核心转储.核心转储已被禁用"错误

Moi*_*nGK 12 java eclipse tomcat java-7

我正在使用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.
#
Run Code Online (Sandbox Code Playgroud)

我GOOGLE了它,发现了可能的解决方案在这里的是表明:"A最小的解决方法是添加-XX:LoopUnrollLimit = 1作为一个参数" 问题是我不知道在哪里添加这个参数以及如何添加它.任何人都可以帮助我吗?

谢谢.

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

pos*_*uKe 11

在linux mint 16中,对我来说,解决方案是将eclipse主题从GTK更改为Classic并在eclipse.ini中写入:

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


Moi*_*nGK 5

我不知道这个解决方案是否适用于每个人,但我设法通过将我的eclipse从indigo更新为kepler来解决这个问题.