Core Dump Saw for Attached JVM

Questions about YourKit Java Profiler
Post Reply
soranebrahim
Posts: 1
Joined: Thu Dec 07, 2017 5:59 pm

Core Dump Saw for Attached JVM

Post by soranebrahim »

Hi,

I have a JVM started with profiler agent. However, the Java process failed to start and left with a core:

YourKit log:
17.02-57 0.468: error at JavaGlobals.cpp:84: ERROR: JVMTI error 112:JVMTI_ERROR_WRONG_PHASE at JVMTI_Agent.cpp:160
/opt/nvp/bin/profiler/libyjpagent.so(_Z16appendStackTraceP11YStringImplIcE+0x26) [0x7f6544f3f4d6]
/opt/nvp/bin/profiler/libyjpagent.so(_ZN6Logger5errorERK11YStringImplIcEPKci+0x4cf) [0x7f6544f4597f]
/opt/nvp/bin/profiler/libyjpagent.so(_Z22check_JVMTI_error_impl10jvmtiErrorPKci+0x1938) [0x7f6544f3b518]
/opt/nvp/bin/profiler/libyjpagent.so(_Z9agentInitP7JNIEnv_+0xb15) [0x7f654508ffa5]
/opt/nvp/bin/profiler/libyjpagent.so(_Z6vmInitP9_jvmtiEnvP7JNIEnv_P8_jobject+0x4a4) [0x7f6545090594]
/usr/java/jre-vmware/lib/amd64/server/libjvm.so(+0x79e109) [0x7f6546533109]
/usr/java/jre-vmware/lib/amd64/server/libjvm.so(+0xa7bc03) [0x7f6546810c03]
/usr/java/jre-vmware/lib/amd64/server/libjvm.so(JNI_CreateJavaVM+0x74) [0x7f654646bec4]
/usr/java/jre-vmware/bin/../lib/amd64/jli/libjli.so(+0x797e) [0x7f654733e97e]
/lib/libpthread.so.0(+0x73d4) [0x7f65475543d4]
/lib/libc.so.6(clone+0x6d) [0x7f6546e79bbd]

Does anyone know what happens?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Core Dump Saw for Attached JVM

Post by Anton Katilin »

Hi,

Please try the latest profiler build.

If the problem is reproducible with it too, could you please send the profiler log file in full to [email protected]

Please also provide output of "uname -a" and "java -version" for Java used to run the profiled application.

Best regards,
Anton
Post Reply