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

JVM Problematic frame - EXCEPTION_ACCESS_VIOLATION Error

I am getting the following error while running Grails application: A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6df13df3, pid=1516, tid=8592 JRE version: 7.0_05-b06 Java VM:…
maaz
  • 3,534
  • 19
  • 61
  • 100
4
votes
3 answers

Failed to load Main-class Manifest Attribute

I am getting following error while executing compiled jar file. I have re installed my java but my problem is not solved yet. Failed to load Main-class Manifest Attribute from D:\Tools\Lodable_Creation\dist\Lodable_Creation.jar Currently by…
Code Hungry
  • 3,930
  • 22
  • 67
  • 95
4
votes
3 answers

Queries from JVM core file dump

A JVM crashed and created a JVM core pid file. I am inexperienced with JMV core files so I could use help with following. The error which I am getting is: # # A fatal error has been detected by the Java Runtime Environment: # #…
vijayashankard
  • 721
  • 1
  • 7
  • 23
4
votes
1 answer

JNI crashing JVM - A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION

I'm getting this error during program execution which crashes the JVM. There is third party code for which we don't have access to source. It looks like it is making use of JNI to execute some native code which crashes JVM. The program runs in a…
4
votes
1 answer

Embedded neo4j crash with no stacktrace

I'm running neo4j 2.3.0-RC1 embedded, using the Java API. It keeps crashing without warning, and I'm trying to figure out why. I was previously using this code just fine with 1.9.8. Upgrading to 2.0+ has required adding transactions, altering some…
Stewart
  • 17,616
  • 8
  • 52
  • 80
4
votes
1 answer

Build fails because of Maven Surefire

Has anybody an idea why I get this erromessage after running the tests of this package? I have already tried to give more memory but it did not suceed. Now I am really desperate to solve this problem. This project contains the client of the…
MJCM
  • 41
  • 1
  • 2
4
votes
3 answers

How to view Object at Memory Address?

I have a thread dump and Memory dump of my process where a thread is hung at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x000000070feebf40> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) at…
Arun Thirupathi
  • 351
  • 2
  • 11
4
votes
2 answers

faulting module msvcr100.dll,exception code 0xc0000417

When I run a self written java program and after a certain time the JVM crashes, but no JVM log is saved. The only thing I find is following event in Windows Event Viewer: Faulting application java.exe, version 7.0.670.1, time stamp 0x53d28725,…
Rob Daems
  • 109
  • 1
  • 7
4
votes
6 answers

How to take heap dump?

I want to collect heap dump on JVM crash So i wrote a simple code public class Test { private String name; public Test(String name) { this.name = name; } public void execute() { Map randomData = new…
Aniket Thakur
  • 66,731
  • 38
  • 279
  • 289
4
votes
2 answers

What do the "compacting perm gen" values represent?

I'm investigating a JVM crash on one of our production systems, what do the following memory values represent in the hs_err_pid log file snippet below? Heap par new generation total 1258624K, used 955445K [0x00000005c0000000, 0x00000006155b0000,…
seanhodges
  • 17,426
  • 15
  • 71
  • 93
4
votes
1 answer

Invoking Java from C++: how to catch/detect a fatal JVM error?

I'm developing a C++ program (Win32, MS Visual Studio 2008) which creates a Java VM via JNI as outlined here. It has been working fine for a long time, with both Java 6 and Java 7. Today I have installed a new version of JRE; something went wrong in…
4
votes
2 answers

Need to work around applet crashing JVM in specific circumstances

I have been tasked with updating our ancient Java applet from applet tags to object tags, since applet tags have been deprecated for some time now. The applet must work as far back as earlier Java 1.6 versions, on browsers going back to IE6. I made…
PLavigne
  • 75
  • 1
  • 10
4
votes
4 answers

jdk6 Problematic frame: # J java.util.LinkedHashMap.addEntry(ILjava/lang/Object;Ljava/lang/Object;I)V

Is there a way to resolve this kind of error report: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fc955e66998, pid=25851, tid=140467030525696 # # JRE version: 6.0_37-b06 # Java VM: Java…
Martin
  • 1,385
  • 15
  • 21
4
votes
5 answers

A fatal error has been detected by the Java Runtime Environment while running my application

I have the following error while running my program and can't figure out what is the solution I also looked at all the topics with a similar error , but could not resolve my issue. Here the error: My application is built on Groovy and Grails…
maaz
  • 3,534
  • 19
  • 61
  • 100
4
votes
3 answers

JVM crashing while writing to XLSX file( POI)

JVM is crashing while trying to write to the .xlsx file. I am using POI(XSSF) for the same. The error location point in code is the write method--> workBook.write(fileOutputStream); On Console I get.. A fatal error has been detected by the Java…
KDjava
  • 2,355
  • 4
  • 17
  • 22
1 2
3
17 18