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

How to crash a thread or intentionally hung the thread?

Just curious on how I can check a thread status after crashes. so far, i did some System.exit(0) or (1) but it seemed to me the thread is still alive and runnable - was expecting for it to be terminated. Here's my test code on checking the…
gzz
  • 655
  • 5
  • 18
3
votes
3 answers

Blackberry 9800 Simulator Crashing When Launching Browser

The Blackberry 9800 simulator is crashing when launching the browser, throwing JVM Error 104: Uncaught IllegalStateException. This is a clean install of the simulator with no 3rd party applications installed to it. I strictly wanted to use it…
3
votes
2 answers

How to fix Eclipse Java Virtual Machine Launcher Error?

So like the title says, Im having an issue with eclipse JVM launcher. Last night, everything was working fine, as far as I know, nothing at all has changed on my pc since then. However, I woke up this morning to find that when I run any of my…
Ashwin Gupta
  • 2,159
  • 9
  • 30
  • 60
3
votes
1 answer

Insufficient memory for Java Runtime Environment to continue in Tomcat

I'm a tomcat/ tech newbie, so i'm sorry if I make any mistakes in the problem description. I'm trying to run a dashboarding application, DOMO on our test server. We have been using tomcat to run the application since a decade, and everything usually…
user2673722
  • 295
  • 2
  • 6
  • 15
3
votes
1 answer

Solr cloud crash after indexing while serving regular search requests

I have a 4.6 solr cloud installed over tomcat7, with a setup of 4 shards (two replicas each) and ZooKeeper ensemble of 3 servers. Every solr server has 8 cores, and 30Gb of ram, i allocate 15Gb for the solr/tomcat, and the rest to be handles by the…
Katz Adir
  • 31
  • 2
3
votes
2 answers

Tomcat or JVM crash dump file?

Our Tomcat server terminated unexpectedly. (It runs as a windows service; the system event log shows an error: Event ID 7034). Where can I find a dump of a JVM crash, or some indication of why the Tomcat service actually stopped running? I see a…
RMorrisey
  • 7,637
  • 9
  • 53
  • 71
3
votes
0 answers

JVM intermitent chrashes on garbage collection

We have an JSF app deployed on jboss5 with JVM HotSpot build 1.6.0_14-b08. On a machine with 4 cores. In the last few days we encountered a few sudden crashes of the JVM accodring to the fatal error log it looks like taht it is caused during garbage…
simonC
  • 4,101
  • 10
  • 50
  • 78
3
votes
1 answer

How to debug a remote application,which does not support java plug-in?

My application does not support next generation java plug in, but in one of my document i see steps to debug this application to set jvm runtime parameter as -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y . Now the problem is…
Pankaj Kumar
  • 255
  • 5
  • 17
3
votes
1 answer

Anyone tried submitting hs_err files to Sun?

I run a lot of java code on my servers, and occasionally I get a JVM crash, accompanied by a crash dump hs_err_pid file. Lately I've decided to try to be a better netizen, so I examined the latest crash log, made sure it was indeed the latest JVM,…
itsadok
  • 28,822
  • 30
  • 126
  • 171
3
votes
1 answer

JVM crashes during full GC

I am running application using JDK1.5 and during full gc is running, JVM crash and application is terminated. I try to find the answer and search all blogs but to no avail. Kindly please help on this issue. Below is my configuration for JVM. $JAVA…
3
votes
1 answer

The crash happened outside the Java Virtual Machine in native code

I am doing web crawling on a Sun server with 32 virtual processors and 32GB memory. I opened 1460 threads to do the job for me. The runtime parameters I set were -Xms2048 and -Xmx2048. I have run the code twice, but it crashed at different points. >…
Terry Li
  • 16,870
  • 30
  • 89
  • 134
2
votes
3 answers

Android studio displaying error: Failed to load JVM

Error Message The error message I'm receiving reads: Failed to load JVM DLL C:\Program Files\Android\Android Studio\jbr\\bin\server\jvm.dll If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System…
HSaunders603
  • 21
  • 1
  • 7
2
votes
0 answers

JVM Crash with sun.misc.Unsafe::GetInt when write Spark Dataframe in parquet format (SPARC Solaris)

I am using Spark3.1.1/Hadoop3.2.2 on Solaris 11. When using Spark to write dataframe to Hadoop in parquete format, JVM crashed with SIGBUS error (Java Frame: sun.misc.UnSafe.GetInt). Error happens only when running in Solaris with SPARC 64 bit, not…
Duc Duong
  • 21
  • 3
2
votes
1 answer

sigsegv compilation error of simple kotlin code

Following code generates error which looks like an error in compiler, its has nothing to do with the kotlin code, or maybe I am missing something? I have JDK error on macos and some more informative error (like pasted at the end of this post) from…
mike
  • 1,670
  • 11
  • 21
2
votes
1 answer

How to restore data from MapDB wal (write ahead log) files?

My objective is to enable MapDB crash protection and if a crash happens, how to restore data. I have enabled transaction for MapDB DB db; HTreeMap< String, String > mapDb; db = DBMaker.fileDB( "walTest/file1.db" ) .transactionEnable() …
Tilak De
  • 141
  • 2