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

Java Appcrash Problem

when I start my Java-Program, I get this error (using Xuggle-library with Webcam): Problem signature: Problem Event Name: APPCRASH Application Name: java.exe Application Version: 6.0.260.3 Application Timestamp: 4dc11607 …
maximal
  • 23
  • 1
  • 3
2
votes
0 answers

Why and how to find where JVM off-heap memory leaks occur

I have a Java project which shows a memory leak in the product environment. We can see its memory expand and grow bigger and bigger using 'top' or 'cat /proc/PID/status|grep VmRSS', but its JVM heap remains in a good state, which means the heap…
2
votes
1 answer

Why when I don't use the "lambda method reference" code style in static block will cause deadlock?

PS: Sorry for my poor english.I can't describe the problem clearly. :( When I don't use the "lambda method reference" code style in the static block, like: static{ map.keySet().parallelStream().forEach(e -> { System.out.println(e); …
ACBingo
  • 1,078
  • 1
  • 8
  • 13
2
votes
0 answers

Segfault/SIGSEGV in Grails 2.5.6 running functional tests

While running functional tests in Grails 2.5.6, we get a Segfault: I have submitted a report to Oracle (https://bugs.openjdk.java.net/browse/JDK-8209525), who as a preliminary recommended turning off the -javaagent JVM option which Grails seems to…
2
votes
4 answers

Java crashed application - how to find out why Java crashed?

My java server started to crash repeatedly, and I can't find why. I have server with 7.5GB memory and I have allocated 3GB for the java process. Server was running fine, and ran garbage collection many times, but the JVM crashed when under memory…
Libor Havlicek
  • 145
  • 1
  • 2
  • 10
2
votes
2 answers

What is the meaning of Compilation Events at hs_err_pid file?

I got my JVM crash and the stack trace at the generated hs_err_pid file is pointing to some method. Now, I see that the same method also exist in the a lower sub-section (under Process section) named "Compilation events". What is the meaning of…
Assimiz
  • 256
  • 2
  • 12
2
votes
2 answers

JVM crashes when attempting to modify String value using reflection

This is my first question I hopefully don't make any terrible mistake. Assuming no SecurityManager is preventing me from doing this : public static void main(String[] args) { String str = "1"; System.out.println("str value before invoke…
vemjol
  • 21
  • 1
2
votes
0 answers

Maven build failure when running tests due to JVM crash

I have a java project with thousand tests, When I run the tests it ends as follows: $ mvn surefire:test . . . [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]…
bachr
  • 5,780
  • 12
  • 57
  • 92
2
votes
1 answer

JVM crashes with Apache HttpClient RequestAddCookies.process

I have a web-app running on JBoss that executes various http requests with Apache http client library version 4.5.1. I had experienced various jvm crashes because of an EXCEPTION_ACCESS_VIOLATION that happens randomly and generates…
Svech87
  • 88
  • 1
  • 1
  • 7
2
votes
3 answers

Java Runtime Environment getting "fatal error SIGSEGV" for program using JOGL

I am trying to run a Java program through Eclipse. Whenever I try and run the thing, this is what I get: Info: XInitThreads() called for concurrent Thread support # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV…
user220878
2
votes
3 answers

Can JVM kill a timer/daemon thread while app is running (abruptly)?

I am planning to create a thread which will behave like a timer. I will use sleep to retrigger the operation after specific delay.. I am worried if JVM can abruptly kill my thread without closing the application, So if app is running and this thread…
Rohit Kasat
  • 300
  • 3
  • 13
2
votes
1 answer

Is it possible to configure a JVM on Windows to not load msvcr100.dll?

msvcr100.dll (Visual C++ Runtime) seems to have become part of the Java runtime on Windows after Java 1.6, and I'm thinking if Java ran on Windows all these years without it, why is it now I must put up with it, or can I configure it out of the…
Dale
  • 5,520
  • 4
  • 43
  • 79
2
votes
1 answer

Grails - Frequent JVM crash

I am working on a fairly large grails project with over a 100 domain classes. Recently we upgraded to grails 2.4.4 and I am seeing frequent jvm crash since then, its like, jvm will crash two out of five times, when i do a clean…
Sudhir N
  • 4,008
  • 1
  • 22
  • 32
2
votes
0 answers

Cassandra Solaris Crash CompactibleFreeListSpace::block_size

I've got some Cassandra 1.2.5 instances installed on Solaris machines, and have recently tried updating from Java 1.6 to 1.7 to try and fix some performance issue's I've been running into, but after updating it is now crashing on start up with the…
Justin
  • 21
  • 1
2
votes
0 answers

Eclipse crash on startup: startJavaVM

I have an Eclipse Kepler installed and I use it for monthes, with a JDK 7u65 installed. I recently tried to install a JDK 7u67 which failed (don't know why). It is the same when trying to install a JRE 7u67. I then removed the folder of the JDK…
Rémi Doolaeghe
  • 2,262
  • 3
  • 31
  • 50