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
0
votes
1 answer

JVM Crashing few minutes after application starts

JVM is getting crashed few minutes after the application starts. This application is working fine in other machines. This application uses javax.print apis. Could the faulty printer dlls be culprit? How to resolve this issue? # # A fatal error has…
0
votes
1 answer

JRE Access Exception Crash Caused by JNA

I am attempting to get the Version info for a .exe using the Version.dll and JNA. import com.sun.jna.Library; import com.sun.jna.Native; import com.sun.jna.ptr.IntByReference; import com.sun.jna.ptr.PointerByReference; import…
GEverding
  • 3,131
  • 2
  • 21
  • 23
0
votes
1 answer

How to change constructors JVM signature for preventing platform declaration clash in Kotlin

I am trying to make a expandable recyclerview with model data. But I am getting a signature error. Tried different solutions but didn't work.How can i set JvmName to a constructor? Error: Platform declaration clash: The following declarations have…
alpertign
  • 296
  • 1
  • 4
  • 13
0
votes
0 answers

JVM error when trying to train model in memory map. DL4J

I have hit a brick wall, in using DL4J. When I try to train my model inside a memory map, it only results in a JVM error. I am using DL4J 1.0.0 beta-6 (beta 7 was fussing over some source code issues that I couldn't resolve) I will post the rest of…
Developer
  • 98
  • 1
  • 9
0
votes
1 answer

jdk1.6 JMAP.EXE: Remote thread failed for unknown reason

I get this error when using the following batch file to take a core dump of a Java service running in a Windows console shell: The parent directory name of this script is: MyDIR Install dir is: C::\InstallDIR The process id of window called…
djangofan
  • 28,471
  • 61
  • 196
  • 289
0
votes
0 answers

why my application crash when we have 64 java installed alone

There are two scenario's Scenario 1: In windows 7 or 10, When I have two java installed (1.8u202 32 bit and 1.8u202 64 bit). My application(Swing application) was launched with 64 bit java and is running fine for months. Scenario 2: In windows 7 or…
vidhi
  • 1
  • 1
0
votes
1 answer

JVM crash on Centos7

I am running a jetty server on centos7 and it keeps crashing with the below error # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fdd323ee698, pid=79411, tid=0x00007fd05bdfd700 # #…
Raj
  • 401
  • 6
  • 20
0
votes
1 answer

JVM crashes again and again with fatal error

Facing issue in my production server. JVM crashed again and again. with the below fatal error. Point of crash is always be different. JVM memory related information attached as Pic. # # A fatal error has been detected by the Java Runtime…
0
votes
3 answers

JVM crash.. How to get err log or core dump

I have a java application that calls a native dll using jna. The program crashes JVM in the middle after my callback in java is execute and throw "java platform se binary has stopped" dialogue box. the java console logs are not useful, there is…
Ahamed Hak
  • 23
  • 2
  • 4
0
votes
0 answers

Frequent JVM crash by SIGSEGV on cv::_OutputArray::create at libopencv_java342.so

I am getting frequent JVM crash. Using opencv with Java Imgproc library. It gets called from findContours function of Imgproc library. Stack: [0x00007febe3875000,0x00007febe38f6000], sp=0x00007febe38f3ea0, free space=507k Native frames:…
0
votes
1 answer

Java2D Disposer Thread crashing the JVM

My application is running on a jboss which randomly crashes. After generating the below error file, we started investigating. We are running with the following ecosystem: jboss : JBOSS EAP 6.2 jvm : 1.7.0.121-2.6.8.1.el6_8 OS:Red Hat Enterprise…
Coulemelle
  • 341
  • 1
  • 4
  • 13
0
votes
1 answer

Java: Using JVM argument -XX:ErrorFile and append the logs in existing log file without pid

I have following configuration for my service exec java -Djava.io.tmpdir=$tmpdir -Djava.library.path="Some_Path" -Xmx"$heapsize"m -XX:+UseConcMarkSweepGC -XX:OnOutOfMemoryError="Do something, may be restart" …
Gruu
  • 1
  • 2
0
votes
2 answers

eclipse crashes - failed to start jvm

i am trying to use weka on Android. i need to increase the heapspace to use that. i have tried various combinations of -xmx and -xms but it fails to start the jvm. currently i have this set up, but it does not work --launcher.XXMaxPermSize 1024m …
i_raqz
  • 2,919
  • 10
  • 51
  • 87
0
votes
1 answer

VM Crashes on launching application/ JDK8+Jacoco

Caused by: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_111\jre\bin\java"…
0
votes
3 answers

Increase memory allocated to jdk

My eclipse is pointing to a jdk. I am using GWT. sometimes my eclipse is crashing with the following error, can someone help i'm getting a new error when Xmx2000m these are some of the last lines of the error log !ENTRY org.eclipse.ui 4 4…
Noor
  • 19,638
  • 38
  • 136
  • 254