LWJGL Forum

Programming => Bug Reports / RFE => Topic started by: Obsyd on August 27, 2019, 15:21:03

Title: [FIXED] jni_ReleaseIntArrayElements Crash
Post by: Obsyd 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!
Title: Re: jni_ReleaseIntArrayElements Crash
Post by: spasi on August 27, 2019, 15:29:33
Hey Obsyd, thanks for reporting this. It was fixed yesterday, build 11 will be up later today.
Title: Re: jni_ReleaseIntArrayElements Crash
Post by: Obsyd on August 27, 2019, 15:30:31
Thank you! :)