My Oracle Support Banner

[Java SE ] JVM Crash in jni_ReleaseByteArrayElements after Startup (Doc ID 2793209.1)

Last updated on OCTOBER 12, 2023

Applies to:

Java SE JDK and JRE - Version 8 and later
Linux x86
Linux x86-64


The JVM crashed soon after starting with the following stack trace.

 At the top of the stack trace, you see a few important methods.  The top method starts with "jni" which stands for Java Native Interface.  JNI allows native code to be called and executed from the Java Virtual Machine (JVM).  The second method from the top has the string "UNIXProcess_forkAndExec".  Fork and Exec is a native function, which which the Operating System (OS) must perform.  Then the sixth method from the top has the string "ProcessBuilder".  The ProcessBuilder method is used to create a new process.  So, the JVM is in the process of asking the Operating System to create a new UNIX process on its behalf.  The way that the OS  does this is with the fork and exec functions.  The fork and exec functions are in the UNIX OS native C library.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.