baidu / ar-sdk

DuMix AR SDK for Developer
http://ar.baidu.com
107 stars 50 forks source link

OnResultTrackCallBack 手势追踪 #14

Closed xinnian88 closed 6 years ago

xinnian88 commented 6 years ago

OnResultTrackCallBack 手势追踪 如何体验,有什么要求?demo 里面没收到事件回调

xiegaoxi commented 6 years ago

main_d69a00b773f2a4cac5715edd2b5c8b0a.zip 1, 将上面的内容case解压 2,放到sdcard/track目录。 例如/sdcard/track/ar... 3, 运行测试列表倒数第二项(/sdcard/track/),即可加载此case

xinnian88 commented 6 years ago

error.txt 09-15 16:43:32.625 666 666 E Thermal-daemon: [ap] temp_new :35 temp_old :34 09-15 16:43:32.626 666 666 E Thermal-daemon: Report temperature: [ap] temp :35 report_threshold:1 09-15 16:43:33.476 1025 1269 E FingerSense.TouchProcessing: Touch coordinates (614, 1692) 09-15 16:43:34.002 4885 5059 E PromptView: onStateChange, state = 2401 msg = true 09-15 16:43:34.006 4885 5059 E bdar : Paddle init result:0 09-15 16:43:34.006 4885 5059 E lua : ArBridge.LuaSdkBridgeMessageType = 5001 09-15 16:43:34.007 4885 5059 E lua : ArBridge.LuaSdkBridgeMessageType = -1 09-15 16:43:34.038 4885 5147 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7 in tid 5147 (AsyncTask #1), pid 4885 (com.xinnian.ar) 09-15 16:43:34.112 5150 5150 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 09-15 16:43:34.112 5150 5150 F DEBUG : Build fingerprint: 'HUAWEI/ALP-AL00/HWALP:8.1.0/HUAWEIALP-AL00/326(C00):user/release-keys' 09-15 16:43:34.112 5150 5150 F DEBUG : Revision: '0' 09-15 16:43:34.112 5150 5150 F DEBUG : ABI: 'arm64' 09-15 16:43:34.112 5150 5150 F DEBUG : pid: 4885, tid: 5147, name: AsyncTask #1 >>> com.xinnian.ar <<< 09-15 16:43:34.112 5150 5150 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7 09-15 16:43:34.112 5150 5150 F DEBUG : Cause: null pointer dereference 09-15 16:43:34.112 5150 5150 F DEBUG : x0 0000000000000001 x1 0000007c88cebf80 x2 0000007c7a354980 x3 0000000000000000 09-15 16:43:34.112 5150 5150 F DEBUG : x4 0000000000000002 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000 09-15 16:43:34.112 5150 5150 F DEBUG : x8 ffffffffffffffff x9 4081970b2358ddc6 x10 0000007c601c5670 x11 0000000000000006 09-15 16:43:34.112 5150 5150 F DEBUG : x12 0000007c601c56a8 x13 0000000078c7201c x14 0000007c5e858010 x15 0000000000000000 09-15 16:43:34.112 5150 5150 F DEBUG : x16 0000007c653d1998 x17 0000007c651c87d4 x18 0000000000000000 x19 0000007c8d47fac0 09-15 16:43:34.112 5150 5150 F DEBUG : x20 0000007c88cebf80 x21 0000007c88d455c0 x22 ffffffffffffffff x23 0000007c7a354980 09-15 16:43:34.112 5150 5150 F DEBUG : x24 0000000000012c00 x25 00000000000000a0 x26 0000000000000001 x27 0000000000000007 09-15 16:43:34.112 5150 5150 F DEBUG : x28 0000007c5ee56290 x29 0000007c5ee56250 x30 0000007c651c6810 09-15 16:43:34.112 5150 5150 F DEBUG : sp 0000007c5ee561e0 pc 0000007c651c87e8 pstate 0000000060000000 09-15 16:43:34.127 5150 5150 F DEBUG : 09-15 16:43:34.127 5150 5150 F DEBUG : backtrace: 09-15 16:43:34.127 5150 5150 F DEBUG : #00 pc 000000000003e7e8 /data/app/com.xinnian.ar-j65UVfR9f2zD8uH5Gd1xRg==/lib/arm64/libpaddle_jni.so (paddle_gradient_machine_forward+20) 09-15 16:43:34.127 5150 5150 F DEBUG : #01 pc 000000000003c80c /data/app/com.xinnian.ar-j65UVfR9f2zD8uH5Gd1xRg==/lib/arm64/libpaddle_jni.so 09-15 16:43:34.127 5150 5150 F DEBUG : #02 pc 0000000000552df0 /system/lib64/libart.so (art_quick_generic_jni_trampoline+144) 09-15 16:43:34.127 5150 5150 F DEBUG : #03 pc 0000000000549d88 /system/lib64/libart.so (art_quick_invoke_stub+584) 09-15 16:43:34.127 5150 5150 F DEBUG : #04 pc 00000000000dcf74 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) 09-15 16:43:34.127 5150 5150 F DEBUG : #05 pc 000000000029a360 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344) 09-15 16:43:34.127 5150 5150 F DEBUG : #06 pc 000000000029588c /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+644) 09-15 16:43:34.127 5150 5150 F DEBUG : #07 pc 0000000000533508 /system/lib64/libart.so (MterpInvokeVirtualRange+592) 09-15 16:43:34.127 5150 5150 F DEBUG : #08 pc 000000000053be14 /system/lib64/libart.so (ExecuteMterpImpl+14996) 09-15 16:43:34.127 5150 5150 F DEBUG : #09 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #10 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.127 5150 5150 F DEBUG : #11 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.127 5150 5150 F DEBUG : #12 pc 0000000000531dd8 /system/lib64/libart.so (MterpInvokeVirtual+640) 09-15 16:43:34.127 5150 5150 F DEBUG : #13 pc 000000000053bb14 /system/lib64/libart.so (ExecuteMterpImpl+14228) 09-15 16:43:34.127 5150 5150 F DEBUG : #14 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #15 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.127 5150 5150 F DEBUG : #16 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.127 5150 5150 F DEBUG : #17 pc 0000000000532d94 /system/lib64/libart.so (MterpInvokeInterface+1560) 09-15 16:43:34.127 5150 5150 F DEBUG : #18 pc 000000000053bd14 /system/lib64/libart.so (ExecuteMterpImpl+14740) 09-15 16:43:34.127 5150 5150 F DEBUG : #19 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #20 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.127 5150 5150 F DEBUG : #21 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.127 5150 5150 F DEBUG : #22 pc 0000000000531dd8 /system/lib64/libart.so (MterpInvokeVirtual+640) 09-15 16:43:34.127 5150 5150 F DEBUG : #23 pc 000000000053bb14 /system/lib64/libart.so (ExecuteMterpImpl+14228) 09-15 16:43:34.127 5150 5150 F DEBUG : #24 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #25 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.127 5150 5150 F DEBUG : #26 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.127 5150 5150 F DEBUG : #27 pc 0000000000531dd8 /system/lib64/libart.so (MterpInvokeVirtual+640) 09-15 16:43:34.127 5150 5150 F DEBUG : #28 pc 000000000053bb14 /system/lib64/libart.so (ExecuteMterpImpl+14228) 09-15 16:43:34.127 5150 5150 F DEBUG : #29 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #30 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.127 5150 5150 F DEBUG : #31 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.127 5150 5150 F DEBUG : #32 pc 0000000000532d94 /system/lib64/libart.so (MterpInvokeInterface+1560) 09-15 16:43:34.127 5150 5150 F DEBUG : #33 pc 000000000053bd14 /system/lib64/libart.so (ExecuteMterpImpl+14740) 09-15 16:43:34.127 5150 5150 F DEBUG : #34 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #35 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.127 5150 5150 F DEBUG : #36 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.127 5150 5150 F DEBUG : #37 pc 0000000000531dd8 /system/lib64/libart.so (MterpInvokeVirtual+640) 09-15 16:43:34.127 5150 5150 F DEBUG : #38 pc 000000000053bb14 /system/lib64/libart.so (ExecuteMterpImpl+14228) 09-15 16:43:34.127 5150 5150 F DEBUG : #39 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.127 5150 5150 F DEBUG : #40 pc 000000000027a9b4 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216) 09-15 16:43:34.128 5150 5150 F DEBUG : #41 pc 0000000000294928 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+664) 09-15 16:43:34.128 5150 5150 F DEBUG : #42 pc 0000000000532d94 /system/lib64/libart.so (MterpInvokeInterface+1560) 09-15 16:43:34.128 5150 5150 F DEBUG : #43 pc 000000000053bd14 /system/lib64/libart.so (ExecuteMterpImpl+14740) 09-15 16:43:34.128 5150 5150 F DEBUG : #44 pc 0000000000274dac /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444) 09-15 16:43:34.128 5150 5150 F DEBUG : #45 pc 0000000000524998 /system/lib64/libart.so (artQuickToInterpreterBridge+1052) 09-15 16:43:34.128 5150 5150 F DEBUG : #46 pc 0000000000552f0c /system/lib64/libart.so (art_quick_to_interpreter_bridge+92) 09-15 16:43:34.128 5150 5150 F DEBUG : #47 pc 0000000000549d88 /system/lib64/libart.so (art_quick_invoke_stub+584) 09-15 16:43:34.128 5150 5150 F DEBUG : #48 pc 00000000000dcf74 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) 09-15 16:43:34.128 5150 5150 F DEBUG : #49 pc 000000000046dec0 /system/lib64/libart.so (art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ArgArray*, art::JValue*, char const*)+100) 09-15 16:43:34.128 5150 5150 F DEBUG : #50 pc 000000000046f0ec /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+836) 09-15 16:43:34.128 5150 5150 F DEBUG : #51 pc 00000000004961a8 /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120) 09-15 16:43:34.128 5150 5150 F DEBUG : #52 pc 0000000000067a44 /system/lib64/libc.so (__pthread_start(void*)+36) 09-15 16:43:34.128 5150 5150 F DEBUG : #53 pc 000000000001ee84 /system/lib64/libc.so (__start_thread+68) 09-15 16:43:34.138 599 599 E WifiHAL : enter wifi_get_link_stats 错误日志文件, 使用你给的这个模型之后,出现jni 错误。 @xiegaoxi

xinnian88 commented 6 years ago

Cause: null pointer dereference 是不是你用的代码,和master 的不一样?

xiegaoxi commented 6 years ago

方便的话加我微信:pxlxmx 详细沟通一下。谢谢