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

'std::bad_alloc' in Java program

I have a java process which I startup and let run for several days. The logs for this process looked fine up until the very end of the process's lifetime where I see the following two lines, and then nothing after it. terminate called after throwing…
almel
  • 7,178
  • 13
  • 45
  • 58
0
votes
1 answer

JVM SIGSEGV crash in native without any named library

We've now encountered two times a SIGSEGV crash in Oracle 1.8.0_60 JVM where the error log doesn't even implicate any library, just says that crash happened in native code: # Problematic frame: # C 0x00007f6d04000000 # and # Problematic frame: #…
jmiettin
  • 85
  • 1
  • 5
0
votes
1 answer

GCTaskThread JVM Crash

My JVM (7.0_21-b11) is crashing randomly (sometimes after 1 day and sometime after 1 month). We are using an API that makes JNI calls. Based on quick search seems like this happens either because of faulty JNI calls or faulty RAM / DISK. We are…
J Darwin
  • 1
  • 2
0
votes
1 answer

Java JNA: JRE crashes after application completes

I'm accessing a native lib with JNA. This is my first time ever working with JNA and I also don't have experience with c/c++. I was able to get the application to work and I get a correct result returned and displayed using System.out.println().…
beginner_
  • 7,230
  • 18
  • 70
  • 127
0
votes
2 answers

Breaking Down Native Memory Usage Within a JVM Process on SLES

I have a WebSphere Portal application running four instances on a single box and after about 7 days of runtime there is only 130-150mb of address space free in native memory (using PMAP). Somewhere in another 7-10 days the figure drops well below…
Greg
  • 1,126
  • 2
  • 11
  • 26
0
votes
2 answers

JVM crashed with Problematic frame: V [libjvm.so+0x437ce7] ciObjectFactory::create_new_metadata(Metadata*)+0x327

I have java application running on tcserver, which is a spring server based on tomcat-7.0.47. There are multiple of such applications running on a machine which has 64CPUs and 500G RAM. I have latest version of java i.e. 1.8.0_91. All the…
0
votes
2 answers

Java application crash when uses icepdf library

In my application I use the library icepdf. when you create a class of applications is broken and creates a log file. Help in solving problems Log file: # # A fatal error has been detected by the Java Runtime Environment: # # …
0
votes
1 answer

What Might Be Causing This Exception Access Violation?

I have a JAVA8 program that uses threading to iterate through a piece of code that uses a .dll behind the scenes, and every so often I get this access violation, but have no idea why. As it doesn't happen every time, I am at a loss as to where to…
fs_tech
  • 193
  • 12
0
votes
0 answers

Java EXCEPTION_ACCESS_VIOLATION - strictly a JVM issue? Nothing on my part?

This message is not as long as it seems - I only attached a lengthy log report at the end Hi all, I am running an experimental crawler implemented in Java. Recently, after a 36 hours operation, the JVM crashed issuing an exception access violation…
amirkr
  • 173
  • 3
  • 15
0
votes
1 answer

How Can I overcome slow response or memory limit with large data sets on Tomcat web application?

Inventory Application built in four-layered model consisting of: applet-based graphical user interface; proprietary middle layer (Tomcat web application); Business logic in Oracle 10g stored procedures.; Data stored in Oracle 10g. The Problem: The…
ink
  • 1
0
votes
1 answer

OpenJDK debug with printf?

I am hacking OpenJDK7 to implement an algorithm. In the process of doing this, I need to output debug information to the stdout. As I can see in the code base, all printings are done by using outputStream*->print_cr(). I wonder why printf() was not…
0
votes
1 answer

Elasticsearch unclosed client. Live threads after Tomcat shutdown. Memory usage impact?

I am using Elasticsearch 1.5.1 and Tomcat 7. Web application creates a TCP client instance as Singleton during server startup through Spring Framework. Just noticed that I failed to close the client during server shutdown. Through analysis on…
DecKno
  • 293
  • 1
  • 5
  • 21
0
votes
1 answer

C code needs to call Java code buffer but no way to get its JNIEnv

I have a java buffer on which I need some c data manipulation. To do that I call a native function "SimpleFunction", which is calling java code to retrive the buffer value at a specific index (buffer_read_byte) and to save the modified value…
xaa
  • 31
  • 1
  • 5
0
votes
1 answer

EXCEPTION_ACCESS_VIOLATION with Problematic frame: #j

We have been getting the following hot spot error very frequently in recent past. # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000020dcfe8, pid=5104, tid=5724 # # JRE…
Nayan Sonthalia
  • 237
  • 1
  • 4
  • 22
0
votes
1 answer

jdbc failed when connect by window authentication

My jdbc connection failes when using this code: package dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; /** * @author Li.Kudo * @version 1.0 * @since 2015 */ public class DatabaseConnection { …