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
1 answer

Eclipse keeps crashing

Eclipse keeps crashing for some reason and I'm not sure why. I looked at other answers and tried to increase the heap size, but that didn't work. These are the errors that I'm getting. I'm on windows 8.1, java 64 bit
rasen58
  • 4,672
  • 8
  • 39
  • 74
0
votes
0 answers

the Play framework 2 crashes on validation error

Play framework 2.2.0 crashes when user enters a value out of range in a field that is binded to a model field with @Min annotation. To ensure that it's not a problem caused by my own models, I modified computer-database sample from play directory. I…
jrook
  • 3,459
  • 1
  • 16
  • 33
0
votes
1 answer

java option Heap dump on out of memory

In Hotspot JVM 1.4.2, I used the option -XX:+HeapDumpOnOutOfMemoryError and it says unknown option. How do I get Heap Dump in this JVM. (I cannot migrate to JVM 6 as its a legacy application running here since years).
user2531191
  • 579
  • 10
  • 27
0
votes
2 answers

Out-of-Memory on Tomcat

I am using Tomcat 7 to deploy my application (using spring controllers) and i see the following exception happening at times on my server. Please help. Do understand that this has something to do with my server memory, but what could be the fact…
Akhil Achuthan
  • 141
  • 3
  • 16
0
votes
1 answer

WebSphere 7.0.0.19 JVM Crash Load Testing RHEL Linux

WebSphere JVM crashes while performing load testing and generates .dmp, .txt and .trc files. Environment details: HW: Architecture x86_64 CPU op-mode(s) 64-bit CPU(s) 5 RAM 16 GB OS: Operating System Red Hat Enterprise Linux Server release…
Anant
  • 1,356
  • 1
  • 11
  • 9
0
votes
1 answer

Why does a NPE cause JVM to Crash?

We're using Struts2 for an enterprise application and it crashes because of a NPE. The exception occures in the error handling method of the action. My guess is, it's trying to call the error handling method recursively because when it's trying to…
Emre Türkiş
  • 992
  • 9
  • 23
0
votes
2 answers

JVM abrupt shutdown on creating threads and doing network operation in them

This is an issue with I am trying to fix, maybe a bug in JRE please vote to reopen this question. It's very selfish approach to mark something off topic if you are not competent enough to understand some problem. Java Version java version…
AZ_
  • 21,688
  • 25
  • 143
  • 191
0
votes
1 answer

Simultaneously run Java Virtual Machines

I am trying to run some different Eclipse RCP implementations simultaneously, and I receive the following error message: "Java was started but returned exit code=1". I understand that happens when a xmx or xms parameter greater than between 1.2 and…
mochomecha
  • 162
  • 1
  • 11
0
votes
2 answers

JVM Crash notification as a popup message?

I am working on a project where my job is to crash the JVM by executing a program. In the JVM I have Tomcat running with a web app deployed in it. As soon as the JVM crashes I get "Page not found. Server may be down" error in the browser for the web…
kajarigd
  • 1,299
  • 3
  • 28
  • 46
0
votes
1 answer

JVM 6.0_30-b12 crashed after our product upgrade

We have recently upgraded our product from earlier version at site. And after the upgrade when we try to bring the service, it failed to come with the following jvm error. We have verified the jvm options also and it looks same as old product…
vijayashankard
  • 721
  • 1
  • 7
  • 23
0
votes
1 answer

see this jvm crash, I use NIO to read and write files, it happens during read, but not always what's wrong

it not always happen , we can‘t restore the situation stability. we thought it was a mutithread error and add synchronized , but it seems not works, what can I do? here is the get method: public synchronized T get(long pos){ initBuffer(pos); …
0
votes
0 answers

Segmentation fault with talend start

This question could be repeated, But this is some unique problem in talend and my eclipse is working fine by using same JVM. I have been working on Linux environment and I recently downloaded the Talend ETL Open studio zip file for the data…
0
votes
2 answers

How is Heap dump file created after JVM crash

When JVM crashes, Heap dump file(hs_err_pidXXXX.log) is created in the working directory. I want to know who creates this file. JVM crashed means it has terminated abnormally. So it will definitely not create this file. So how is this file…
Aniket Thakur
  • 66,731
  • 38
  • 279
  • 289
0
votes
1 answer

Which class is used to print Thread Dump of JVM Java Virtual Machine?

I want to generate the thread dump of my running application. However, when I do kill -3 PID, it generate the thread dump at the console of the running application. I want to generate it to a file. I know I can run the application as ./run.sh >…
Archit Thakur
  • 105
  • 1
  • 1
  • 8
0
votes
2 answers

jna call to kernel32.CreateToolhelp32Snapshot in shutdown hook crashes the VM

If a thread sets a shutdown hook using Runtime.getRuntime().addShutdownHook(); calls via jna the method: kernel32.CreateToolhelp32Snapshot (0x00000002, 0) it crashes the VM. If I call the same method in the WindowListener.windowClosing() hook,…
jumar
  • 5,360
  • 8
  • 46
  • 42