shouzhong/Scanner

扫描身份证时发生崩溃

Opened this issue · 2 comments

CameraHandlerThread(29312)

SIGSEGV(SEGV_MAPERR)
1
#00 pc 0007d8ba /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so (ZOCRCNN_Y0N9T2Z9M9T2+705) [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
2
#1 pc 0007ded9 /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so (ZOCRRNN_X0G6N0Q8O4V1+104) [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
3
#2 pc 0003865b /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
4
#3 pc 0003d1af /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
5
#4 pc 0003d687 /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
6
#5 pc 0003d729 /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so (EXCARDS_RecoIDCardData+104) [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
7
#6 pc 00014def /data/user/0/com.meta.box/files/download/idcard/libexocrenginec.so (Java_exocr_exocrengine_EXOCREngine_nativeRecoIDCardRawdat+126) [armeabi-v7a::ed1cceba0c505132057456b55b1a1ef7]
8
#7 pc 0017de8d /apex/com.android.art/lib/libart.so [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
9
#8 pc 000f067c /apex/com.android.art/lib/libart.so (nterp_op_iget_short_helper+12) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
10
#9 pc 001793d5 /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+4104) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
11
#10 pc 001ae00f /apex/com.android.art/lib/libart.so (art::JNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+186) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
12
#11 pc 00193527 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+466) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
13
#12 pc 001925e9 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1172) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
14
#13 pc 00506857 /apex/com.android.art/lib/libart.so (MterpInvokeStatic+3510) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
15
#14 pc 00182494 /apex/com.android.art/lib/libart.so (mterp_op_aput_short+20) [armeabi-v8::12ac69462d197b3abb3c951e52bc7a14]
16
java:
17
com.shouzhong.idcard.IdCardUtils.int decode(byte[],int,int,byte[])(IdCardUtils.java:29)
18
com.shouzhong.scanner.ScannerView.void onPreviewFrame(byte[],android.hardware.Camera)(ScannerView.java:220)
19
android.hardware.Camera$EventHandler.handleMessage(Camera.java:1213)
20
android.os.Handler.dispatchMessage(Handler.java:106)
21
android.os.Looper.loopOnce(Looper.java:233)
22
android.os.Looper.loop(Looper.java:344)
23
android.os.HandlerThread.run(HandlerThread.java:67)