Export to GitHub

libgdx - issue #824

SIGSEV if Application.LOG_DEBUG


Posted on Apr 30, 2012 by Quick Horse

I am using your basic example (doesn't draw anything, just clears the screen). If I use: Gdx.app.setLogLevel(Application.LOG_DEBUG);

Then when exiting the app, it core dumps:

MyGame: create MyGame: Detected Desktop application MyGame: pause MyGame: dispose #

A fatal error has been detected by the Java Runtime Environment:

#

SIGSEGV (0xb) at pc=0x00007fc1014f8c08, pid=11017, tid=140466972886784

#

JRE version: 8.0-b34

Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b07 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libX11.so.6+0x35c08] XQueryExtension+0x28

#

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/malachi/work/test/libgdx/hs_err_pid11017.log

#

If you would like to submit a bug report, please visit:

http://bugreport.sun.com/bugreport/crash.jsp

# Aborted

It does not core dump unless I use the setLogLevel with LOG_DEBUG.

Attachments

Comment #1

Posted on May 1, 2012 by Massive Monkey

I would suggest to use stable version of Java. Most libGDX games are probably written in Java 6. Java 7 syntax is not fully supported in Eclipse IDE yet and it seems that you're even using developer preview release of Java 8.

Comment #2

Posted on May 1, 2012 by Quick Horse

Comment deleted

Comment #3

Posted on May 1, 2012 by Quick Horse

MyGame: create MyGame: Detected Desktop application MyGame: getJavaHeap: 56911928 bytes MyGame: getNativeHeap: 56911928 bytes MyGame: Resize(1280 x 720) DesktopScorekeeper: Score (100) submitted for user 'malachi' MyGame: pause MyGame: dispose #

A fatal error has been detected by the Java Runtime Environment:

#

SIGSEGV (0xb) at pc=0x00007f556f7cdc08, pid=4197, tid=140005023319808

#

JRE version: 6.0_26-b03

Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libX11.so.6+0x35c08] XQueryExtension+0x28

#

An error report file with more information is saved as:

/home/malachi/work/test/libgdx/hs_err_pid4197.log

#

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

# Aborted

Attachments

Comment #4

Posted on May 2, 2012 by Quick Horse

Looks like it may be LWJGL related http://lwjgl.org/forum/index.php?topic=4526.0

Comment #5

Posted on May 12, 2012 by Massive Horse

Hm, hard to tell. Tested on a Ubunut 10.04 32-bit install in Vbox, no problems there.

C [libX11.so.6+0x35c08] XQueryExtension+0x28 this indeed indicates that something is borked in the communication with X11. Hard to tell how to fix it though, we rely on Lwjgl to do the dirty work.

Will try to get some Lwjgl people to look at it.

Comment #6

Posted on Aug 28, 2012 by Massive Horse

This should have been fixed in the latest LWJGL release which we incorporated in 0.9.6 and above.

Comment #7

Posted on Apr 21, 2014 by Swift Hippo

Not fixed, still happening with current nightlies.

Status: Fixed

Labels:
Type-Defect Priority-Medium