Hello Guest

[FIXED] jni_ReleaseIntArrayElements Crash

  • 2 Replies
  • 5158 Views
*

Offline Obsyd

  • **
  • 71
[FIXED] jni_ReleaseIntArrayElements Crash
« on: August 27, 2019, 15:21:03 »
Hello there!

Just upgraded lwjgl to the latest nightly. (3.2.3 build 10)
Our project crashes with [libjvm.so+0x91cf36]  jni_ReleaseIntArrayElements+0x86 during startup at native glfw or opengl calls that are used to get integer data.
For example:
-GL11C.glGetIntegerv
-glfwGetWindowSize

Both example methods are the primitive int array variations not the IntBuffer ones.

Additional info:
OS: Linux 5.2.9-200.fc30.x86_64 amd64 X11 GLX EGL OSMesa
JRE version: OpenJDK Runtime Environment (11.0.4+11) (build 11.0.4+11)
Java VM: OpenJDK 64-Bit Server VM (11.0.4+11, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)


Thanks for looking into it!
« Last Edit: August 27, 2019, 15:31:12 by Obsyd »

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: jni_ReleaseIntArrayElements Crash
« Reply #1 on: August 27, 2019, 15:29:33 »
Hey Obsyd, thanks for reporting this. It was fixed yesterday, build 11 will be up later today.

*

Offline Obsyd

  • **
  • 71
Re: jni_ReleaseIntArrayElements Crash
« Reply #2 on: August 27, 2019, 15:30:31 »
Thank you! :)