"Inconsistency detected..." error crashing game

Hey everyone,



So I’ve started getting this error “Inconsistency detected by ld.so: dl-close.c: 736: _dl_close: Assertion `map->l_init_called’ failed!”. As soon as it pops up in the output console, my game crashes.



It seems to happen if my player/camera travels a certain distance away from (0, 0, 0) in the X and/or Z direction.



Any thoughts as to what’s causing it?



Thanks in advance,

mtheoryninja

I guess a driver error. What driver are you using with wich graficcard?

I’m using the ATI 5830. My card was manufactured by Sapphire if that makes a difference. I’m running Ubuntu 10.10 and would put other details here except I’m on my laptop.

If you have a windows dual installed test if the crash happens there as well. If then its probably hardware related (bug in jme or failture) if not it is probably driver/os problem.

I don’t have windows. I originally thought this was a jME/jMP problem (didn’t find anything on the forums so I posted), but after googling (I should have done this first *facepalm), it seems this issue comes up quite a bit. The downside is that it’s always caused by something different (it seems to be a pretty general error.) Anyways, I’ll post any updates I find here.

I also get some similar error-line when getting an Java-exception. (This is kind of a Ubuntu/Linux error-message)

Is there any Java-Exception above this error-message?

If so, they are more important, than this one line.

I don’t have a java exception. My program crashes as soon as I run it (which is new; it used to be when I went out a certain range).

Do you have the latest driver installed? do you have at all some proprietary driver?

Please post the whole output of your programm

Yes I have the latest driver, the latest kernel, etc. I’m fully updated.



Here’s my output. Note that I’m using [java]Logger.getLogger("").setLevel(Level.OFF);[/java] to try and get rid of some of the annoying logger info, but I don’t think that matters.



[java]Mar 17, 2011 10:10:44 AM com.jme3.system.JmeSystem initialize

INFO: Running on jMonkey Engine 3 Alpha 0.6

Mar 17, 2011 10:10:44 AM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #1: file:/home/zach/jmonkeyplatform/jmonkeyplatform/libs/

Mar 17, 2011 10:10:44 AM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #2: /home/zach/jMonkeyProjects/Wotbox

Mar 17, 2011 10:10:44 AM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory #3: /home/zach/jMonkeyProjects/Wotbox

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.7.1

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 640 x 480 x 0 @0Hz

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Display created.

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Adapter: null

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Driver Version: null

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Vendor: ATI Technologies Inc.

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: OpenGL Version: 4.0.10237 Compatibility Profile Context

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: Renderer: ATI Radeon HD 5800 Series

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglAbstractDisplay initInThread

INFO: GLSL Ver: 4.00

Mar 17, 2011 10:10:44 AM com.jme3.system.lwjgl.LwjglTimer <init>

INFO: Timer resolution: 1000 ticks per second

Mar 17, 2011 10:10:44 AM com.jme3.renderer.lwjgl.LwjglRenderer initialize

INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, TextureMultisample, OpenGL20, OpenGL21, OpenGL30, OpenGL31, OpenGL32, ARBprogram, GLSL100, GLSL110, GLSL120, GLSL130, GLSL140, GLSL150, VertexTextureFetch, TextureArray, TextureBuffer, FloatTexture, FloatColorBuffer, FloatDepthBuffer, PackedFloatTexture, SharedExponentTexture, PackedFloatColorBuffer, TextureCompressionLATC, MeshInstancing, VertexBufferArray]

Mar 17, 2011 10:10:44 AM com.jme3.asset.DesktopAssetManager <init>

INFO: DesktopAssetManager created.

Mar 17, 2011 10:10:44 AM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 640, H: 480)

Mar 17, 2011 10:10:44 AM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 640, H: 480)

Mar 17, 2011 10:10:44 AM com.jme3.input.lwjgl.LwjglMouseInput initialize

INFO: Mouse created.

Mar 17, 2011 10:10:44 AM com.jme3.input.lwjgl.LwjglKeyInput initialize

INFO: Keyboard created.

Mar 17, 2011 10:10:44 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: AudioRenderer supports 64 channels

Mar 17, 2011 10:10:44 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: Audio effect extension version: 1.0

Mar 17, 2011 10:10:44 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: Audio max auxilary sends: 1

Mar 17, 2011 10:10:44 AM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Unshaded

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Gui Node)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Mar 17, 2011 10:10:45 AM com.jme3.scene.Node attachChild

INFO: Child (Statistics View) attached to this node (Gui Node)

Inconsistency detected by ld.so: dl-close.c: 736: _dl_close: Assertion `map->l_init_called’ failed!

Java Result: 127

BUILD SUCCESSFUL (total time: 5 seconds)

[/java]

I would not set Level to OFF, try WARNING or SEVERE instead

Why? I’m tired of seeing all that output. Is it actually useful for something?

I think so

Where to find errors, but from the output??

Do you have any more informative output now?

Do you have 32 or 64 bit Ubuntu?

I’m using 64-bit Ubuntu. The only error I get is an IndexOutOfBoundsException. (For the record, I didn’t know the logger had to be set on in order for me to see java errors :P)

Try to fix this IndexOutOfBoundsException.

if this doesn’t solve the other problem, the cause is some problems with I think JOGL and the 64-bit OS.

I also wonder why normal outputs are printed but no errors :?

doe300 said:
the cause is some problems with I think JOGL and the 64-bit OS.

jME3 uses lwjgl exclusively on desktop, just so you dont search on the wrong forums ;)

It also could be LWJGL what clashes with 64-bit OS, or something else.

But I think the problem is the 64-bit.

Does jme3 deliver 64-bit libraries or are they architecture independent?

Yes, it supplies 64bit binaries for all systems. People are using it successfully, the problem is most probably due to your systems configuration or hardware combination.

Are we still talking about the “Inconsistency detected” issue or the logging now?

The logging part was only to visualize the problem :slight_smile:

Well, getting rid of the IndexOutOfBoundsException stops the Inconsistency detected issue. And now I’m getting a NullPointerException when I go out a certain distance. At this point, I think the Inconsistency detected is being caused by java errors.