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
0 answers

How do I analyse JVM crash?

A Java Web application that I am running has been crashing every 30 days or so with the following error: # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000005ebf568,…
Anjan Baradwaj
  • 1,219
  • 5
  • 27
  • 54
0
votes
1 answer

Avoid JVM stop-the-world in critical section of code

I'm trying to solve a problem where I want to ensure mutual exclusiveness among multiple processes running on different machines. I want to ensure that there is always one and only one process executing the critical section. To achieve that, I…
rajneesh2k10
  • 1,550
  • 3
  • 12
  • 24
0
votes
1 answer

Spark - JVM Insufficient memory error while using Spark SQL

I am trying to run a spark job to process some Json data using Spark SQL. When i submit the job, I see the following error in the logs, Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f29b96d5000, 12288, 0) failed;…
0
votes
0 answers

Is it possible to enforce bytecode typechecks in the JVM compilers?

So I just debugged a segfault (C2 compiler crashing for certain methods). The error message was # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f478a832e6c, pid=7673, tid=139944974104320 # # JRE…
User1291
  • 7,664
  • 8
  • 51
  • 108
0
votes
0 answers

Java - Code Dump while calling JNI code

I'm using JNI to do some stuff in C, but whenever I execute the generated library, the JVM exits with SIGSEGV (0xb) following you'll find the error log(parts of it) and the code that the JVM exits at, if I understand the log correctly. First said…
Meik Vtune
  • 450
  • 8
  • 25
0
votes
1 answer

Java TrayIcon.setToolTip() crashes JVM on String with 128 characters

while running my mp3 player, it crashed on some songs. Looking into that, it turns out it's not the player itself, but the java TrayIcon class, when I call setToolTip(str) with str.length() == 128. I wrote a short example to prove what…
JayC667
  • 2,418
  • 2
  • 17
  • 31
0
votes
1 answer

What is the meaning of 0xdeadcab1 fault address

I have observed this value in the r3 or x8 register (on ARM) a handful of times when crashing in native code on Android. The crash is always caused by signal 11 (SIGSEGV), code 1 (SEGV_MAPERR). I was wondering if the specific value 0xdeadcab1 offers…
Błażej Czapp
  • 2,478
  • 2
  • 24
  • 18
0
votes
1 answer

JVM Error 525 : Bad persistent object

I'm trying to add a string value and a customized horizontal field manager to a HashTable. String being the key and the custom horizontal field manager being the value. I do remove the pair from the Hashtable whenever the horizontal field managers…
Talha
  • 1
0
votes
0 answers

Best way to cache/reuse json object

Recently, we have issues with some of our production JVMs which is going for GC very frequently and taking long gc pause as well. After looking into the heap dump it seems a new class introduced in recent build storing large number of product data…
Pinaki Mukherjee
  • 1,616
  • 3
  • 20
  • 34
0
votes
1 answer

Unable to run any services in cloudera manager express 5.9

Server Error A server error has occurred. Send the following information to Cloudera. Version: Cloudera Express 5.9.1 (#8 built by jenkins on 20170112-1158 git: a66d8bbdbe8bc3ee54235e55423f2f76c7d9f3b1) Detected pause in JVM or host machine (e.g. a…
Bhavesh Gadoya
  • 196
  • 2
  • 13
0
votes
2 answers

Spring Tool Suit is getting crashed after few minutes of running

My specifications are :Java version : 1.8.0_121,Windows 7, 64 bit OS,STS version : 3.8.3 I have already tried all possible options available on similar questions like : Increase heapsizr in STS.ini file Add VM argument to exclude compiler…
0
votes
1 answer

Even more JVM crashes after using protected mode in JNA

I'm interfacing with a native library using JNA 4.2.1 on a Apache Spark Cluster (nodes running with Linux (Oracle 6.7)). Very rarely, my JVM crashes because of a SIGSEGV Signal sent by the native library, which makes my entire spark-application…
Raphael Roth
  • 26,751
  • 15
  • 88
  • 145
0
votes
1 answer

error of java runtime environment

I was running a JAR file, and got this error. # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fe8e611a009, pid=15661, tid=15690 # # JRE version: OpenJDK Runtime Environment (9.0) (build…
user2332706
  • 39
  • 1
  • 2
  • 6
0
votes
0 answers

JVM crashes while using Excel as Database with the following error

I have using Excel as database with JAVA 7 and it works just fine . But since support of JDBC-ODBC Bridge has been removed in Java 8, so java 8 can't access ODBC databases like MS Access or Excel(as a database) . I further went forward with a custom…
Aditya
  • 159
  • 1
  • 1
  • 10
0
votes
0 answers

How to properly deal with a Java VM crash report

I run a game server made with Java directly on the Eclipse (in debug mode), and each 24 hours more or less it just crash. It drops me a crash report log and an error on the Eclipse Console, and I would like to know what I can do to trace the problem…
Dr.House
  • 61
  • 4