Facebook Audience Network native crash with Android 10 - android

I have crashes happening using latest version of Audience Network with almost all Pixel phones running Android 10. Here is the trace :
backtrace:
#00 pc 000000000008246c /apex/com.android.runtime/lib64/bionic/libc.so (abort+160)
#01 pc 00000000004ba0c4 /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2176)
#02 pc 000000000000c634 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+604)
#03 pc 00000000003781f0 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1608)
#04 pc 00000000003784a0 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+180)
#05 pc 00000000004ffc84 /apex/com.android.runtime/lib64/libart.so (art::Thread::DecodeJObject(_jobject*) const+780)
#06 pc 00000000003c6228 /apex/com.android.runtime/lib64/libart.so (art::JNI::GetArrayLength(_JNIEnv*, _jarray*)+580)
#07 pc 0000000000038d10 /apex/com.android.conscrypt/lib64/libjavacrypto.so (evpUpdate(_JNIEnv*, _jobject*, _jbyteArray*, int, int, char const*, int (*)(env_md_ctx_st*, void const*, unsigned long))+308)
#08 pc 000000000013f350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144)
#09 pc 00000000020007b4 /memfd:/jit-cache (com.android.org.conscrypt.OpenSSLMessageDigestJDK.engineUpdate+116)
#10 pc 00000000002609c0 /system/framework/arm64/boot.oat (java.security.MessageDigest$Delegate.engineUpdate+64)
#11 pc 00000000001bd6cc /system/framework/arm64/boot.oat (java.security.MessageDigest.update+76)
#12 pc 0000000002000f70 /memfd:/jit-cache (com.facebook.ads.redexgen.X.Nt.A01+416)
#13 pc 000000000013663c /apex/com.android.runtime/lib64/libart.so (art_quick_osr_stub+60)
#14 pc 00000000003380ac /apex/com.android.runtime/lib64/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+1772)
#15 pc 00000000005ad260 /apex/com.android.runtime/lib64/libart.so (MterpMaybeDoOnStackReplacement+212)
#16 pc 0000000000135350 /apex/com.android.runtime/lib64/libart.so (MterpHelpers+240)
#17 pc 00000000001a4fbe [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Nt.A01+66)
#18 pc 00000000005a5154 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
#19 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#20 pc 00000000001a509a [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Nt.A02+10)
#21 pc 00000000002b4b04 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.11452150525172173309+240)
#22 pc 0000000000593744 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+944)
#23 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#24 pc 00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
#25 pc 0000000000145084 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
#26 pc 00000000002e3bc0 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
#27 pc 00000000002deab8 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+928)
#28 pc 00000000005a4e3c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
#29 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#30 pc 0000000000172ac4 [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jp.A02+104)
#31 pc 00000000005a5154 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
#32 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#33 pc 0000000000172b4c [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jp.A03)
#34 pc 00000000005a5154 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1160)
#35 pc 0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#36 pc 00000000001728b8 [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jo.A00+16)
#37 pc 00000000005a4934 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1192)
#38 pc 0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#39 pc 0000000000172918 [anon:dalvik-DEX (com.facebook.ads.redexgen.X.Jo.call)
#40 pc 00000000002b4b04 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.11452150525172173309+240)
#41 pc 0000000000593744 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+944)
#42 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#43 pc 0000000000298528 /system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+200)
#44 pc 00000000002019d4 /system/framework/arm64/boot.oat (java.util.concurrent.Executors$RunnableAdapter.call+68)
#45 pc 0000000000298528 /system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+200)
#46 pc 00000000002f9fd8 /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+984)
#47 pc 00000000002f7640 /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+64)
#48 pc 00000000001a50b8 /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
#49 pc 0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
#50 pc 0000000000145064 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
#51 pc 00000000004b1c58 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#52 pc 00000000004b2d28 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
#53 pc 00000000004f3290 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1172)
#54 pc 00000000000e372c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
#55 pc 0000000000084004 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
I'm using implementation 'com.facebook.android:audience-network-sdk:5.6.0' and new AdView(context, adUnit, BANNER_HEIGHT_50) along with AudienceNetworkAds.initialize(activity.getApplicationContext()); to initialize SDK first.
Does someone encounter the same issue and have a fix for it ?

Downgrading to 5.4.1 / crash have disappeared
implementation 'com.facebook.android:audience-network-sdk:5.4.1'

This is very bad of Facebook Developers involved in SDK development.
This issue is spiking even in sdk versions 6.0.0
Yesterday only they released 6.1.0. I'm not sure they resolved this issue. But their change log of 6.0.0 mention this
Fixed net::ERR_ACCESS_DENIED in Interstitials and Rewarded Video on Android 10+
here https://developers.facebook.com/docs/audience-network/changelog-android#6_1_0
But is this is the reason for this Abort crash.

Root cause bug in Android's InMemoryDexClassLoader https://issuetracker.google.com/issues/150633385. Fixed in AN SDKs 6.1.0+

Related

Native crash in Google ML Kit Face Detector module

We have started receiving these reports recently, around 25th Jan. There was not App Update pushed, since this module is updated by Play Services itself, I highly suspect it has something to do with it.
Title in the Play Store says "[dl-VisionFace.optional_230313100300.apk] com.google.android.gms.vision.face.FaceDetectorV2Jni.d"
Below is a stacktrace (package name is changed to com.example):
backtrace:
#00 pc 0x00000000002d6d64 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#01 pc 0x00000000002ba5d7 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#02 pc 0x0000000000419b6b /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#03 pc 0x00000000002bb991 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#04 pc 0x00000000002aef8d /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#05 pc 0x00000000002ac4b1 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#06 pc 0x000000000043b291 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#07 pc 0x00000000004361e3 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#08 pc 0x0000000000274f6d /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#09 pc 0x000000000026f20b /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#10 pc 0x0000000000271c4f /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#11 pc 0x0000000000270f2d /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#12 pc 0x0000000000270899 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#13 pc 0x00000000001027c1 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#14 pc 0x00000000001025db /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#15 pc 0x0000000000102539 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#16 pc 0x00000000001017e9 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk
#17 pc 0x00000000000d88dd /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44)
#18 pc 0x00000000000d3dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
#19 pc 0x00000000004f93f1 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+280)
#20 pc 0x000000000012c49f /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+142)
#21 pc 0x000000000024094f /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+250)
#22 pc 0x0000000000238e57 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+746)
#23 pc 0x00000000004ecce9 /apex/com.android.art/lib/libart.so (MterpInvokeDirect+512)
#24 pc 0x00000000000ce914 /apex/com.android.art/lib/libart.so (mterp_op_invoke_direct+20)
#25 pc 0x0000000000044e66 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk (com.google.android.gms.vision.face.FaceDetectorV2Jni.d+10)
#26 pc 0x00000000004ead5b /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1290)
#27 pc 0x00000000000ce814 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+20)
#28 pc 0x00000000000483c8 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk (mk.h+320)
#29 pc 0x00000000004ecf43 /apex/com.android.art/lib/libart.so (MterpInvokeDirect+1114)
#30 pc 0x00000000000ce914 /apex/com.android.art/lib/libart.so (mterp_op_invoke_direct+20)
#31 pc 0x0000000000047848 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk (mk.b+148)
#32 pc 0x00000000004ead5b /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1290)
#33 pc 0x00000000000ce814 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+20)
#34 pc 0x000000000006feea /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk (asl.a+90)
#35 pc 0x00000000004ead5b /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1290)
#36 pc 0x00000000000ce814 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+20)
#37 pc 0x0000000000031360 /data/user_de/0/com.google.android.gms/app_chimera/m/000000d1/dl-VisionFace.optional_230313100300.apk (bp.onTransact+40)
#38 pc 0x0000000000231c0f /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11360311041479653056)+250)
#39 pc 0x00000000002385c3 /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+114)
#40 pc 0x00000000004dc129 /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+684)
#41 pc 0x00000000000d8961 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+32)
#42 pc 0x0000000000606d5b /system/framework/arm/boot-framework.oat (android.os.Binder.transact+114)
#43 pc 0x00000000000d3dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
#44 pc 0x00000000004f93f1 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+280)
#45 pc 0x000000000012c49f /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+142)
#46 pc 0x000000000024094f /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+250)
#47 pc 0x0000000000238e57 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+746)
#48 pc 0x00000000004ec1c5 /apex/com.android.art/lib/libart.so (MterpInvokeInterface+876)
#49 pc 0x00000000000cea14 /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+20)
#50 pc 0x0000000000be41b2 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.android.gms.internal.mlkit_vision_face.zza.zzb+14)
#51 pc 0x00000000004f0b89 /apex/com.android.art/lib/libart.so (MterpInvokeVirtualQuick+1180)
#52 pc 0x00000000000d2594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual_quick+20)
#53 pc 0x0000000000beb840 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.android.gms.internal.mlkit_vision_face.zzoy.zzd+22)
#54 pc 0x00000000004f0b89 /apex/com.android.art/lib/libart.so (MterpInvokeVirtualQuick+1180)
#55 pc 0x00000000000d2594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual_quick+20)
#56 pc 0x0000000000f69eb2 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.vision.face.internal.zza.zzh+144)
#57 pc 0x00000000004ed767 /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1046)
#58 pc 0x00000000000ce994 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20)
#59 pc 0x0000000000f69c30 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.vision.face.internal.zza.zza+98)
#60 pc 0x00000000004ec459 /apex/com.android.art/lib/libart.so (MterpInvokeInterface+1536)
#61 pc 0x00000000000cea14 /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+20)
#62 pc 0x0000000000f6a40c /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.vision.face.internal.zzh.zze+32)
#63 pc 0x00000000004f0b89 /apex/com.android.art/lib/libart.so (MterpInvokeVirtualQuick+1180)
#64 pc 0x00000000000d2594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual_quick+20)
#65 pc 0x0000000000f6a3dc /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.vision.face.internal.zzh.run+4)
#66 pc 0x00000000004f0b89 /apex/com.android.art/lib/libart.so (MterpInvokeVirtualQuick+1180)
#67 pc 0x00000000000d2594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual_quick+20)
#68 pc 0x0000000000678056 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.vision.common.internal.MobileVisionBase.zza+22)
#69 pc 0x00000000004f0b89 /apex/com.android.art/lib/libart.so (MterpInvokeVirtualQuick+1180)
#70 pc 0x00000000000d2594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual_quick+20)
#71 pc 0x0000000000f68d8e /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.vision.common.internal.zza.call+8)
#72 pc 0x00000000004ec459 /apex/com.android.art/lib/libart.so (MterpInvokeInterface+1536)
#73 pc 0x00000000000cea14 /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+20)
#74 pc 0x0000000000f637ae /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.ModelResource.zza+74)
#75 pc 0x00000000004f0b89 /apex/com.android.art/lib/libart.so (MterpInvokeVirtualQuick+1180)
#76 pc 0x00000000000d2594 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual_quick+20)
#77 pc 0x0000000000f671b6 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.zzn.run+20)
#78 pc 0x00000000004ec459 /apex/com.android.art/lib/libart.so (MterpInvokeInterface+1536)
#79 pc 0x00000000000cea14 /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+20)
#80 pc 0x0000000000f67246 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.zzt.run+20)
#81 pc 0x00000000004ec459 /apex/com.android.art/lib/libart.so (MterpInvokeInterface+1536)
#82 pc 0x00000000000cea14 /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+20)
#83 pc 0x0000000000f6359e /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zze+26)
#84 pc 0x00000000004ed767 /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1046)
#85 pc 0x00000000000ce994 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20)
#86 pc 0x0000000000f63558 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzc+16)
#87 pc 0x00000000004ed767 /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1046)
#88 pc 0x00000000000ce994 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20)
#89 pc 0x0000000000f670ea /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.zzk.run+4)
#90 pc 0x0000000000231c0f /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11360311041479653056)+250)
#91 pc 0x00000000002385c3 /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+114)
#92 pc 0x00000000004dc129 /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+684)
#93 pc 0x00000000000d8961 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+32)
#94 pc 0x0000000000242bef /apex/com.android.art/javalib/arm/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+1014)
#95 pc 0x000000000024040f /apex/com.android.art/javalib/arm/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+54)
#96 pc 0x00000000000d3dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
#97 pc 0x00000000004f93f1 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+280)
#98 pc 0x000000000012c49f /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+142)
#99 pc 0x000000000024094f /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+250)
#00 pc 0x0000000000238e57 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+746)
#01 pc 0x00000000004ec1c5 /apex/com.android.art/lib/libart.so (MterpInvokeInterface+876)
#02 pc 0x00000000000cea14 /apex/com.android.art/lib/libart.so (mterp_op_invoke_interface+20)
#03 pc 0x0000000000f63578 /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.MlKitThreadPool.zzd+20)
#04 pc 0x00000000004ed767 /apex/com.android.art/lib/libart.so (MterpInvokeStatic+1046)
#05 pc 0x00000000000ce994 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20)
#06 pc 0x0000000000f6709e /data/app/~~jgbeqlWNgv-PvyoA_5RM3A==/com.example-msd8digxT3qWyCdmhyLm7Q==/oat/arm/base.vdex (com.google.mlkit.common.sdkinternal.zzi.run+4)
#07 pc 0x0000000000231c0f /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.11360311041479653056)+250)
#08 pc 0x00000000002385c3 /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+114)
#09 pc 0x00000000004dc129 /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+684)
#10 pc 0x00000000000d8961 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+32)
#11 pc 0x000000000012fc01 /apex/com.android.art/javalib/arm/boot.oat (java.lang.Thread.run+64)
#12 pc 0x00000000000d3dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
#13 pc 0x00000000004f93f1 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+280)
#14 pc 0x000000000012c49f /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+142)
#15 pc 0x0000000000404d91 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+372)
#16 pc 0x0000000000404e9f /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42)
#17 pc 0x00000000004475df /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+1090)
#18 pc 0x00000000000aadbb /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
#19 pc 0x0000000000063bcd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)
SDK Info:
com.google.android.gms:play-services-mlkit-face-detection:17.1.0
Other statistics:
Spread across many android devices, but mostly running Android 11.
There are 12.6K event reports for this, impacting 1.34K users, in last 7 days.
How do I solve this, would really appreciate if someone have any leads.
the same error started to appear Jan 22 on production, and it occurs on devices with Spreadtrum chipsets (mainly USC9863A) and the
Imagination Tech PowerVR GPUs. I also think that downloading models through google play services may have something to do with that, and I will try using the bundled version of the library instead.

Crashed app randomly when lock device with Android 10

I have an app in first device (client) which has p2p connection with other device (server). Server streaming a video to client. When I lock device-client sometimes it cause crashing app, sometimes it works correctly.
In case when client app crashed thrown this exception:
A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c in tid 9072
Tombstone:
Build fingerprint: 'samsung/m01qser/m01q:10/QP1A.190711.020/M015FXXS2ATL1:user/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2021-01-19 10:47:45+0300
pid: 12289, tid: 12289, name: client >>> com.client <<<
uid: 10200
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c
Cause: null pointer dereference
r0 00000000 r1 ffbff2cc r2 00000000 r3 00000000
r4 dea2c88d r5 1809d588 r6 1809d5b8 r7 1809d5b8
r8 00000000 r9 f0940800 r10 ffbff2d0 r11 f0940800
ip bd7c45c1 sp ffbff2b0 lr ebefa51b pc bd7c45c2
backtrace:
#00 pc 000b15c2 /data/app/com.kbnt.naparnik.client-_jyhSqNMJOJnAVSyrHHC-A==/base.apk!libgstreamer_android.so (offset 0x173000)
#01 pc 000dc519 /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+40) (BuildId: f186f2720d2bb2094a21740d06192831)
#02 pc 0201f981 /memfd:/jit-cache (deleted) (org.freedesktop.gstreamer.androidmedia.GstAmcOnFrameAvailableListener.onFrameAvailable+64)
#03 pc 000d7bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: f186f2720d2bb2094a21740d06192831)
#04 pc 00436af5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+252) (BuildId: f186f2720d2bb2094a21740d06192831)
#05 pc 000dffeb /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+178) (BuildId: f186f2720d2bb2094a21740d06192831)
#06 pc 00213875 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+280) (BuildId: f186f2720d2bb2094a21740d06192831)
#07 pc 0020f18d /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+716) (BuildId: f186f2720d2bb2094a21740d06192831)
#08 pc 0042d1cf /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+814) (BuildId: f186f2720d2bb2094a21740d06192831)
#09 pc 000d2a14 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: f186f2720d2bb2094a21740d06192831)
#10 pc 00403c90 /system/framework/framework.jar (android.graphics.SurfaceTexture$1.handleMessage+8)
#11 pc 0042bfa1 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1192) (BuildId: f186f2720d2bb2094a21740d06192831)
#12 pc 000d2814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: f186f2720d2bb2094a21740d06192831)
#13 pc 00358796 /system/framework/framework.jar (android.os.Handler.dispatchMessage+38)
#14 pc 0042bfa1 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1192) (BuildId: f186f2720d2bb2094a21740d06192831)
#15 pc 000d2814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: f186f2720d2bb2094a21740d06192831)
#16 pc 00398916 /system/framework/framework.jar (android.os.Looper.loop+466)
#17 pc 0042e515 /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+932) (BuildId: f186f2720d2bb2094a21740d06192831)
#18 pc 000d2994 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+20) (BuildId: f186f2720d2bb2094a21740d06192831)
#19 pc 001a7704 /system/framework/framework.jar (android.app.ActivityThread.main+208)
#20 pc 001eeb79 /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.4474381389789028307+192) (BuildId: f186f2720d2bb2094a21740d06192831)
#21 pc 001f336b /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+126) (BuildId: f186f2720d2bb2094a21740d06192831)
#22 pc 004205dd /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+852) (BuildId: f186f2720d2bb2094a21740d06192831)
#23 pc 000dc5a1 /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: f186f2720d2bb2094a21740d06192831)
#24 pc 000d7bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: f186f2720d2bb2094a21740d06192831)
#25 pc 00436c09 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+248) (BuildId: f186f2720d2bb2094a21740d06192831)
#26 pc 000dffff /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+198) (BuildId: f186f2720d2bb2094a21740d06192831)
#27 pc 00377a3b /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: f186f2720d2bb2094a21740d06192831)
#28 pc 00378f55 /apex/com.android.runtime/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+932) (BuildId: f186f2720d2bb2094a21740d06192831)
#29 pc 0032450b /apex/com.android.runtime/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+30) (BuildId: f186f2720d2bb2094a21740d06192831)
#30 pc 000bc8b7 /system/framework/arm/boot.oat (art_jni_trampoline+110) (BuildId: df82c1442bb900522d178526344bb1a19782e73e)
#31 pc 000d7bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: f186f2720d2bb2094a21740d06192831)
#32 pc 00436af5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+252) (BuildId: f186f2720d2bb2094a21740d06192831)
#33 pc 000dffeb /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+178) (BuildId: f186f2720d2bb2094a21740d06192831)
#34 pc 00213875 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+280) (BuildId: f186f2720d2bb2094a21740d06192831)
#35 pc 0020f18d /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+716) (BuildId: f186f2720d2bb2094a21740d06192831)
#36 pc 0042bd55 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+604) (BuildId: f186f2720d2bb2094a21740d06192831)
#37 pc 000d2814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: f186f2720d2bb2094a21740d06192831)
#38 pc 0048ba16 /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
#39 pc 001eeb79 /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.4474381389789028307+192) (BuildId: f186f2720d2bb2094a21740d06192831)
#40 pc 001f336b /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+126) (BuildId: f186f2720d2bb2094a21740d06192831)
#41 pc 004205dd /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+852) (BuildId: f186f2720d2bb2094a21740d06192831)
#42 pc 000dc5a1 /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: f186f2720d2bb2094a21740d06192831)
#43 pc 0082a471 /system/framework/arm/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2512) (BuildId: 1c45c1313304c9882a73dc0dd91dfb79573cced2)
#44 pc 000d7bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: f186f2720d2bb2094a21740d06192831)
#45 pc 00436c09 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+248) (BuildId: f186f2720d2bb2094a21740d06192831)
#46 pc 000dffff /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+198) (BuildId: f186f2720d2bb2094a21740d06192831)
#47 pc 00377a3b /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: f186f2720d2bb2094a21740d06192831)
#48 pc 003777f1 /apex/com.android.runtime/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+292) (BuildId: f186f2720d2bb2094a21740d06192831)
#49 pc 002c1539 /apex/com.android.runtime/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+460) (BuildId: f186f2720d2bb2094a21740d06192831)
#50 pc 000a2351 /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+28) (BuildId: f6f68fcd9de2f0c891b7538cb595d5ce)
#51 pc 000a48d9 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+508) (BuildId: f6f68fcd9de2f0c891b7538cb595d5ce)
#52 pc 0000230f /system/bin/app_process32 (main+714) (BuildId: ad621c21d45a1415057675aef975671e)
#53 pc 0005a2e1 /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+68) (BuildId: 6b958cfe24f2450b4242d6f7da7559ba)
#54 pc 0000202f /system/bin/app_process32 (_start_main+38) (BuildId: ad621c21d45a1415057675aef975671e)
#55 pc 00004456 <anonymous:f0f19000>
Does someone have idea how to fix this issue?
In my case, the problem was directly related to database inspector.
Solution:
1- Restart Android Studio.
2- Dont click "Database Inspector" tab.
Note: There is no way to close the database inspactor once you open it. You need to restart Android Studio.

APK crashing when downloading from playstore - debug works fine

I'm currently having a strange issue with my android project. When I debug my app or if I created a signed APK and install it on my phone, my app works fine. However, after releasing it to play store and installing it from there, the app won't open. It will open with a blank black screen and just minimize itself on all the physical devices I've tested. I can download from play store using bluestack and it runs fine, it just seems to be physical devices that it won't open on.
I'm currently seeing this error appearing in my dev console.
java.lang.ClassNotFoundException
dalvik.system.BaseDexClassLoader.findClass
java.lang.Error: FATAL EXCEPTION [main]
Unity version : 2018.3.14f1
Device model : samsung SM-G950F
Device fingerprint: samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXS5DSJ1:user/release-keys
Caused by
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3574)
at android.app.ActivityThread.access$1300 (ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1796)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7050)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:84)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3567)
Just to add to this.. I am also seeing these crash logs:
pid: 0, tid: 0 >>> club.piratetycoon.idleclicker <<<
backtrace:
#00 pc 0000000000021d54 /system/lib64/libc.so (abort+124)
#01 pc 00000000000a29dc /system/lib64/libc.so (ifree+1212)
#02 pc 00000000000a2b08 /system/lib64/libc.so (je_free+120)
#03 pc 00000000007dc058 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#04 pc 00000000007d7894 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#05 pc 00000000007d7324 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#06 pc 00000000007d5c48 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#07 pc 00000000007d912c /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#08 pc 00000000007d8c10 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#09 pc 00000000007d8730 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#10 pc 00000000007d5414 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#11 pc 00000000004b2cac /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#12 pc 00000000002c1cf0 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#13 pc 000000000000d05c /system/bin/app_process64 (art::SignalChain::Handler(int, siginfo*, void*)+348)
#14 pc 000000000000069c [vdso:0000007a1eec6000]
#15 pc 00000000005356e0 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#16 pc 0000000000014d74 /system/bin/linker64 (__dl__Z18do_dl_iterate_phdrPFiP12dl_phdr_infomPvES1_+76)
#17 pc 00000000000145e0 /system/bin/linker64 (__loader_dl_iterate_phdr+48)
#18 pc 0000000000000f90 /system/lib64/libdl.so (dl_iterate_phdr+8)
#19 pc 00000000005355e8 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#20 pc 0000000000502afc /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#21 pc 0000000000318580 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#22 pc 00000000002bf9a4 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#23 pc 00000000002c0040 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#24 pc 00000000002bb090 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/split_config.arm64_v8a.apk
#25 pc 000000000002282c /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/oat/arm64/base.odex (com.unity3d.player.GoogleVrProxy.isQuiting [DEDUPED]+124)
#26 pc 0000000000561f88 /system/lib64/libart.so (art_quick_invoke_stub+584)
#27 pc 00000000000d0140 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#28 pc 00000000002865e8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
#29 pc 00000000002805a4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+948)
#30 pc 0000000000532578 /system/lib64/libart.so (MterpInvokeDirect+296)
#31 pc 0000000000554714 /system/lib64/libart.so (ExecuteMterpImpl+14484)
#32 pc 000000000040999c /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer.c)
#33 pc 000000000025a0a0 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.783209430+496)
#34 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
#35 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
#36 pc 000000000053273c /system/lib64/libart.so (MterpInvokeStatic+204)
#37 pc 0000000000554794 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#38 pc 000000000040915c /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer$e$2.queueIdle+144)
#39 pc 000000000025a0a0 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.783209430+496)
#40 pc 0000000000521978 /system/lib64/libart.so (artQuickToInterpreterBridge+1032)
#41 pc 000000000056b0fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#42 pc 0000000000b2ac3c /system/framework/arm64/boot-framework.oat (android.os.MessageQueue.next+940)
#43 pc 0000000000b27ecc /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+636)
#44 pc 000000000056224c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
#45 pc 00000000000d0160 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
#46 pc 00000000002865e8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
#47 pc 00000000002805a4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+948)
#48 pc 000000000053273c /system/lib64/libart.so (MterpInvokeStatic+204)
#49 pc 0000000000554794 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#50 pc 00000000004093b8 /data/app/club.piratetycoon.idleclicker-KgdTpPx5Q4L5LuUEyrUBvw==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer$e.run+64)
#51 pc 000000000025a0a0 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.783209430+496)
#52 pc 0000000000521978 /system/lib64/libart.so (artQuickToInterpreterBridge+1032)
#53 pc 000000000056b0fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#54 pc 0000000000561f88 /system/lib64/libart.so (art_quick_invoke_stub+584)
#55 pc 00000000000d0140 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#56 pc 00000000004682d8 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#57 pc 00000000004693a0 /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
#58 pc 0000000000494c98 /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
#59 pc 0000000000084dc0 /system/lib64/libc.so (__pthread_start(void*)+208)
#60 pc 0000000000023a4c /system/lib64/libc.so (__start_thread+68)
As I can see the problem here is with firebase API. Please update your app firebase to the production key so that it can run on production apps that are released app on play store.
change dev key to ---> production key
As #hosseinamini pointed out, it was the appbundle that was causing the crash. After I uploaded an apk to the playstore, the crash disappeared.

Crash on android 9(presumably on close socket)

I have a couple of crash in google developer console on android 9 devices with backtrace:
#00 pc 0000000000021974 /system/lib64/libc.so (abort+116)
#01 pc 0000000000456cac /system/lib64/libart.so (art::Runtime::Abort(char const*)+1064)
#02 pc 0000000000008cd4 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
#03 pc 00000000002df9bc /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1516)
#04 pc 0000000000348400 /system/lib64/libart.so (art::JNI::GetIntField(_JNIEnv*, _jobject*, _jfieldID*)+160)
#05 pc 000000000001e14c /system/lib64/libopenjdk.so (FileDispatcherImpl_preClose0+24)
#06 pc 000000000011562c /system/framework/arm64/boot.oat (java.lang.System.setErr0 [DEDUPED]+172)
#07 pc 00000000002ea4d4 /system/framework/arm64/boot.oat (sun.nio.ch.DatagramDispatcher.preClose [DEDUPED]+52)
#08 pc 0000000000448714 /system/framework/arm64/boot.oat (sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel+180)
#09 pc 000000000043dd44 /system/framework/arm64/boot.oat (java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel+52)
#10 pc 00000000003fde60 /system/framework/arm64/boot.oat (java.nio.channels.spi.AbstractInterruptibleChannel.close+128)
#11 pc 0000000000447d1c /system/framework/arm64/boot.oat (sun.nio.ch.SocketChannelImpl.finalize+92)
#12 pc 0000000000182654 /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$FinalizerDaemon.doFinalize+100)
#13 pc 00000000001828dc /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$FinalizerDaemon.runInternal+492)
#14 pc 000000000011084c /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$Daemon.run+76)
#15 pc 000000000025cfc8 /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
#16 pc 0000000000545b88 /system/lib64/libart.so (art_quick_invoke_stub+584)
#17 pc 00000000000cf698 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#18 pc 000000000044f524 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#19 pc 00000000004505f0 /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
#20 pc 000000000047ae10 /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1260)
#21 pc 0000000000082264 /system/lib64/libc.so (__pthread_start(void*)+36)
#22 pc 0000000000023178 /system/lib64/libc.so (__start_thread+68)
I can't reproduce this on my own environments.
Application specific: it works with an external device. After connecting to wifi network app tries to connect to device via raw socket(via Apache MINA).
Do you have any idea about reasons(steps to reproduce) of that crash?

App crashing upon release possible due to minSDKversion &targetSDKversion

My app is crashing as soon as you open it and i think is has something to do with my deployment steps that i followed here (https://flutter.io/android-release/) and i'm trying to eliminate reasons as to why.
I followed all the steps but the only part i couldn't understand is the minSDKversion & targetSDKversion.
my sdk manager shows that i have Android 8.1 (oreo) partially installed and Android API 28 installed.
so my minSDK is set at 16 and my targetSDK is set at 27, and i know it should be 28
my problem is that i read that it wont even install on someones phone if those min/target SDK's are wrong(and i'm able to install from google play), and i'm trying to double check if that is really the case; Could this be the reason that its crashing upon opening?
my backtrace:
backtrace:
#00 pc 000000000001cd66 /system/lib/libc.so (abort+58)
#01 pc 000000000005b861 /data/app/my.mobile.app-8xh_NkCMyBUcRItBeV9kLg==/lib/arm/libflutter.so
#02 pc 000000000004ff59 /data/app/my.mobile.app-8xh_NkCMyBUcRItBeV9kLg==/lib/arm/libflutter.so (JNI_OnLoad+72)
#03 pc 0000000000234d79 /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+2324)
#04 pc 0000000000002f5b /system/lib/libopenjdkjvm.so (JVM_NativeLoad+230)
#05 pc 000000000010c733 /system/framework/arm/boot.oat (java.lang.Runtime.nativeLoad [DEDUPED]+130)
#06 pc 000000000016708b /system/framework/arm/boot.oat (java.lang.Runtime.loadLibrary0+146)
#07 pc 000000000016b94f /system/framework/arm/boot.oat (java.lang.System.loadLibrary+86)
#08 pc 000000000040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#09 pc 00000000003e6c7b /system/lib/libart.so (art_quick_invoke_static_stub+222)
#10 pc 00000000000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#11 pc 00000000001e5ae9 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
#12 pc 00000000001e05d7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
#13 pc 00000000003e27af /system/lib/libart.so (MterpInvokeStatic+130)
#14 pc 0000000000400494 /system/lib/libart.so (ExecuteMterpImpl+14612)
#15 pc 0000000000008ed4 /data/app/my.mobile.app-8xh_NkCMyBUcRItBeV9kLg==/oat/arm/base.vdex (io.flutter.view.FlutterMain.a+80)
#16 pc 00000000001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2471763592+378)
#17 pc 00000000001c9439 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152)
#18 pc 00000000001e05bf /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
#19 pc 00000000003e27af /system/lib/libart.so (MterpInvokeStatic+130)
#20 pc 0000000000400494 /system/lib/libart.so (ExecuteMterpImpl+14612)
#21 pc 0000000000008e6a /data/app/my.mobile.app-8xh_NkCMyBUcRItBeV9kLg==/oat/arm/base.vdex (io.flutter.view.FlutterMain.a+10)
#22 pc 00000000001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2471763592+378)
#23 pc 00000000001c937f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
#24 pc 00000000003d52b9 /system/lib/libart.so (artQuickToInterpreterBridge+880)
#25 pc 0000000000411aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
#26 pc 000000000040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#27 pc 00000000003e6c7b /system/lib/libart.so (art_quick_invoke_static_stub+222)
#28 pc 00000000000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#29 pc 00000000001e5ae9 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+236)
#30 pc 00000000001e05d7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+814)
#31 pc 00000000003e27af /system/lib/libart.so (MterpInvokeStatic+130)
#32 pc 0000000000400494 /system/lib/libart.so (ExecuteMterpImpl+14612)
#33 pc 0000000000007b8a /data/app/my.mobile.app-8xh_NkCMyBUcRItBeV9kLg==/oat/arm/base.vdex (io.flutter.app.FlutterApplication.onCreate+6)
#34 pc 00000000001c4d53 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2471763592+378)
#35 pc 00000000001c937f /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
#36 pc 00000000003d52b9 /system/lib/libart.so (artQuickToInterpreterBridge+880)
#37 pc 0000000000411aff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
#38 pc 000000000067a899 /system/framework/arm/boot-framework.oat (android.app.Instrumentation.callApplicationOnCreate+40)
#39 pc 000000000075a4bb /system/framework/arm/boot-framework.oat (android.app.ActivityThread.handleBindApplication+6626)
#40 pc 0000000000756435 /system/framework/arm/boot-framework.oat (android.app.ActivityThread$H.handleMessage+5788)
#41 pc 000000000090e329 /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+136)
#42 pc 0000000000910a23 /system/framework/arm/boot-framework.oat (android.os.Looper.loop+1162)
#43 pc 000000000075f6b3 /system/framework/arm/boot-framework.oat (android.app.ActivityThread.main+674)
#44 pc 000000000040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#45 pc 00000000003e6c7b /system/lib/libart.so (art_quick_invoke_static_stub+222)
#46 pc 00000000000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#47 pc 0000000000347ac5 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
#48 pc 0000000000348f15 /system/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1024)
#49 pc 00000000002fb0c5 /system/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+40)
#50 pc 000000000011226f /system/framework/arm/boot.oat (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
#51 pc 0000000000a0a56b /system/framework/arm/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+114)
#52 pc 0000000000a10455 /system/framework/arm/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2836)
#53 pc 000000000040d575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#54 pc 00000000003e6c7b /system/lib/libart.so (art_quick_invoke_static_stub+222)
#55 pc 00000000000a1027 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#56 pc 0000000000347ac5 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
#57 pc 00000000003478ef /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+310)
#58 pc 000000000028eb11 /system/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+444)
#59 pc 000000000006c93b /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+30)
#60 pc 000000000006eb93 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+458)
#61 pc 0000000000001989 /system/bin/app_process32 (main+728)
#62 pc 000000000008ae6d /system/lib/libc.so (__libc_init+48)
#63 pc 000000000000166f /system/bin/app_process32 (_start_main+38)
#64 pc 0000000000000306 <anonymous>

Categories

Resources