tzutalin / dlib-android

:dragon: Port dlib to Android
MIT License
867 stars 268 forks source link

Fatal signal 11 (SIGSEGV), code 2, fault addr 0x18eabc18 in tid 16159 (Thread-6) #93

Open ronyuzhang opened 6 years ago

ronyuzhang commented 6 years ago

when i call dlib-android , but i encountered a problem. error info as follows:

2018-10-22 21:46:30.757 17226-17226/? A/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x18eabc18 2018-10-22 21:46:30.757 17226-17226/? A/DEBUG: r0 00000000 r1 f7280d17 r2 e5200500 r3 00000080 2018-10-22 21:46:30.757 17226-17226/? A/DEBUG: r4 18eabc00 r5 18eabc00 r6 b40f1980 r7 b40f1960 2018-10-22 21:46:30.757 17226-17226/? A/DEBUG: r8 b40f1c60 r9 d6f38640 sl b40f1c90 fp b40f1b50 2018-10-22 21:46:30.757 17226-17226/? A/DEBUG: ip e73be948 sp b40f1730 lr e739dc3b pc c2391eac cpsr 20010010 2018-10-22 21:46:30.769 17226-17226/? A/DEBUG: backtrace: 2018-10-22 21:46:30.769 17226-17226/? A/DEBUG: #00 pc 00063eac /data/app/com.example.zhangyao.mobilenetssdV1-1/lib/arm/libandroid_dlib.so (_ZN19DLibHOGFaceDetector3detERKN2cv3MatE+1016) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #01 pc 00061c50 /data/app/com.example.zhangyao.mobilenetssdV1-1/lib/arm/libandroid_dlib.so (Java_com_tzutalin_dlib_FaceDet_jniBitmapDetect+376) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #02 pc 000ae399 /system/lib/libart.so (art_quick_generic_jni_trampoline+40) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #03 pc 000a99c1 /system/lib/libart.so (art_quick_invoke_stub_internal+64) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #04 pc 00405281 /system/lib/libart.so (art_quick_invoke_stub+232) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #05 pc 000b0c55 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #06 pc 001ed0d5 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #07 pc 001e7685 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+492) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #08 pc 003fdbbd /system/lib/libart.so (MterpInvokeDirect+268) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #09 pc 0009c914 /system/lib/libart.so (ExecuteMterpImpl+14484) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #10 pc 001ca9af /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #11 pc 001cf517 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #12 pc 001e766b /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+466) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #13 pc 003fccb7 /system/lib/libart.so (MterpInvokeVirtual+430) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #14 pc 0009c814 /system/lib/libart.so (ExecuteMterpImpl+14228) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #15 pc 001ca9af /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #16 pc 001cf481 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #17 pc 003f4787 /system/lib/libart.so (artQuickToInterpreterBridge+706) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #18 pc 000ae413 /system/lib/libart.so (art_quick_to_interpreter_bridge+34) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #19 pc 000a99c1 /system/lib/libart.so (art_quick_invoke_stub_internal+64) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #20 pc 00405281 /system/lib/libart.so (art_quick_invoke_stub+232) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #21 pc 000b0c55 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #22 pc 00315e81 /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+56) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #23 pc 00316c4d /system/lib/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+256) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #24 pc 0032dddd /system/lib/libart.so (_ZN3art6Thread14CreateCallbackEPv+848) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #25 pc 000470c3 /system/lib/libc.so (_ZL15__pthread_startPv+22) 2018-10-22 21:46:30.770 17226-17226/? A/DEBUG: #26 pc 00019e3d /system/lib/libc.so (__start_thread+6) 2018-10-22 21:46:32.0