Questions tagged [jvm-crash]

Crashes in the JVM, commonly caused by buggy native code in libraries.

This tag is about debugging s and other crashes in the Java Virtual Machine (). 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 ) in libraries, or sometimes missing ies. 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
261 questions
1
vote
0 answers

A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x000000011007db07, pid=28353, tid=259

I have the following error when running a project and I am unsure how to solve it: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000010e109b07, pid=43754, tid=259 # # JRE version: OpenJDK Runtime…
1
vote
1 answer

JNA crashes with 64 bit libmx.so on Linux

I have a legacy Java application that uses JNA to interact with Matlab C Matrix API. /** * Load a MAT-file. Must be synchronized because of native libraries calls. * * @param file MAT file * @return map with the variables in the MAT file …
Kıvanç Sahici
  • 300
  • 2
  • 8
1
vote
1 answer

Can I set the output location of a JVM crash minidump?

We are currently experiencing a JVM crash with Java 8u60 32-bit that we are attempting to debug. In order to do this I need to create a minidump using the JVM command line argument -XX:+CreateMinidumpOnCrash. Our operating system is write protected…
Jake Henry
  • 303
  • 1
  • 10
1
vote
1 answer

JVM crash on calling NetworkExtension NETunnelProviderManager.loadAllFromPreferencesWithCompletionHandler

I want to call NetworkExtension framework functions from my java application. As a first step, I am calling NETunnelProviderManager.loadAllFromPreferencesWithCompletionHandler. I am using Rococoa library compiled from source (0.8.3-SNAPSHOT). My…
goto
  • 433
  • 3
  • 13
1
vote
0 answers

Java Virtual Machine crashes without error log on NixOS Linux

I run 30 java applications in parallel on a server. Some applications crash during the run without any error log. Gernerated messages of the application are stored in a file (commandlineOutput.txt). But these files do not contain any information…
UweJ
  • 447
  • 3
  • 10
1
vote
1 answer

Android App running into java.lang.OutOfMemoryError while EDF file parsing

I have searched around for simmilar topics but could not find anything related to EDF files and Out of memory error together. So, here is my problem: I am developing an Android app in Android studio which browses files, selects an '.edf' file and…
Sayan Sen
  • 1,654
  • 3
  • 16
  • 26
1
vote
1 answer

Fatal error detected by Java Runtime Environment by a class of a project

sorry to bother, but i´m quite new in working with Java. I´ve created a project with several classes, all classes worked fine, but since i started the algorithm again today, i recieve this error message. I could locate the error, being caused by one…
masc3265
  • 11
  • 3
1
vote
2 answers

java.net.BindException: Address already in use: JVM_Bind, in spite of no running port

I am trying to run Camunda BPM tool with embedded Apache tomcat. I get to the landing page, but then suddenly the get an JVM_Bind exception: 27-Mar-2020 13:11:57.277 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler…
Ayman Arif
  • 1,456
  • 3
  • 16
  • 40
1
vote
0 answers

Why JVM crashes with seg fault?

We are seeing a JVM running on ignite cluster crashes with seg-fault, the error trace taking us to org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write0 Below is full stack-trace of error. # # A fatal error has been…
tarunk
  • 549
  • 2
  • 7
  • 17
1
vote
1 answer

How to know the reason for JVM crashing with Segfault?

We are seeing the JVM getting crashed at times with segfault. The only error we see in logs is as below. Anyone can suggest something by looking at the below error trace. # A fatal error has been detected by the Java Runtime Environment: # # …
tarunk
  • 549
  • 2
  • 7
  • 17
1
vote
1 answer

JNI GetPrimitiveArrayCritical causes JVM Crash

I have a java program calling a JNI function to perform computation on a byte array, returning a long array of. The programs runs on Oracle JDK 1.8.0_221. To test the throughput, I run the code for multiple iterations on the same byte array of size…
Harper
  • 1,794
  • 14
  • 31
1
vote
1 answer

In Kotlin, why do each of my Floats occupy 128 bits instead of 16 bits?

I am trying to reduce the amount of memory footprint a huge data table (array) occupies during execution. For that I am using JCMD to print the histogram. However I found something funny here: num #instances #bytes class…
PedroD
  • 5,670
  • 12
  • 46
  • 84
1
vote
2 answers

Kafka consumer behavior when one consumer goes down/crash

My topics has 115 partition and around 130 consumers. I expect 115 consumers in active state (1 to 1 assignment) and the remaining 15 consumers in idle state. A few times, I observed high memory and JVM in hung state due to which rebalancing is…
Balaji Katika
  • 2,835
  • 2
  • 21
  • 19
1
vote
1 answer

JVM is crashing in a call of RUNJVA from a CL program on AS400 machine

I am calling a runnbale jar from a CL program by using RUNJVA command two times with different parameters as follows:      RUNJVA     CLASS('/MYFOLDER/JAVA/project.jar') +                PARM('INIT' '129.186.121.33' 'TESTLIB') +              …
Kishore_2021
  • 645
  • 12
  • 38
1
vote
1 answer

JVM crashes with ArrayIndexOutOfBoundsException because of Native Code

I have a JSP program where I'm trying to load checkboxes dynamically by using columns from a xls for which I'm using a native library called JEP to use Python to get the data.I know I can use something like ApachePOI to do the same but I need to…