Firebase crashlytics has crashes in libc.so unknown - android

I get a lot of errors in a library called libc.so
We don't have any native code in our project so I'm wondering if these are coming from one of our dependencies.
If so, how do I understand which library is causing this issue?
Crash 1
Crashed: Thread : SIGABRT 0x000027bf00002899
#00 pc 0x787cf895ac libc.so
#01 pc 0x787cf8957c libc.so
#02 pc 0x77fc6da720 libart.so
#03 pc 0x78801dd600 libbase.so
#04 pc 0x77fc666a3c libart.so
#05 pc 0x77fc66e4b0 libart.so
#06 pc 0x77fc67c68c libart.so
#07 pc 0x77fc6e7b84 libart.so
#08 pc 0x77fc6fbacc libart.so
#09 pc 0x77fc6fab60 libart.so
#10 pc 0x787cfe86f0 libc.so
#11 pc 0x787cf8b0e8 libc.so
Crash 2
Crashed: Thread : SIGTRAP 0x000027a0000005f5
#00 pc 0x773bbea6b4 base.apk
#01 pc 0x773bbea560 base.apk
#02 pc 0x773d1d3cb0 base.apk
#03 pc 0x773a570408 base.apk
#04 pc 0x773c2bfea0 base.apk
#05 pc 0x773c220278 base.apk
#06 pc 0x773cbd7d08 base.apk
#07 pc 0x773cbd7ccc base.apk
#08 pc 0x773cbd7c54 base.apk
#09 pc 0x7819831dbc libutils.so
#10 pc 0x78198319c4 libutils.so
#11 pc 0x781baff63c libandroid_runtime.so
#12 pc 0x703cc724
#13 pc 0x6fcb192c
#14 pc 0x6fc7b61c
#15 pc 0x71af7f24 boot-framework.oat
#16 pc 0x703cc9cc
#17 pc 0x71536f88 boot-framework.oat
#18 pc 0x6f84119c
#19 pc 0x6f8a9aac
#20 pc 0x6fff698c
#21 pc 0x6f8ad0a4
#22 pc 0x6fc859dc
#23 pc 0x71af4a78 boot-framework.oat
#24 pc 0x702570c4
#25 pc 0x6fc80bbc
#26 pc 0x6f8ad3b4
#27 pc 0x6f8ad3b4
#28 pc 0x6fc80bbc
#29 pc 0x6ffc7f44
#30 pc 0x717cfb30 boot-framework.oat
#31 pc 0x703f966c
#32 pc 0x703f8294
#33 pc 0x779791bc04 libart.so
#34 pc 0x77975495b8 libart.so
#35 pc 0x703f966c
#36 pc 0x77975581c4 libart.so
#37 pc 0x703f966c
#38 pc 0x703f966c
#39 pc 0x77978ce508 libart.so
#40 pc 0x6fc80bbc
#41 pc 0x6fc80bbc
#42 pc 0x77979ac218 libart.so
#43 pc 0x703f966c
#44 pc 0x6fc80bbc
#45 pc 0x703f966c
#46 pc 0x77978cff30 libart.so
#47 pc 0x6fc80bbc
#48 pc 0x70e01da0 boot.oat
#49 pc 0x6f9dd14c
#50 pc 0x6f8cf454
#51 pc 0x70e05478 boot.oat
#52 pc 0x6f9dd8f4
#53 pc 0x6fa8c78c
#54 pc 0x6fc80bbc
#55 pc 0x6f8cf454
#56 pc 0x6f7b39e4
#57 pc 0x71d73fa0 boot-framework.oat
#58 pc 0x703abf6c
#59 pc 0x71d73b4c boot-framework.oat
#60 pc 0x703abef4
#61 pc 0x700543bc
#62 pc 0x700543bc
#63 pc 0x71d781c8 boot-framework.oat
crash 3
Crashed: Thread : SIGABRT 0x000027ce00006d26
#00 pc 0x7c556075ac libc.so
#01 pc 0x7c5560757c libc.so
#02 pc 0x7bd26da720 libart.so
#03 pc 0x7c56d77600 libbase.so
#04 pc 0x7bd2666a3c libart.so
#05 pc 0x7bd266e4b0 libart.so
#06 pc 0x7bd267c68c libart.so
#07 pc 0x7bd26e7b84 libart.so
#08 pc 0x7bd26fbacc libart.so
#09 pc 0x7bd26fab60 libart.so
#10 pc 0x7c556666f0 libc.so
#11 pc 0x7c556090e8 libc.so

Related

Android 7.1 and 7 Native Crash: libc.so tgkill+12

I'm seeing this native crash with the following stack trace.
I have checked other questions similar to this but doesn't found anything similar solution as I have not used TextureView or CardView and I am also sure that it is not due to any library dependencies.
Can anyone have clue, Please?
#00 pc 000000000004ae30 /system/lib/libc.so (tgkill+12)
#01 pc 00000000000485c3 /system/lib/libc.so (pthread_kill+34)
#02 pc 000000000001de5d /system/lib/libc.so (raise+10)
#03 pc 0000000000019561 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 00000000000171a0 /system/lib/libc.so (abort+4)
#05 pc 000000000031e8fd /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+328)
#06 pc 00000000000b56d7 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1134)
#07 pc 00000000001be831 /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+308)
#08 pc 000000000023c917 /system/lib/libart.so (_ZN3art9JavaVMExt16AddWeakGlobalRefEPNS_6ThreadEPNS_6mirror6ObjectE+46)
#09 pc 00000000002822ef /system/lib/libart.so (_ZN3art3JNI16NewWeakGlobalRefEP7_JNIEnvP8_jobject+418)
#10 pc 0000000000090abb /system/lib/libandroid_runtime.so
#11 pc 00000000029950cd /system/framework/arm/boot-framework.oat (android.view.RenderNode.nCreate+96)
#12 pc 0000000002994e23 /system/framework/arm/boot-framework.oat (android.view.RenderNode.<init>+70)
#13 pc 0000000002994f91 /system/framework/arm/boot-framework.oat (android.view.RenderNode.create+68)
#14 pc 00000000027526e3 /system/framework/arm/boot-framework.oat (android.view.View.<init>+750)
#15 pc 0000000002752a57 /system/framework/arm/boot-framework.oat (android.view.View.<init>+66)
#16 pc 0000000002a6d831 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+148)
#17 pc 0000000002a6d765 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+64)
#18 pc 0000000002a6d6f1 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+60)
#19 pc 0000000002a6d683 /system/framework/arm/boot-framework.oat (android.widget.TextView.<init>+46)
#20 pc 000000000003bd5b /dev/ashmem/dalvik-jit-code-cache_17678_17678 (deleted)

tgkill - Native Crash for Samsung Devices in Android 8.0

We are observing a native crash on Samsung devices with Android 8.0 in Play Console for our app.
We have never been able to reproduce this crash ourselves.
The crash is occurring in the following devices
Galaxy S7(herolte) Galaxy S8(dreamlte) Galaxy A5(2017) Galaxy
A7(2018) Galaxy S9+ (star2LTE) Galaxy A7(2017) Galaxy S7 edge
(hero2lte)
The backtrace is
#00 pc 000000000006b488 /system/lib64/libc.so (tgkill+8)
#01 pc 000000000001dbd0 /system/lib64/libc.so (abort+88)
#02 pc 00000000004380f8 /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+528)
#03 pc 0000000000438808 /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+24)
#04 pc 000000000052383c /system/lib64/libart.so (_ZN7android4base10LogMessageD1Ev+900)
#05 pc 00000000004628fc /system/lib64/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+1144)
#06 pc 0000000000128120 /system/lib64/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+64)
#07 pc 0000000000311364 /system/lib64/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1432)
#08 pc 000000000002bed8 /system/lib64/libjavacrypto.so (_ZN9conscrypt6Errors24jniThrowRuntimeExceptionEP7_JNIEnvPKc+40)
#09 pc 000000000002c7a0 /system/lib64/libjavacrypto.so (_ZN9conscrypt6Errors25throwExceptionIfNecessaryEP7_JNIEnvPKcPFiS2_S4_E+732)
#10 pc 000000000001ff8c /system/lib64/libjavacrypto.so (_ZL29NativeCrypto_d2i_X509_CRL_bioP7_JNIEnvP7_jclassl+56)
#11 pc 000000000002de78 /system/framework/arm64/boot-conscrypt.oat (com.android.org.conscrypt.NativeCrypto.PEM_read_bio_PUBKEY [DEDUPED]+152)
#12 pc 0000000000509038 /system/lib64/libart.so (art_quick_invoke_static_stub+600)
#13 pc 00000000000d7fd8 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+260)
#14 pc 00000000002826b0 /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+352)
#15 pc 000000000027cd78 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+672)
#16 pc 00000000004f1c04 /system/lib64/libart.so (MterpInvokeStatic+468)
#17 pc 00000000004fa994 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#18 pc 000000000025daf4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#19 pc 00000000004e4560 /system/lib64/libart.so (artQuickToInterpreterBridge+1468)
#20 pc 000000000051221c /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#21 pc 0000000000057814 /system/framework/arm64/boot-conscrypt.oat (com.android.org.conscrypt.OpenSSLX509CertificateFactory$2.fromX509DerInputStream+52)
#22 pc 00000000000575e0 /system/framework/arm64/boot-conscrypt.oat (com.android.org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509DerInputStream [DEDUPED]+48)
#23 pc 0000000000056ef0 /system/framework/arm64/boot-conscrypt.oat (com.android.org.conscrypt.OpenSSLX509CertificateFactory$Parser.generateItem+944)
#24 pc 0000000000057b9c /system/framework/arm64/boot-conscrypt.oat (com.android.org.conscrypt.OpenSSLX509CertificateFactory.engineGenerateCRL+76)
#25 pc 00000000003c0e34 /system/framework/arm64/boot.oat (java.security.cert.CertificateFactory.generateCRL+68)
#26 pc 0000000000508d84 /system/lib64/libart.so (art_quick_invoke_stub+580)
#27 pc 00000000000d7f9c /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
#28 pc 00000000002826b0 /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+352)
#29 pc 000000000027cd78 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+672)
#30 pc 00000000004f3804 /system/lib64/libart.so (MterpInvokeVirtualQuick+680)
#31 pc 00000000004fe594 /system/lib64/libart.so (ExecuteMterpImpl+29972)
#32 pc 000000000025daf4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#33 pc 00000000004e4560 /system/lib64/libart.so (artQuickToInterpreterBridge+1468)
#34 pc 000000000051221c /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#35 pc 00000000003bf7c4 /system/framework/arm64/boot.oat (java.security.cert.CertStore.getCRLs+68)
#36 pc 0000000000508d84 /system/lib64/libart.so (art_quick_invoke_stub+580)
#37 pc 00000000000d7f9c /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
#38 pc 00000000002826b0 /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+352)
#39 pc 000000000027cd78 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+672)
#40 pc 00000000004f3804 /system/lib64/libart.so (MterpInvokeVirtualQuick+680)
#41 pc 00000000004fe594 /system/lib64/libart.so (ExecuteMterpImpl+29972)
#42 pc 000000000025daf4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#43 pc 00000000002641f4 /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
#44 pc 000000000027dbc8 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+584)
#45 pc 00000000004f34ac /system/lib64/libart.so (MterpInvokeStaticRange+396)
#46 pc 00000000004fac94 /system/lib64/libart.so (ExecuteMterpImpl+15380)
#47 pc 000000000025daf4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#48 pc 00000000002641f4 /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
#49 pc 000000000027dbc8 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+584)
#50 pc 00000000004f34ac /system/lib64/libart.so (MterpInvokeStaticRange+396)
#51 pc 00000000004fac94 /system/lib64/libart.so (ExecuteMterpImpl+15380)
#52 pc 000000000025daf4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#53 pc 00000000004e4560 /system/lib64/libart.so (artQuickToInterpreterBridge+1468)
#54 pc 000000000051221c /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#55 pc 00000000007aaccc /system/framework/arm64/boot.oat (sun.security.provider.certpath.RevocationChecker.checkCRLs+2684)
#56 pc 00000000007a95f4 /system/framework/arm64/boot.oat (sun.security.provider.certpath.RevocationChecker.check+1892)
#57 pc 00000000007adf40 /system/framework/arm64/boot.oat (sun.security.provider.certpath.RevocationChecker.check+112)
#58 pc 000000000079c998 /system/framework/arm64/boot.oat (sun.security.provider.certpath.PKIXMasterCertPathValidator.validate+2152)
#59 pc 000000000079b050 /system/framework/arm64/boot.oat (sun.security.provider.certpath.PKIXCertPathValidator.validate+3376)
#60 pc 000000000079bc34 /system/framework/arm64/boot.oat (sun.security.provider.certpath.PKIXCertPathValidator.validate+1556)
#61 pc 000000000079c0ec /system/framework/arm64/boot.oat (sun.security.provider.certpath.PKIXCertPathValidator.engineValidate+380)
#62 pc 0000000000508d84 /system/lib64/libart.so (art_quick_invoke_stub+580)
#63 pc 00000000000d7f9c /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
The issue seems to be some where in the certificate validation and the classes related to Conscrypt are also visible which is the Java Security Provider. Has Any body faced this issue before and can help in understanding this backtrace.

Android 8.1.0 Native Crash:#00 pc 0001a772 /system/lib/libc.so (abort+63) [armeabi-v8]

I'm seeing this native crash in Bugly with the following stack trace.
The crash happens in 4,108 times which in Android 8.1.0 only.
More and more Android devices update OS; that make the crash to seem seriously.
Any advice will be appreciated!
#00 pc 0001a4f8 /system/lib/libc.so (abort+63) [armeabi-v8]
#01 pc 0001a4f4 /system/lib/libc.so (abort+59) [armeabi-v8]
#02 pc 0001a4f0 /system/lib/libc.so (abort+55) [armeabi-v8]
#03 pc 0001a4ec /system/lib/libc.so (abort+51) [armeabi-v8]
#04 pc 0001a4e8 /system/lib/libc.so (abort+47) [armeabi-v8]
#05 pc 0001a4e4 /system/lib/libc.so (abort+43) [armeabi-v8]
#06 pc 0001a4e0 /system/lib/libc.so (abort+39) [armeabi-v8]
#07 pc 0001a4dc /system/lib/libc.so (abort+35) [armeabi-v8]
#08 pc 0001a4d8 /system/lib/libc.so (abort+31) [armeabi-v8]
#09 pc 0001a4d4 /system/lib/libc.so (abort+27) [armeabi-v8]
#10 pc 0001a4d0 /system/lib/libc.so (abort+23) [armeabi-v8]
#11 pc 0001a4cc /system/lib/libc.so (abort+19) [armeabi-v8]
#12 pc 0001a4c8 /system/lib/libc.so (abort+15) [armeabi-v8]
#13 pc 0001a4c4 /system/lib/libc.so (abort+11) [armeabi-v8]
#14 pc 0001a4c0 /system/lib/libc.so (abort+7) [armeabi-v8]
#15 pc 0001a4bc /system/lib/libc.so (abort+3) [armeabi-v8]
#16 pc 0001a4b8 /system/lib/libc.so (__set_errno_internal+15) [armeabi-v8]
#17 pc 0001a4b4 /system/lib/libc.so (__set_errno_internal+11) [armeabi-v8]
#18 pc 0001a4b0 /system/lib/libc.so (__set_errno_internal+7) [armeabi-v8]
#19 pc 0001a4ac /system/lib/libc.so (__set_errno_internal+3) [armeabi-v8]
#20 pc 0001a4a8 /system/lib/libc.so (__libc_current_sigrtmin+3) [armeabi-v8]
#21 pc 0001a4a4 /system/lib/libc.so (__libc_current_sigrtmax+3) [armeabi-v8]
#22 pc 0001a4a0 /system/lib/libc.so (__gnu_basename+21) [armeabi-v8]
#23 pc 0001a49c /system/lib/libc.so (__gnu_basename+17) [armeabi-v8]
#24 pc 0001a498 /system/lib/libc.so (__gnu_basename+13) [armeabi-v8]
#25 pc 0001a494 /system/lib/libc.so (__gnu_basename+9) [armeabi-v8]
#26 pc 0001a490 /system/lib/libc.so (__gnu_basename+5) [armeabi-v8]
#27 pc 0001a48c /system/lib/libc.so (__gnu_basename+1) [armeabi-v8]
#28 pc 0001a488 /system/lib/libc.so (__errno+5) [armeabi-v8]
#29 pc 0001a484 /system/lib/libc.so (__errno+1) [armeabi-v8]
#30 pc 0001a480 /system/lib/libc.so (__cmsg_nxthdr+27) [armeabi-v8]
#31 pc 0001a47c /system/lib/libc.so (__cmsg_nxthdr+23) [armeabi-v8]
#32 pc 0001a478 /system/lib/libc.so (__cmsg_nxthdr+19) [armeabi-v8]
#33 pc 0001a474 /system/lib/libc.so (__cmsg_nxthdr+15) [armeabi-v8]
#34 pc 0001a470 /system/lib/libc.so (__cmsg_nxthdr+11) [armeabi-v8]
#35 pc 0001a46c /system/lib/libc.so (__cmsg_nxthdr+7) [armeabi-v8]
#36 pc 0001a468 /system/lib/libc.so (__cmsg_nxthdr+3) [armeabi-v8]
#37 pc 0001a464 /system/lib/libc.so (__bionic_get_shell_path+147) [armeabi-v8]
#38 pc 0001a460 /system/lib/libc.so (__bionic_get_shell_path+143) [armeabi-v8]
#39 pc 0001a45c /system/lib/libc.so (__bionic_get_shell_path+139) [armeabi-v8]
#40 pc 0001a458 /system/lib/libc.so (__bionic_get_shell_path+135) [armeabi-v8]
#41 pc 0001a454 /system/lib/libc.so (__bionic_get_shell_path+131) [armeabi-v8]
#42 pc 0001a450 /system/lib/libc.so (__bionic_get_shell_path+127) [armeabi-v8]
#43 pc 0001a44c /system/lib/libc.so (__bionic_get_shell_path+123) [armeabi-v8]
#44 pc 0001a448 /system/lib/libc.so (__bionic_get_shell_path+119) [armeabi-v8]
#45 pc 0001a444 /system/lib/libc.so (__bionic_get_shell_path+115) [armeabi-v8]
#46 pc 0001a440 /system/lib/libc.so (__bionic_get_shell_path+111) [armeabi-v8]
#46 pc 0001a72c /system/lib/libc.so (__bionic_get_shell_path+107) [armeabi-v7a]
#47 pc 0001a728 /system/lib/libc.so (__bionic_get_shell_path+103) [armeabi-v7a]
#48 pc 0001a724 /system/lib/libc.so (__bionic_get_shell_path+99) [armeabi-v7a]
#49 pc 0001a720 /system/lib/libc.so (__bionic_get_shell_path+95) [armeabi-v7a]
#50 pc 0001a71c /system/lib/libc.so (__bionic_get_shell_path+91) [armeabi-v7a]

Native crash at getResources().getStringArray

Native crash at getResources().getStringArray on some devices such as Samsung On7 Pro and Samsung Galaxy J8. On other devices same code is working fine. I am not able to figure out what is wrong. Below is the stack trace of crash.
backtrace:
#00 pc 000000000004b95c /system/lib/libc.so (tgkill+12)
#01 pc 000000000001a733 /system/lib/libc.so (abort+54)
#02 pc 0000000000337da3 /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+230)
#03 pc 0000000000338433 /system/lib/libart.so (_ZN3art7Runtime7AborterEPKc+10)
#04 pc 00000000003efaad /system/lib/libart.so (_ZN7android4base10LogMessageD1Ev+456)
#05 pc 00000000002300df /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1262)
#06 pc 000000000023033b /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+66)
#07 pc 000000000028b3f7 /system/lib/libart.so (_ZN3art3JNI9NewStringEP7_JNIEnvPKti+590)
#08 pc 00000000000ea39d /system/lib/libandroid_runtime.so (_ZN7androidL51android_content_AssetManager_getArrayStringResourceEP7_JNIEnvP8_jobjecti+244)
#09 pc 0000000000a51567 /system/framework/arm/boot-framework.oat (android.content.res.AssetManager.getArrayStringInfo [DEDUPED]+78)
#10 pc 0000000000a596ff /system/framework/arm/boot-framework.oat (android.content.res.Resources.getStringArray+86)
#11 pc 00000000003dd1e1 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#12 pc 00000000003e1755 /system/lib/libart.so (art_quick_invoke_stub+228)
#13 pc 00000000000ac0e1 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+140)
#14 pc 00000000001f1cf3 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+238)
#15 pc 00000000001ed2a3 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+574)
#16 pc 00000000003c9691 /system/lib/libart.so (MterpInvokeVirtualQuick+504)
#17 pc 00000000003d3214 /system/lib/libart.so (ExecuteMterpImpl+29972)
#18 pc 00000000001d4825 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#19 pc 00000000001d9ba7 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
#20 pc 00000000001ed28d /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
#21 pc 00000000003c7f71 /system/lib/libart.so (MterpInvokeDirect+360)
#22 pc 00000000003cf594 /system/lib/libart.so (ExecuteMterpImpl+14484)
#23 pc 00000000001d4825 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#24 pc 00000000001d9af5 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#25 pc 00000000003bd7f5 /system/lib/libart.so (artQuickToInterpreterBridge+960)
#26 pc 00000000003e0fa1 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
#27 pc 00000000007eebc5 /system/framework/arm/boot-framework.oat (android.app.Instrumentation.callActivityOnCreate+108)
#28 pc 0000000000712309 /system/framework/arm/boot-framework.oat (android.app.ActivityThread.performLaunchActivity+1936)
#29 pc 000000000070a21b /system/framework/arm/boot-framework.oat (android.app.ActivityThread.handleLaunchActivity+298)
#30 pc 00000000006fe84f /system/framework/arm/boot-framework.oat (android.app.ActivityThread.-wrap11+62)
#31 pc 00000000006fb5c5 /system/framework/arm/boot-framework.oat (android.app.ActivityThread$H.handleMessage+8676)
#32 pc 0000000000e94cfb /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+138)
#33 pc 0000000000ee3243 /system/framework/arm/boot-framework.oat (android.os.Looper.loop+1066)
#34 pc 000000000071036d /system/framework/arm/boot-framework.oat (android.app.ActivityThread.main+932)
#35 pc 00000000003dd1e1 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#36 pc 00000000003e185b /system/lib/libart.so (art_quick_invoke_static_stub+226)
#37 pc 00000000000ac10b /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#38 pc 000000000033215d /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+52)
#39 pc 00000000003336a3 /system/lib/libart.so (_ZN3art12InvokeMethodERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectS4_S4_j+946)
#40 pc 00000000002e1475 /system/lib/libart.so (_ZN3artL13Method_invokeEP7_JNIEnvP8_jobjectS3_S3_+40)
#41 pc 0000000000250bdf /system/framework/arm/boot-core-oj.oat (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
#42 pc 000000000162b055 /system/framework/arm/boot-framework.oat (com.android.internal.os.Zygote$MethodAndArgsCaller.run+124)
#43 pc 000000000162f245 /system/framework/arm/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3076)
#44 pc 00000000003dd1e1 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#45 pc 00000000003e185b /system/lib/libart.so (art_quick_invoke_static_stub+226)
#46 pc 00000000000ac10b /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#47 pc 000000000033215d /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+52)
#48 pc 0000000000331f69 /system/lib/libart.so (_ZN3art17InvokeWithVarArgsERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDSt9__va_list+296)
#49 pc 0000000000285c83 /system/lib/libart.so (_ZN3art3JNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+430)
#50 pc 00000000000a0f41 /system/lib/libandroid_runtime.so (_ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz+36)
#51 pc 00000000000a284b /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+466)
#52 pc 0000000000003215 /system/bin/app_process32 (main+1180)
#53 pc 0000000000017e89 /system/lib/libc.so (__libc_init+48)
#54 pc 0000000000002ca0 /system/bin/app_process32 (_start+96)

Runtime.nativeLoad crashes when loading private library

SIGSEGV: SIGSEGV
#00 pc 4009a4c0 /system/bin/linker
#01 pc 4009b004 /system/bin/linker
#02 pc 4009b416 /system/bin/linker
#03 pc 4009b9ca /system/bin/linker
#04 pc 40099f42 /system/bin/linker
#05 pc 00051074 /system/lib/libdvm.so (_Z17dvmLoadNativeCodePKcP6ObjectPPc)
#06 pc 00068a18 /system/lib/libdvm.so
#07 pc 00027fa0 /system/lib/libdvm.so
#08 pc 0002f110 /system/lib/libdvm.so (_Z11dvmMterpStdP6Thread)
#09 pc 0002c774 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
#10 pc 000619ea /system/lib/libdvm.so (_Z15dvmInvokeMethodP6ObjectPK6MethodP11ArrayObjectS5_P11ClassObjectb)
#11 pc 00069af6 /system/lib/libdvm.so
#12 pc 00027fa0 /system/lib/libdvm.so
#13 pc 0002f110 /system/lib/libdvm.so (_Z11dvmMterpStdP6Thread)
#14 pc 0002c774 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
#15 pc 000619ea /system/lib/libdvm.so (_Z15dvmInvokeMethodP6ObjectPK6MethodP11ArrayObjectS5_P11ClassObjectb)
#16 pc 00069af6 /system/lib/libdvm.so
#17 pc 00027fa0 /system/lib/libdvm.so
#18 pc 0002f110 /system/lib/libdvm.so (_Z11dvmMterpStdP6Thread)
#19 pc 0002c774 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
#20 pc 000619ea /system/lib/libdvm.so (_Z15dvmInvokeMethodP6ObjectPK6MethodP11ArrayObjectS5_P11ClassObjectb)
#21 pc 00069af6 /system/lib/libdvm.so
#22 pc 00027fa0 /system/lib/libdvm.so
#23 pc 0002f110 /system/lib/libdvm.so (_Z11dvmMterpStdP6Thread)
#24 pc 0002c774 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
#25 pc 00061706 /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
#26 pc 0004ae1a /system/lib/libdvm.so
#27 pc 00050546 /system/lib/libandroid_runtime.so
#28 pc 000512d2 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcS2_)
#29 pc 4009605c /system/bin/app_process
#30 pc 0000e5e6 /system/lib/libc.so (__libc_init)
java:
java.lang.Runtime.nativeLoad(Native Method)
java.lang.Runtime.doLoad(Runtime.java:421)
java.lang.Runtime.load(Runtime.java:331)
java.lang.System.load(System.java:541)
....
It crashes at this line when trying to load a private library(.so):
System.load(so_path);
In addition, this code is invoked from a customized DexClassLoader, which loads a lot of private classes in associated with the native code in ".so".
However on most devices it is loaded regularly. And this issue is mostly found on devices with android api level 17, 16, 19.
Does any one have any experience or any idea about this issue? Thank you very much!

Categories

Resources