googlearchive / tango-examples-c

JNI example projects for Project Tango [deprecated] C-API
https://developers.google.com/ar
Apache License 2.0
337 stars 204 forks source link

Problems about TangoService_getPoseAtTime #112

Closed haopo2005 closed 7 years ago

haopo2005 commented 7 years ago

Hi, I'd like to get the pose data under pull mode. However, it's wrong when I'm calling TangoService_getPoseAtTime. The error message is: A/libc: Fatal signal 11 (SIGSEGV) at 0x00000020 (code=1), thread 4017 (omotiontracking) E/InputDispatcher: channel '64f4daf0 com.projecttango.examples.cpp.hellomotiontracking/com.projecttango.examples.cpp.hellomotiontracking.HelloMotionTrackingActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

My application want to get the current pose data as soon as I click the button. So I think the pull mode is better. There is not much information on the web. Any reply is helpful.

haopo2005 commented 7 years ago

It's memory leak. Something wrong with my jni function call.