tzutalin / dlib-android-app

:dragon: Android app to demo dlib-android(https://github.com/tzutalin/dlib-android). Use the prebuilt shared-lib built from dlib-android
Apache License 2.0
683 stars 246 forks source link

I have an crash with some devices(Huawei, LG G6...) also in your example #51

Open matanel-6over6 opened 5 years ago

matanel-6over6 commented 5 years ago

in this line: mFaceDet = new FaceDet(Constants.getFaceShapeModelPath());

2019-04-29 20:02:52.598 10331-10390/com.tzutalin.dlibtest A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 10390 (ImageListener) 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: Build fingerprint: 'HUAWEI/VTR-L29/HWVTR:7.0/HUAWEIVTR-L29/C185B151:user/release-keys' 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: Revision: '0' 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: ABI: 'arm64' 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: pid: 10331, tid: 10390, name: ImageListener >>> com.tzutalin.dlibtest <<< 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x0 0000000000000000 x1 0000000000002896 x2 0000000000000006 x3 0000000000000008 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x4 ffffffffffffffff x5 0000000000000000 x6 0000008000808080 x7 7362686364716f5e 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x12 ffffffffffffffff x13 0000000000000000 x14 ffffffffffffffff x15 ffffffffffffffff 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x16 000000788b2deec8 x17 000000788b287c28 x18 0000000000000068 x19 000000786b0004f8 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x20 0000000000000006 x21 000000786b000450 x22 0000000000000000 x23 000000785582d900 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x24 00000078519f78c0 x25 01bbc02e7ccc01ff x26 000000785192e068 x27 01bbc02e7ccc01ff 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: x28 0000000000000002 x29 000000786affd470 x30 000000788b2850d0 2019-04-29 20:02:52.665 10403-10403/? A/DEBUG: sp 000000786affd450 pc 000000788b287c30 pstate 0000000060000000 2019-04-29 20:02:52.669 10403-10403/? A/DEBUG: backtrace: 2019-04-29 20:02:52.669 10403-10403/? A/DEBUG: #00 pc 000000000006bc30 /system/lib64/libc.so (tgkill+8) 2019-04-29 20:02:52.669 10403-10403/? A/DEBUG: #01 pc 00000000000690cc /system/lib64/libc.so (pthread_kill+64) 2019-04-29 20:02:52.669 10403-10403/? A/DEBUG: #02 pc 0000000000023e68 /system/lib64/libc.so (raise+24) 2019-04-29 20:02:52.669 10403-10403/? A/DEBUG: #03 pc 000000000001c8ec /system/lib64/libc.so (abort+52) 2019-04-29 20:02:52.669 10403-10403/? A/DEBUG: #04 pc 000000000058eddc /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (_ZN9gnu_cxx27verbose_terminate_handlerEv+348) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #05 pc 000000000053c2d0 /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (_ZN10cxxabiv111__terminateEPFvvE+8) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #06 pc 000000000053c33c /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (_ZSt9terminatev+12) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #07 pc 000000000053c478 /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (cxa_throw+136) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #08 pc 00000000000c1268 /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (_ZN4dlib11deserializeERNS_15shape_predictorERSi+252) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #09 pc 000000000009c728 /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (_ZN19DLibHOGFaceDetectorC2ERKSs+440) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #10 pc 000000000009c484 /data/app/com.tzutalin.dlibtest-2/lib/arm64/libandroid_dlib.so (Java_com_tzutalin_dlib_FaceDet_jniInit+168) 2019-04-29 20:02:52.670 10403-10403/? A/DEBUG: #11 pc 000000000045dea8 /data/app/com.tzutalin.dlibtest-2/oat/arm64/base.odex (offset 0x3ee000)

Do you have a solution for this????

Monim64 commented 5 years ago

I am having same problems with Huawei and Walton Devices (In some cases). Did you find any solution?