Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (531)
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 971 times)
0 Members and 1 Guest are viewing this topic.
Offline wessles

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Posted 2013-09-22 18: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 19:48:21 »

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

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline wessles

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #2 - Posted 2013-09-22 20:02:32 »

Reinstalled everything. Still the same everything.
I am using Java 7, and Eclipse Kepler.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Agro
« Reply #3 - Posted 2013-09-22 20:03:37 »

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

Offline wessles

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #4 - Posted 2013-09-22 20:06:16 »

I have never heard of libc... What is that?

Offline Slyth2727
« Reply #5 - Posted 2013-09-22 20: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

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline wessles

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #6 - Posted 2013-09-22 20:10:26 »

https://www.google.com/search?client=ubuntu&channel=fs&q=google+search&ie=utf-8&oe=utf-8#q=reinstall+libc+java
Brought up nothing Sad

Offline Slyth2727
« Reply #7 - Posted 2013-09-22 20: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.


Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline Agro
« Reply #8 - Posted 2013-09-22 20:17:13 »

libc isnt java specific

Offline Jeremy
« Reply #9 - Posted 2013-09-22 20: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
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #10 - Posted 2013-09-22 20:27:09 »

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

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #11 - Posted 2013-09-22 20:28:40 »


Nothing on that page that says "Core dump" or even "libc."

Offline Jeremy
« Reply #12 - Posted 2013-09-22 20: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: 238
Projects: 11
Exp: 2 years


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


« Reply #13 - Posted 2013-09-22 21: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.

Offline wessles

JGO Wizard


Medals: 64
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #14 - Posted 2013-09-22 22:04:05 »

I've only ever got something like that when I set up a --> VBO <-- with the wrong pointer or something.

*Facepalm*
Yup, I got this just when I set up a vbo...
I guess I should fix that...

Thanks!

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (13 views)
2014-07-24 01:59:36

Riven (13 views)
2014-07-23 21:16:32

Riven (13 views)
2014-07-23 21:07:15

Riven (14 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (39 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (35 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!