Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes for some devices with Android 9 #55

Open
grolex18 opened this issue May 31, 2019 · 0 comments
Open

Crashes for some devices with Android 9 #55

grolex18 opened this issue May 31, 2019 · 0 comments

Comments

@grolex18
Copy link

grolex18 commented May 31, 2019

Crashes in FaceDet.detect are reported for specific Android 9 devices:

  • Sony Xperia XZ Premium (G8141), Android 9
  • Google Pixel XL (marlin), Android 9

Looks like lib crashes here:

jniutils::ConvertBitmapToRGBAMat(_JNIEnv*, _jobject*&, cv::Mat&, bool)

Any ideas how to fix this?

  #00  pc 0000000000022034  /system/lib64/libc.so (abort+116)
  #01  pc 0000000000096fac  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/lib/arm64/libandroid_dlib.so (MessageLogger::~MessageLogger()+296)
  #02  pc 00000000000cce0c  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/lib/arm64/libandroid_dlib.so (jniutils::ConvertBitmapToRGBAMat(_JNIEnv*, _jobject*&, cv::Mat&, bool)+1540)
  #03  pc 0000000000099bb8  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/lib/arm64/libandroid_dlib.so (Java_com_tzutalin_dlib_FaceDet_jniBitmapDetect+284)
  #04  pc 000000000001fff4  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/oat/arm64/base.odex (com.tzutalin.dlib.FaceDet.jniBitmapDetect [DEDUPED]+164)
  #05  pc 0000000000555d88  /system/lib64/libart.so (art_quick_invoke_stub+584)
  #06  pc 00000000000cf8c8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
  #07  pc 000000000027fac0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
  #08  pc 0000000000279ac8  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
  #09  pc 000000000052614c  /system/lib64/libart.so (MterpInvokeDirect+296)
  #10  pc 0000000000548514  /system/lib64/libart.so (ExecuteMterpImpl+14484)
  #11  pc 00000000002d6258  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/oat/arm64/base.vdex (com.tzutalin.dlib.FaceDet.detect)
  #12  pc 00000000002537cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1430790321+488)
  #13  pc 00000000002592c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
  #14  pc 0000000000279aac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
  #15  pc 0000000000527e50  /system/lib64/libart.so (MterpInvokeVirtualQuick+584)
  #16  pc 000000000054c194  /system/lib64/libart.so (ExecuteMterpImpl+29972)
  #17  pc 000000000024f8b0  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/oat/arm64/base.vdex (com.algr.gallerai.util.FaceUtil.detectDlibFaceConfidence+8)
   #18  pc 00000000002537cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1430790321+488)
   #19  pc 00000000002592c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
   #20  pc 0000000000279aac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
   #21  pc 0000000000526310  /system/lib64/libart.so (MterpInvokeStatic+204)
   #22  pc 0000000000548594  /system/lib64/libart.so (ExecuteMterpImpl+14612)
   #23  pc 000000000024d622  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/oat/arm64/base.vdex (com.algr.gallerai.scan.ScanJobService.lambda$getScanTask$0$ScanJobService+1774)
   #24  pc 00000000002537cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1430790321+488)
   #25  pc 00000000002592c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
   #26  pc 0000000000279aac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
   #27  pc 0000000000527e50  /system/lib64/libart.so (MterpInvokeVirtualQuick+584)
   #28  pc 000000000054c194  /system/lib64/libart.so (ExecuteMterpImpl+29972)
   #29  pc 000000000024c4e0  /data/app/com.algr.gallerai-IJju6a-yjg8_eM99p1G4ag==/oat/arm64/base.vdex (com.algr.gallerai.scan.ScanJobService$$Lambda$0.run+8)
   #30  pc 00000000002537cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1430790321+488)
   #31  pc 00000000005156a0  /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
   #32  pc 000000000055eefc  /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
   #33  pc 000000000025d128  /system/framework/arm64/boot-core-oj.oat (java.lang.Thread.run+72)
   #34  pc 0000000000555d88  /system/lib64/libart.so (art_quick_invoke_stub+584)
   #35  pc 00000000000cf8c8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
   #36  pc 000000000045d04c  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
   #37  pc 000000000045e108  /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
   #38  pc 0000000000488fa4  /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
   #39  pc 000000000009202c  /system/lib64/libc.so (__pthread_start(void*)+36)
   #40  pc 00000000000238f0  /system/lib64/libc.so (__start_thread+68)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant