Hello Guest

[BUG] FATAL ERROR in native method: Bad global or local ref passed to JNI

  • 1 Replies
  • 3367 Views
*

Offline princec

  • *****
  • 1929
    • Puppygames
Running 1.7.0_45 on Win7 64-bit, attempting to create() the Display and using -Xcheck:jni on the commandline. JNI stacktrace as follows:

Code: [Select]
FATAL ERROR in native method: Bad global or local ref passed to JNI
at org.lwjgl.opengl.WindowsDisplay.nCreateWindow(Native Method)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:239)
at org.lwjgl.opengl.Display.createWindow(Display.java:306)
at org.lwjgl.opengl.Display.create(Display.java:848)
- locked <0x0a57a2d8> (a java.lang.Object)
at org.lwjgl.opengl.Display.create(Display.java:757)

Workaround is not to use -Xcheck:jni but it makes me think there's no smoke without a fire. Any thoughts? Can anyone reproduce?

Cas :)

*

Offline spasi

  • *****
  • 2124
    • WebHotelier
Thanks, should be fixed in the next nightly.