Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (773)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Failed to write core dump.  (Read 6971 times)
0 Members and 1 Guest are viewing this topic.
Offline wessles
« Posted 2013-09-22 16:58:03 »

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:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
#
# 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!
Offline Slyth2727
« Reply #1 - Posted 2013-09-22 17:48:21 »

Wel first off, try reinstalling the JDK and JRE. If that doesn't work, which version of Java are you using?
Offline Agro
« Reply #2 - Posted 2013-09-22 18:03:37 »

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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Slyth2727
« Reply #3 - Posted 2013-09-22 18:07:31 »

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
Offline Slyth2727
« Reply #4 - Posted 2013-09-22 18:15:43 »

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.

Offline Agro
« Reply #5 - Posted 2013-09-22 18:17:13 »

libc isnt java specific

Offline Jeremy
« Reply #6 - Posted 2013-09-22 18:20:13 »

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

http://vaclavb.blogspot.ca/2010/09/java-crashing-in-libcso6.html

JevaEngine, Latest Playthrough (This demo is networked with a centralized server model)

http://www.youtube.com/watch?v=rWA8bajpVXg
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 167
Projects: 5
Exp: 6 years



« Reply #7 - Posted 2013-09-22 18:27:09 »

Debugging JVM stuff tutorial: http://weblogs.java.net/blog/kohsuke/archive/2009/02/crash_course_on.html
Offline Jeremy
« Reply #8 - Posted 2013-09-22 18:39:05 »


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.

JevaEngine, Latest Playthrough (This demo is networked with a centralized server model)

http://www.youtube.com/watch?v=rWA8bajpVXg
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #9 - Posted 2013-09-22 19:53:14 »

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.

Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1850 views)
2018-06-10 19:43:48

EgonOlsen (1879 views)
2018-06-10 19:43:44

EgonOlsen (1245 views)
2018-06-10 19:43:20

DesertCoockie (1680 views)
2018-05-13 18:23:11

nelsongames (1345 views)
2018-04-24 18:15:36

nelsongames (1963 views)
2018-04-24 18:14:32

ivj94 (2736 views)
2018-03-24 14:47:39

ivj94 (1939 views)
2018-03-24 14:46:31

ivj94 (3029 views)
2018-03-24 14:43:53

Solater (1078 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!