Jacobi-update:使用Tango.getCameraIntrinsics时出现崩溃

时间:2015-03-23 16:18:16

标签: google-project-tango

在雅可比更新之前,我正以这种方式获取相机内在函数,没有任何问题:

TangoCameraIntrinsics t = mTango.getCameraIntrinsics(1);

在Jacobi更新之后,我尝试通过这种方式调用相同的函数来获取相机内在函数:

TangoCameraIntrinsics t = mTango.getCameraIntrinsics(TangoCameraIntrinsics.TANGO_CAMERA_COLOR);

调用Jacobi版本中的函数现在会在运行应用程序时生成此崩溃:

A/art﹕ art/runtime/check_jni.cc:64] JNI DETECTED ERROR IN APPLICATION: native code passing in reference to invalid stack indirect reference table or invalid reference: 0x649259b8
A/art﹕ art/runtime/check_jni.cc:64]     in call to DeleteLocalRef
A/art﹕ art/runtime/check_jni.cc:64]     from int com.google.atap.tango.TangoJNINative.GetCameraIntrinsics(int, com.google.atap.tangoservice.TangoCameraIntrinsics)
A/art﹕ art/runtime/check_jni.cc:64] "main" prio=5 tid=1 Runnable
A/art﹕ art/runtime/check_jni.cc:64]   | group="main" sCount=0 dsCount=0 obj=0x646d0b70 self=0x41756ea8
A/art﹕ art/runtime/check_jni.cc:64]   | sysTid=7203 nice=0 cgrp=apps sched=0/0 handle=0x400a9154
A/art﹕ art/runtime/check_jni.cc:64]   | state=R schedstat=( 1271432728 1183033922 4621 ) utm=85 stm=41 core=1 HZ=100
A/art﹕ art/runtime/check_jni.cc:64]   | stack=0xbe325000-0xbe329000 stackSize=8MB
A/art﹕ art/runtime/check_jni.cc:64]   native: art::Thread::DumpStack(std::ostream&) const+87 [0x416a4b78] (libart.so)
A/art﹕ art/runtime/check_jni.cc:64]   native: ??? [0x415508a6] (libart.so)
A/art﹕ art/runtime/check_jni.cc:64]   native: art::JniAbortF(char const*, char const*, ...)+51 [0x41551254] (libart.so)
A/art﹕ art/runtime/check_jni.cc:64]   native: ??? [0x41553980] (libart.so)
A/art﹕ art/runtime/check_jni.cc:64]   native: ??? [0x41554806] (libart.so)
A/art﹕ art/runtime/check_jni.cc:64]   native: ??? [0x41555d3a] (libart.so)
A/art﹕ art/runtime/check_jni.cc:64]   native: Java_com_google_atap_tango_TangoJNINative_GetCameraIntrinsics+475 [0x4ad6e36c] (libtango_client_api.so)
A/art﹕ art/runtime/check_jni.cc:64]   at com.google.atap.tango.TangoJNINative.GetCameraIntrinsics(Native method)
A/art﹕ art/runtime/check_jni.cc:64]   at com.google.atap.tangoservice.Tango.getCameraIntrinsics(Tango.java:318)

有关如何解决此问题的任何想法?

0 个答案:

没有答案