C应用程序在JNI调用内崩溃

时间:2014-10-16 06:58:43

标签: java c++ c java-native-interface

一段时间后,我的C应用程序在后续堆栈中的JNI调用内崩溃。任何人都知道发生了什么。

我的代码或JVM内部会出现问题吗?

#0  0x00007fc3c16a38e5 in raise () from /lib64/libc.so.6
#1  0x00007fc3c16a50c5 in abort () from /lib64/libc.so.6
#2  0x00007fc3c29c2a55 in os::abort(bool) () from /usr/java/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#3  0x00007fc3c2b42f87 in VMError::report_and_die() () from /usr/java/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#4  0x00007fc3c29c796f in JVM_handle_linux_signal () from /usr/java/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#5  <signal handler called>
#6  0x00007fc3c27dccc0 in jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) ()
   from /usr/java/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#7  0x00007fc3c27ed479 in jni_CallIntMethodV () from /usr/java/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#8  0x00007fc3c3032a47 in JNIEnv_::CallIntMethod (this=0x150a1e8, obj=0x150b468, methodID=0x156aa58) at /usr/java/jdk1.5.0_22/include/jni.h:955

0 个答案:

没有答案