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
4
votes
3 answers

Java Application Crash

I have been working on a large java application. It is quite parallel, and uses several fixedThreadPools (each with 8 threads). I am running it on a computer with 2 cores, each with 4 processors. My program is analyzing large sets of data, and the…
3
votes
1 answer

sun JVM crash during Java_java_net_NetworkInterface_getAll

Selenium-server queries all network interfaces at start time; unfortunately this causes a JVM memory corruption and hard crash of the JVM on my Ubuntu machine. This is reproducable on this machine by any java process calling…
ash_jungroup
  • 659
  • 5
  • 3
3
votes
2 answers

JVM crash in 6.0_26-b03

Our production servers crashed twice with problematic frame inside one of our classes. We have not been able to reproduce this issue and haven't seen it in any other environment. What can cause this? # # A fatal error has been detected by…
3
votes
1 answer

A fatal error has been detected by the Java Runtime Environment

Ran into this JVM error after running an process for an extended period of time that reads records from a csv file, validates the data, and stores in in a database. Using Hibernate and PostgreSQL. The JVM dump mentions some psql classes. Can…
Mouscellaneous
  • 2,584
  • 3
  • 27
  • 37
3
votes
0 answers

JavaFx Scenebuilder.exe won't start and it looks like the included JVM won't run. How can I fix it?

Scenebuilder.exe will not start on my new PC either from IntelliJ, Windows explorer, or command line. It gives no errors and terminates instantly. On a hunch I tried running the included JVM in C:\Program Files\SceneBuilder\runtime\bin java…
tpc1095
  • 109
  • 1
  • 12
3
votes
2 answers

Springboot application crashing on Cloud foundry without any crash logs

I have a spring boot application which is crashing on cloud foundry with no evident logs for crash. The application has 3 instances and any of the three instances crash some times twice a day and some times once in two days. There is no defined…
vikas
  • 31
  • 1
  • 4
3
votes
2 answers

JMeter's JVM crashes after 10 minutes

I'm using JMeter with 10 slaves. After executing for 10 minutes java crashes: # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000051c39ea0, pid=2488,…
vishwas-trivedi
  • 516
  • 2
  • 8
  • 26
3
votes
0 answers

"calls" made during compilation?

# A fatal error has been detected by the Java Runtime Environment: # # Internal Error (javaCalls.cpp:64), pid=3560, tid=140207058839296 # guarantee(!thread->is_Compiler_thread()) failed: cannot make java calls from the compiler # # JRE version:…
User1291
  • 7,664
  • 8
  • 51
  • 108
3
votes
1 answer

Why are some tests not executed in my Gradle build?

I have inherited a project with about 1000 tests. Until recently, all of them have been executed when I entered the gradle clean test command. From one day to another some of the tests stopped being included in the test statistic (the number of…
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
3
votes
2 answers

Java crashes randomly

Okay, I am facing this problem for quite a long time now and still couldn't get any solution. I will describe what's happening and what I tried to fix things. A year back I installed intellij Idea IDE in my windows 7 32-bit (4GB ram, 3.3GHz Intel…
user5818995
3
votes
0 answers

JVM Crash: scavenge_contents_parallel

I have a JVM with 1.8TB of heap space. Starting from last night, it crashes every couple of hours on: [GC (GCLocker Initiated GC) A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007fd88e4f7233,…
3
votes
2 answers

Jvm crash :fatal error has been detected by the Java Runtime Environment

I had a tomcat crash on live server , which generated hs_err_pid file .In this there is a Problematic frame -> _wordcopy_fwd_dest_aligned+0x54. I searched in all similar cases of jvm crash but couldn't find whats the meaning of this problematic…
3
votes
1 answer

It is posible to write hs_err_pid*.log in a specific directory (different than the class directory) when java virtual machine crash?

When a java application crash outside the java virtual machine generate a log file hs_err_pidXXXX.log in the same directory than the class running. It's posible generate this file in a different directory? My client want to change to read only…
ealmeida
  • 444
  • 3
  • 11
3
votes
4 answers

Jpcap breaking the JVM

I have written the following program that is intended to dump all network device traffic to a file. I know the problem involves the use of JpcapWriter. Why am I getting the error message shown below? import jpcap.*; import jpcap.packet.*; public…
Donald T
  • 10,234
  • 17
  • 63
  • 91
3
votes
2 answers

Understanding a hs_err_pid.log file

See here for original question. I'm writing a Java service, using Jetty for Webserving and SQLite for database storage. Source is available here. I found that, although the service ran stably from my laptop, when deployed to an EC2 instance it would…
scubbo
  • 4,969
  • 7
  • 40
  • 71