How to interpret this JVM error?

I have a Java application that uses some kind of native code, and this is wrong. I want to find out where this is an error, but I'm not sure how to read the hs_err_pid dump file:

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x256cbc] V [libjvm.so+0x25df69] V [libjvm.so+0x25dbac] V [libjvm.so+0x25e8c8] V [libjvm.so+0x25e49f] V [libjvm.so+0x16fa3e] j br.com.cip.spb.single.SPBRequestApplicationController.processJob(Lcom/planet/core360/docgen/ProcessingEnvironment;Lcom/planet/core360/dsmv2/processing/ApplicationDataJob;)V+158 j com.planet.core360.cgen.CgenProcessor.processJob(Ljava/lang/String;Lcom/planet/core360/docgen/ProcessingEnvironment;Lcom/planet/core360/dsmv2/processing/ApplicationDataJob;)V+108 j com.planet.core360.cgen.CgenProcessor.processJob(Ljava/lang/String;Lcom/planet/core360/docgen/ProcessingEnvironment;Lcom/planet/core360/dsmv2/processing/ScheduledJob;)V+7 v ~StubRoutines::call_stub V [libjvm.so+0x17af0c] V [libjvm.so+0x28b9d8] V [libjvm.so+0x17ad3f] V [libjvm.so+0x1a58a3] V [libjvm.so+0x18bc24] C [cgen+0xa6d6] C [cgen+0xae1e] cgen_process_job+0x336 C [cgen+0x10442] C [cgen+0x7714] C [cgen+0x38216] C [cgen+0x3a29d] C [cgen+0x37e3c] C [cgen+0x7558] C [libc.so.6+0x166e5] __libc_start_main+0xe5 

Basically, what are the "j" frames pointing to? Is V+158 reference to a bytecode in a class? How can I track this from the line source in the game?

Actually, I would like to get a general guide to finding these landfills. That would be fantastic too.

+4
java debugging jni core
source share
2 answers

In a general guide, take a look at these two Fatal Error Troubleshooting and Crash Course JVM Crash Analysis links

+12
source share

I was also embarrassed, what did "V + 158" mean? however, the explanation is simple, "V" is a return type method and is part of the method description. (the description consists of the package name, class name, method name, parameter types obtained by the method and return type). "V" means "void".

+158 - the so-called "bytecode index" - you were right.

0
source share

All Articles