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
11
votes
2 answers

JVM crashed in java.util.zip.ZipFile.getEntry

Following log file resulting a JVM crash. # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f60ddce2058, pid=117268, tid=140052313204480 # # JRE version: Java(TM) SE Runtime Environment…
Ruchira Gayan Ranaweera
  • 34,993
  • 17
  • 75
  • 115
11
votes
2 answers

Run 64-bit JVM from C code

I'm launching my Java software using a Windows launcher written in C. It basically loads the jvm.dll and uses it to initialize a JVM without using javaw. Now, I tried to compile it on 64-bit and it loads the correct jvm.dll from the 64-bit Java…
das_j
  • 4,444
  • 5
  • 31
  • 47
10
votes
4 answers

I get "Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGTERM to handler" error in tomcat

I have tomcat web app on VPS and the tomcat sometimes (about once a month) crashes with the following error in catalina.out: Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGTERM to…
Arshak
  • 716
  • 2
  • 7
  • 15
10
votes
2 answers

Can Sun JDK generate core/heap dump files when JVM crashes?

Is there anyway to generate core/heap dump file when JVM crashes? Since these files are usually very helpful to find out bugs in code.
cheng
  • 2,106
  • 6
  • 28
  • 36
9
votes
2 answers

JVM Crash with G1 GC and trove library

We have the following problem: On some of our Linux machine, Java applications which make use of the trove library and G1 GC will crash rather fast with messages of the following type: A fatal error has been detected by the Java Runtime…
malamut
  • 456
  • 4
  • 12
7
votes
1 answer

Guess method line number from JVM fatal error log

I have a fatal error log without a core-dump and need to identify the cause. This is the stack found in the .log file: # Problematic frame: # C [libc.so.6+0x7b4bb] memcpy+0x15b {...} Stack: [0x00002ac8c4d2c000,0x00002ac8c4e2d000], …
Turin
  • 175
  • 5
6
votes
2 answers

No hs_err_pid.log file created and core dumped from jvm on Solaris

Problem description After a while of running my java server application I am experiencing strange behaviour of Oracle Java virtual machine on Solaris. Normally, when there is a crash of jvm hs_err_pid.log file gets created (location is determined by…
pkk
  • 3,691
  • 2
  • 21
  • 29
6
votes
1 answer

Final, non-canonical NaN double value changes during runtime

I am writing Java code that interacts with R, where "NA" values are distinguished from NaN values. NA indicates that a value is "statistically missing", that is it could not collected or is otherwise not available. class DoubleVector { public…
akbertram
  • 1,330
  • 10
  • 16
6
votes
0 answers

Is there any non-heap memory limit in java 8?

I'm encountring a critical problem. working on a Java RCP app (desktop) which is frequently crashing on my machine (not on the machine of my collegue). I set the xmx and the xms as the config of my collegue app and i run a diagnostic on memory but…
NashBird99
  • 193
  • 2
  • 12
6
votes
1 answer

EXCEPTION_ACCESS_VIOLATION (0xc0000005)

We run our set of tests in our own test tool (Java Based)..and random test fails.....we get the below JVM fail error......Please Help..... A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at…
Saiket Tewary
  • 99
  • 1
  • 1
  • 3
5
votes
2 answers

JVM crashes continuously during lucene indexing

JVM crashes continuously. I can't to figure out what the problem is. I tested with the latest 1.6 jdk as well as 1.7. The same problem. I have run the memory check and the no errors were reported. I also tried jrockit and the same thing happened…
user3111525
  • 5,013
  • 9
  • 39
  • 64
5
votes
3 answers

JVM hangs because of infinite GC

I have a huge application running in glassfish server which creates lot of short-living objects and i have the following GC configuration in…
5
votes
2 answers

JVM (64-bit 1.5.0._22) crashing at GCTaskThread

One of our dev servers keeps crashing every now and then and the reports look very similar. We're thinking it is due to lack of memory, but we want to verify this. Could you guys assist in this process? Below you'll find the relevant information…
Yon
  • 1,023
  • 4
  • 13
  • 23
5
votes
0 answers

jvm crashes inside Arrays.equals()

From the core created I could see that > A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x00007ffbccaa1b83, pid=1781, tid=0x00007ffbb31ec700 > # > # JRE version: Java(TM) SE Runtime…
magmike
  • 473
  • 1
  • 5
  • 18
5
votes
1 answer

java.lang.VerifyError with inner class & lambda

The follow code compiles but causes a java.lang.VerifyError. The error occurs even if the run() method is not executed. import java.util.HashMap; import java.util.Map; import java.util.function.Function; public class TestCase { public static…
dontocsata
  • 3,021
  • 3
  • 20
  • 19
1
2
3
17 18