jackweiwang / Android-FaceDetection-UltraNet-MNN

Android face detection 30+ FPS, pretrained weight 1MB.
MIT License
118 stars 36 forks source link

/lib/arm64/libMNN.so 空指针的问题怎么解决? #22

Open h3clikejava opened 3 years ago

h3clikejava commented 3 years ago

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x28 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: Cause: null pointer dereference 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x0 000000000000003e x1 000000789b534921 x2 0000000000000001 x3 6552007070632e72 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x4 000000789b534922 x5 b4000078c33d50f4 x6 000000000000000a x7 000000000000000a 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x8 b4000078c3695390 x9 b4000078c36953a0 x10 0000000000004001 x11 0000000000000000 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x12 0000000000000000 x13 0000000000000000 x14 00000079b1ec8be2 x15 0000201afe7fcb66 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x16 00000079b1ec4930 x17 00000079b1eb97fc x18 00000078b222e000 x19 0000000000000000 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x20 0000000000000000 x21 00000078b96b3fe8 x22 00000078b96b6000 x23 b4000079113e34b8 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x24 0000007910e89238 x25 00000078b96b6000 x26 000000000000001f x27 0000000000000005 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: x28 00000078b96b4250 x29 00000078b96b4050 2021-04-01 18:20:15.426 5703-5703/? A/DEBUG: lr 000000789b45b69c sp 00000078b96b3e20 pc 000000789b45b6a0 pst 0000000060001000 2021-04-01 18:20:15.471 603-603/? E/SELinux: avc: denied { find } for pid=7538 uid=10206 name=tethering scontext=u:r:vendor_systemhelper_app:s0:c512,c768 tcontext=u:object_r:tethering_service:s0 tclass=service_manager permissive=0 2021-04-01 18:20:15.621 4916-6674/? E/MiuiFastConnectService: check adv data error 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: backtrace: 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #00 pc 00000000000356a0 /data/app/~~uqU_6wx4vThePgo6c-I9hg==/com.timehut.ailab-PjN-FEtLVJMiUKGBnDpimA==/lib/arm64/libMNN.so (MNN::Interpreter::resizeTensor(MNN::Tensor, std::ndk1::vector<int, std::ndk1::allocator > const&)+52) (BuildId: 28bed86e363f251ace0f36b236592180a7046cfd) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #01 pc 0000000000019108 /data/app/~~uqU_6wx4vThePgo6c-I9hg==/com.timehut.ailab-PjN-FEtLVJMiUKGBnDpimA==/lib/arm64/libfacedetect.so (Inference_engine::infer_img(unsigned char, int, int, int, int, int, Inference_engine_tensor&)+240) (BuildId: c0ffa6de2baa09966a554d5df99764ed7bed9d95) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #02 pc 000000000000f930 /data/app/~~uqU_6wx4vThePgo6c-I9hg==/com.timehut.ailab-PjN-FEtLVJMiUKGBnDpimA==/lib/arm64/libfacedetect.so (UltraFace::detect(unsigned char, int, int, int, std::ndk1::vector<FaceInfo, std::ndk1::allocator >&)+192) (BuildId: c0ffa6de2baa09966a554d5df99764ed7bed9d95) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #03 pc 000000000000b5dc /data/app/~~uqU_6wx4vThePgo6c-I9hg==/com.timehut.ailab-PjN-FEtLVJMiUKGBnDpimA==/lib/arm64/libfacedetect.so (Java_com_facesdk_FaceSDKNative_FaceDetect+412) (BuildId: c0ffa6de2baa09966a554d5df99764ed7bed9d95) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #04 pc 000000000013ced4 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: e8a61841e9d1ad33244bcfb65974940b) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #05 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: e8a61841e9d1ad33244bcfb65974940b) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #06 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+200) (BuildId: e8a61841e9d1ad33244bcfb65974940b) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #07 pc 0000000000318f34 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame, unsigned short, art::JValue)+376) (BuildId: e8a61841e9d1ad33244bcfb65974940b) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #08 pc 000000000030f260 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue*)+996) (BuildId: e8a61841e9d1ad33244bcfb65974940b) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #09 pc 000000000067d104 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: e8a61841e9d1ad33244bcfb65974940b) 2021-04-01 18:20:15.665 5703-5703/? A/DEBUG: #10 pc 000000000012d814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: e8a61841e9d1ad33244bcfb65974940b)

用的小米10 Android 11