Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to fix "Failed to write core dump. Core dumps have been disabled" error while running java

i am using eclipse to develop a web application and i have encountered a problem when i am trying to run my application on server from within 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.
#

i googled it and found a possible solution here that suggests : "A minimal workaround is to add -XX:LoopUnrollLimit=1 as an argument." the problem is i don't know where to add this argument and how to add it. can any one help me about it?

thanks.

EDIT : I updated my jdk from 1.7_9 to 1.7_40 but problem stands still.

like image 504
MoienGK Avatar asked Oct 12 '13 09:10

MoienGK


Video Answer


2 Answers

In linux mint 16, for me, the solution was change the eclipse theme from GTK to Classic and write in eclipse.ini this:

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

like image 162
postNuKe Avatar answered Sep 17 '22 15:09

postNuKe


i don't know if this solution applies to every one or not, but i managed to solve this by updating my eclipse from indigo to kepler.

like image 30
MoienGK Avatar answered Sep 19 '22 15:09

MoienGK