jvm-crash

Tool for debugging hangs in java application

試著忘記壹切 提交于 2020-01-10 10:16:51
问题 I've got a java application that half the time just hangs, and the other half the JVM crashes. Is there a tool I can use to see what's going on that makes it hang and/or crash? I'm using CentOS 5.6 回答1: There are two different cases. Application crash: Was that an OOM? NPE? What was the exception? If there was jvm crash you will see hs_err_.log (http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf) Looking at the file you may see if your own JNI caused a crash or JVM bug. Application Hang: I

Tool for debugging hangs in java application

孤街醉人 提交于 2020-01-10 10:16:06
问题 I've got a java application that half the time just hangs, and the other half the JVM crashes. Is there a tool I can use to see what's going on that makes it hang and/or crash? I'm using CentOS 5.6 回答1: There are two different cases. Application crash: Was that an OOM? NPE? What was the exception? If there was jvm crash you will see hs_err_.log (http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf) Looking at the file you may see if your own JNI caused a crash or JVM bug. Application Hang: I

Java2D Disposer Thread crashing the JVM

家住魔仙堡 提交于 2020-01-06 08:17:13
问题 My application is running on a jboss wich randomly crashes. After generating the below error file, we started investiguating. We are running withe the following ecosystem : jboss : JBOSS EAP 6.2 jvm : 1.7.0.121-2.6.8.1.el6_8 OS:Red Hat Enterprise Linux Server release 6.9 (Santiago) uname:Linux 2.6.32-696.30.1.el6.x86_64 libc:glibc 2.12 If I well understood, this is due to the garbage collection of native resources created by java.awt package. The thread responsible of that is Java2D Disposer.

How to fix Eclipse Java Virtual Machine Launcher Error?

♀尐吖头ヾ 提交于 2019-12-30 10:24:44
问题 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 projects in eclipse I recive this error: Java Virtual Machine Launcher- Error: could not open C:\Program Files\Java\jre1.8.0_60\lib\amd6jvm.cfg I have already verified the integrity of my Path variable, ( C:\Program Files\Java\jdk1.8.0_65\bin ) Now at

Unloading dll rxtx before exit to avoid jvm crashes or hide hs_err_pid.log files

情到浓时终转凉″ 提交于 2019-12-25 05:25:12
问题 Well, I'm on a project that uses rxtxSerial.dll (very buggy by the way). Anyway, I made a modification on the GUI to make it more user-friendly, initially the program shows up the main window and it's possible to open some other frames where the user can monitor certain devices designed by the company I work for. So when the user wanted to close the hole program and any windows where openend it showed up a dialog asking for the user close the oppened windows himself and then close the program

Invoking Java from C++: how to catch/detect a fatal JVM error?

坚强是说给别人听的谎言 提交于 2019-12-23 12:47:01
问题 I'm developing a C++ program (Win32, MS Visual Studio 2008) which creates a Java VM via JNI as outlined here. It has been working fine for a long time, with both Java 6 and Java 7. Today I have installed a new version of JRE; something went wrong in the installer, and the JRE become corrupt. I noticed that my C++ program doesn't start and doesn't issue any warning messages. Debugging the program showed that it runs successfully until the JNI_CreateJavaVM call; but calling JNI_CreateJavaVM

Blackberry 9800 Simulator Crashing When Launching Browser

倾然丶 夕夏残阳落幕 提交于 2019-12-22 10:33:23
问题 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 for testing web applications. All other applications on the device seem to work without error. 回答1: I managed to get it working. Exit the Simulator (if running) Go to c:\program files\Research In Motion Right click BlackBerry Smartphone Simulators 6.0.0

Java : how to check current Perm / PermGen Size?

这一生的挚爱 提交于 2019-12-20 09:05:32
问题 Yesterday when I was running the WebLogic Application Server 11g installer, I encountered a OutOfMemory error, so I Googled for the answer: java -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -jar wls1032_generic.jar Everything worked :) However, when I think twice about the solution, I might have made a mistake: How could I know the current settings of those? I certainly need to check their values before overriding them, right? Any thoughts? Related link: People in another thread

How do I investigate the cause of a JVM crash?

折月煮酒 提交于 2019-12-17 15:53:52
问题 One day ago, after a few months of normal working, our java app starts to crash occasionally with the following error: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (safepoint.cpp:247), pid=2075, tid=140042095163136 # guarantee(PageArmed == 0) failed: invariant # # JRE version: 6.0_23-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops) # An error report file with more information is saved as: # /var/chat

A fatal error has been detected by the Java Runtime Environment: SIGSEGV, libjvm

余生长醉 提交于 2019-12-17 06:37:11
问题 Hi and thanks for reading, I have the following error while running my program and can't figure out what the solution would be. I also looked at all the topics with a similar error here, but could not resolve my issue. Here the error: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f0b024734cd, pid=21947, tid=139676677560592 # # JRE version: 6.0_15-b03 # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.1-b02 mixed mode linux-amd64 ) #