Failed to write core dump.

So, whenever I run my game in eclipse (tested java with MC, and it did not do anything error-like), it does not throw any exceptions. It just shows me this:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd2187f93c6, pid=4799, tid=140540342081280
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x14a3c6]  __nss_hosts_lookup+0x18a76
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/wessles/java/git/MERCury/MERCury/hs_err_pid4799.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

So something is wrong with JVM! I tried what it suggested (ulimit -c unlimited), but it still did not work!

Wel first off, try reinstalling the JDK and JRE. If that doesn’t work, which version of Java are you using?

Looks like its a problem with libc. Try reinstalling that.

https://www.google.com/search?client=ubuntu&channel=fs&q=google+search&ie=utf-8&oe=utf-8#channel=fs&q=what+is+libc+in+Java

:wink:

Oh whoops, sorry I’m on Ubuntu. Just look up what is libc in Java. If you don’t find anything, just do some more research. Sometimes things just take a lot of messing around and research.

libc isnt java specific

I found this (it might be of some help):

Debugging JVM stuff tutorial: http://weblogs.java.net/blog/kohsuke/archive/2009/02/crash_course_on.html

The JVM is trying to write a core dump because it has crashed, for a host lookup reason as described in that article. Give it a read, it will probably help you out a bit.

I’ve only ever got something like that when I set up a VBO with the wrong pointer or something.

Read the full error report and see what is the cause of the error.