{"action":"created","issue":{"url":"https://api.github.com/repos/tzutalin/dlib-android/issues/13","repository_url":"https://api.github.com/repos/tzutalin/dlib-android","labels_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/13/comments","events_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/13/events","html_url":"https://github.com/tzutalin/dlib-android/issues/13","id":165357909,"number":13,"title":"dlib-android crashes when built locally","user":{"login":"stefan-girlich","id":1755315,"avatar_url":"https://avatars.githubusercontent.com/u/1755315?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-girlich","html_url":"https://github.com/stefan-girlich","followers_url":"https://api.github.com/users/stefan-girlich/followers","following_url":"https://api.github.com/users/stefan-girlich/following{/other_user}","gists_url":"https://api.github.com/users/stefan-girlich/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-girlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-girlich/subscriptions","organizations_url":"https://api.github.com/users/stefan-girlich/orgs","repos_url":"https://api.github.com/users/stefan-girlich/repos","events_url":"https://api.github.com/users/stefan-girlich/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-girlich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-13T15:58:55Z","updated_at":"2016-07-15T07:48:08Z","closed_at":null,"body":"I am currently trying to use _dlib-android_ (rev d6e48c1) after building it via the default build command:\r\n```python build_push.py --android_project ../dlib-android-app/dlib/src/main/jniLibs/```\r\n\r\n(```dlib-android-app``` is [dlib-android-app](https://github.com/tzutalin/dlib-android-app) at d6e48c1)\r\n\r\nWhen not building _dlib-android_ manually, the app behaves as expected. However, the app behaves as following after performing a (successful) build as shown above:\r\n\r\n1. Start app\r\n2. Click \"Live preview\" from bottom left.\r\n3. _CameraActivity_ is started:\r\n\t- Title view remains empty; neither _Copying landmark model_ nor _time cost_ messages is shown\r\n\t- Floating video frame view with landmarks does not appear.\r\n\t- Application crashes after ~9sec.\r\n\r\n\r\nDo you have any idea what could be the difference between your original build and my local one?\r\nThe original _dlib_ board has an (unresolved) thread regarding this issue that relates to Android and possibly to _dlib-android_: https://sourceforge.net/p/dclib/discussion/442518/thread/b3ef5401/\r\n\r\nThanks a lot!\r\n\r\n\r\n\r\n**Crash log**\r\n_Full log: [20160713_dlib-android_crash.txt](https://github.com/tzutalin/dlib-android/files/361883/20160713_dlib-android_crash.txt)_\r\n\r\n```\r\n*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\nBuild fingerprint: 'samsung/trltexx/trlte:5.1.1/LMY47X/N910FXXS1COK2:user/release-keys'\r\nRevision: '12'\r\nABI: 'arm'\r\npid: 4292, tid: 4747, name: InferenceThread  >>> com.tzutalin.dlibtest <<<\r\nsignal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------\r\n    r0 00000000  r1 0000128b  r2 00000006  r3 00000000\r\n    r4 9c87bdb8  r5 00000006  r6 00000016  r7 0000010c\r\n    r8 b4b4bb00  r9 a0349d30  sl 12c033d0  fp 9c878bb0\r\n    ip 0000128b  sp 9c8789f0  lr b6e0771d  pc b6e2a2dc  cpsr 600f0010\r\nbacktrace:\r\n    #00 pc 000372dc  /system/lib/libc.so (tgkill+12)\r\n    #01 pc 00014719  /system/lib/libc.so (pthread_kill+52)\r\n    #02 pc 00015337  /system/lib/libc.so (raise+10)\r\n    #03 pc 00011bd1  /system/lib/libc.so (__libc_android_abort+36)\r\n    #04 pc 00010044  /system/lib/libc.so (abort+4)\r\n    #05 pc 0046a103  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (__gnu_cxx::__verbose_terminate_handler()+226)\r\n    #06 pc 00433dc9  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (__cxxabiv1::__terminate(void (*)())+4)\r\n    #07 pc 00433e3d  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (std::terminate()+8)\r\n    #08 pc 00433f61  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (__cxa_throw+120)\r\n    #09 pc 00150a9c  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (dlib::compress_stream_kernel_1<dlib::entropy_encoder_model_kernel_5<257ul, dlib::entropy_encoder_kernel_2, 200000ul, 4ul>, dlib::entropy_decoder_model_kernel_5<257ul, dlib::entropy_decoder_kernel_2, 200000ul, 4ul>, dlib::crc32>::decompress(std::istream&, std::ostream&) const+544)\r\n    #10 pc 00150478  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (dlib::get_serialized_frontal_faces()+63512)\r\n    #11 pc 00140654  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (dlib::get_frontal_face_detector()+44)\r\n    #12 pc 0013544c  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (DLibHOGFaceDetector::det(cv::Mat const&)+236)\r\n    #13 pc 000e8d30  /data/app/com.tzutalin.dlibtest-1/lib/arm/libpeople_det.so (Java_com_tzutalin_dlib_PeopleDet_jniBitmapFaceDect+868)\r\n    #14 pc 0013c77f  /data/dalvik-cache/arm/data@app@com.tzutalin.dlibtest-1@base.apk@classes.dex\r\n```\r\n\r\n**OS used for build**\r\n- OSX 10.11.4 - Darwin myhostname 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64\r\n- _or_ Linux debian 4.6.0-1-amd64 #1 SMP Debian 4.6.3-1 (2016-07-04) x86_64 GNU/Linux\r\n\r\n**Android device**\r\n- Samsung Galaxy Note 4(SM-N910F)\r\n- Android 5.1.1\r\n- armeabi-v7"},"comment":{"url":"https://api.github.com/repos/tzutalin/dlib-android/issues/comments/232885851","html_url":"https://github.com/tzutalin/dlib-android/issues/13#issuecomment-232885851","issue_url":"https://api.github.com/repos/tzutalin/dlib-android/issues/13","id":232885851,"user":{"login":"stefan-girlich","id":1755315,"avatar_url":"https://avatars.githubusercontent.com/u/1755315?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-girlich","html_url":"https://github.com/stefan-girlich","followers_url":"https://api.github.com/users/stefan-girlich/followers","following_url":"https://api.github.com/users/stefan-girlich/following{/other_user}","gists_url":"https://api.github.com/users/stefan-girlich/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-girlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-girlich/subscriptions","organizations_url":"https://api.github.com/users/stefan-girlich/orgs","repos_url":"https://api.github.com/users/stefan-girlich/repos","events_url":"https://api.github.com/users/stefan-girlich/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-girlich/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T07:48:08Z","updated_at":"2016-07-15T07:48:08Z","body":"This is really quite mysterious, especially since I could also reproduce the crash when building on Debian GNU/Linux (see my original comment above)."}}
{"actor":{"display_login":"stefan-girlich"}}