Crashes in the JVM, commonly caused by buggy native code in libraries.
This tag is about debugging segfaults and other crashes in the Java Virtual Machine (jvm). A JVM crash is identified by the message A fatal error has been detected by the Java Runtime Environment
followed by the error.
Such crashes are commonly caused by buggy native code (using jni) in libraries, or sometimes missing shared-libraryies. Crashes due to bugs in the JVM itself are also possible, though less likely.
When a JVM crash occurs, most of the time it will create a log file named hs_err_pidXXXX.log
where XXXX
is a number. It is important that you include the contents of it when you post a question regarding such a crash.
Do not use this tag for internal JVM exceptions, for example:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space