I am getting this crash on Android released app. I didn't use to get this error in dev builds. And also, it seems like its affecting a small number of users. I am also not using crashlytics.
backtrace:
#00 pc 0x0000000000085094 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+292)
#01 pc 0x000000000061c278 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#02 pc 0x00000000001d20a8 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#03 pc 0x00000000001d369c /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#04 pc 0x00000000001e1c00 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#05 pc 0x0000000000601fb0 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#06 pc 0x00000000001da6a4 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#07 pc 0x00000000001dde94 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#08 pc 0x000000000185105c /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#09 pc 0x000000000184f37c /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#10 pc 0x000000000184d6dc /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#11 pc 0x000000000191c240 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#12 pc 0x0000000000952c9c /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#13 pc 0x0000000000952bc0 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#14 pc 0x00000000002af964 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#15 pc 0x00000000002bd828 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#16 pc 0x00000000001deaa8 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#17 pc 0x000000000056984c /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#18 pc 0x00000000005699c4 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#19 pc 0x0000000000206b70 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#20 pc 0x0000000000207d30 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#21 pc 0x0000000000207d70 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#22 pc 0x0000000000207fb4 /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#23 pc 0x00000000003399fc /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#24 pc 0x0000000000351a6c /data/app/~~rl7ZWwW2NDGA5rRb9K9nEA==/{PACKAGE_IDENTIFIER}-OBaHBkLOrFpnjTcok9CC8w==/split_config.arm64_v8a.apk
#25 pc 0x000000000043dd54 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148)
#26 pc 0x000000000020a2b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
#27 pc 0x0000000002041094 /memfd:jit-cache
The play store shows the error title as
[split_config.arm64_v8a.apk]
SIGSEGV
it is very useful if you build appbundle, in case you want to deal with google play
you need to see this: https://docs.flutter.dev/deployment/android
you delete you cache with flutter clean and rebuild flutter pub get
for realease you can use flutter build appbundle
Related
I received this Crashlytics log on Firebase console for my Android app.
I have no idea which module is causing this issue,
From investigation, I collected some info:
Almost devices are running out of RAM
It occurs on all brands: Samsung, Oppo, Vivo, ...
Can anyone tell me your approach to locate the error source of this issue?
Crashed: Thread : SIGABRT 0x000027b100003d06
#00 pc 0x7f9a3a070c
#01 pc 0x7f9a39e544
#02 pc 0x7f9a359aa4
#03 pc 0x7f9a354244
#04 pc 0x7f9a35768c
#05 pc 0x7f9a3576b0
#06 pc 0x7f9a3a75d4
#07 pc 0x7f896c02e0
#08 pc 0x7f896c941c
#09 pc 0x13ad881c
#10 pc 0x7f896c9064
#11 pc 0x13ee457c
#12 pc 0x1455087c
#13 pc 0x70bf21d4
#14 pc 0x13ad881c
#15 pc 0x70bf21d4
#16 pc 0x70da64d4
#17 pc 0x70b89b3c
#18 pc 0x7f9a83f464
#19 pc 0x13ad881c
#20 pc 0x13ad881c
#21 pc 0x13ee457c
#22 pc 0x1455087c
#23 pc 0x70bf21d4
#24 pc 0x136c9c1c
#25 pc 0x73bea754 boot.oat
#26 pc 0x70bf21d4
...
--- update ---
I did not use proguard:
android/app/build.gradle
def enableProguardInReleaseBuilds = false
...
android: {
...
buildTypes: {
...
release: {
minifyEnabled enableProguardInReleaseBuilds
shrinkResources enableProguardInReleaseBuilds
}
}
}
I uploaded a game to the play store and the game is sometimes crashing. The reason given by the google crash report is this:
pid: 0, tid: 0 >>> com.DefaultCompany.GravitysFault <<<
backtrace:
#00 pc 000000000007ba60 /system/lib64/libc.so (tgkill+8)
#01 pc 00000000004ffec4 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#02 pc 00000000005003d4 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#03 pc 0000000000164384 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#04 pc 0000000000161e00 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#05 pc 00000000001638bc /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#06 pc 000000000025cc50 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#07 pc 0000000000636278 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#08 pc 0000000000319eac /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#09 pc 0000000000445424 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#10 pc 00000000005e7570 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#11 pc 00000000005ef818 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#12 pc 00000000005e6d00 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#13 pc 000000000026b790 /data/app/com.DefaultCompany.GravitysFault-MPZSN7QrIjprfkcFvzErQA==/lib/arm64/libunity.so
#14 pc 0000000000090120 /system/lib64/libc.so (__pthread_start(void*)+36)
#15 pc 0000000000023968 /system/lib64/libc.so (__start_thread+68)
Can someone please tell me what it means?
Libc.so is an Android system library, and you might be able to learn more about diagnosing libc issues here: https://source.android.com/devices/tech/debug/native-crash. You could also use ndk-stack to try to get more data out of this stacktrace: https://developer.android.com/ndk/guides/ndk-stack
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)
We are seeing a weird tgkill native crash for all kinds of Samsung devices with Android Oreo 8.0.
#00 pc 000000000006b818 /system/lib64/libc.so (tgkill+8)
#01 pc 000000000001df10 /system/lib64/libc.so (abort+88)
#02 pc 0000000000007f44 /system/lib64/liblog.so (__android_log_assert+304)
#03 pc 0000000000015a94 /system/lib64/libutils.so (_ZN7android6Looper4wakeEv+192)
#04 pc 0000000000695368 /system/framework/arm64/boot-framework.oat (android.os.Binder.restoreCallingIdentity [DEDUPED]+152)
#05 pc 00000000010b04b4 /system/framework/arm64/boot-framework.oat (android.os.MessageQueue.quit+276)
#06 pc 00000000010aaff4 /system/framework/arm64/boot-framework.oat (android.os.Looper.quitSafely+68)
#07 pc 0000000000e304c8 /system/framework/arm64/boot-framework.oat (android.media.MediaPlayer$4.run+456)
#08 pc 0000000001042b60 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+80)
#09 pc 00000000010a9d00 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1184)
#10 pc 000000000104521c /system/framework/arm64/boot-framework.oat (android.os.HandlerThread.run+620)
#11 pc 0000000000507d84 /system/lib64/libart.so (art_quick_invoke_stub+580)
#12 pc 00000000000d82f4 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
#13 pc 00000000004309cc /system/lib64/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+104)
#14 pc 0000000000431b58 /system/lib64/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+432)
#15 pc 0000000000458038 /system/lib64/libart.so (_ZN3art6Thread14CreateCallbackEPv+1140)
#16 pc 0000000000068194 /system/lib64/libc.so (_ZL15__pthread_startPv+36)
#17 pc 000000000001f664 /system/lib64/libc.so (__start_thread+68)
We are using the MediaPlayer, so maybe this makes sense: android.media.MediaPlayer$4.run+456
The thing is, we have no idea how to debug it. Any ideas on what this crash is really about?
(Trying to get a Samsung with 8.0 in the meantime)
Maybe this is relevant:
tgkill - native error on Android 8.0 Samsung S8
Basically its EditText messing up on rotate for android 8.
I recently updated my app to target SDK 27, before that it used to be 23.
And since I updated app I am getting the following error on GooglePlayConsole.
I did some research and from my understanding its native crash, but not much info on those and whats causing them or what they really are.
What are these native crashes and in my case what causes this crash? It makes no sense to me at all
backtrace:
#00 pc 00000000001fcd2c /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb1EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+1827)
#01 pc 0000000000200791 /system/lib/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE4ELb0ELb1EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+760)
#02 pc 00000000000b035d /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb1ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25796)
#03 pc 00000000001e268d /system/lib/libart.so (artInterpreterToInterpreterBridge+312)
#04 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#05 pc 00000000000c0ee7 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+26126)
#06 pc 00000000001e25cd /system/lib/libart.so (artInterpreterToInterpreterBridge+120)
#07 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#08 pc 00000000000c0b13 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25146)
#09 pc 00000000001e25cd /system/lib/libart.so (artInterpreterToInterpreterBridge+120)
#10 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#11 pc 00000000000c0b13 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25146)
#12 pc 00000000001e25cd /system/lib/libart.so (artInterpreterToInterpreterBridge+120)
#13 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#14 pc 00000000000c0b13 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25146)
#15 pc 00000000001e23a5 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+84)
#16 pc 00000000003e860b /system/lib/libart.so (artQuickToInterpreterBridge+546)
#17 pc 00000000000eaef3 /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
#18 pc 00000000000e6781 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#19 pc 00000000003e9fb7 /system/lib/libart.so (art_quick_invoke_stub+170)
#20 pc 00000000000fb734 [stack:8757]
Without knowing your dependencies is hard to know, but keep in mind, since nougat (SDK 26), the native libraries are treated differently:
https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk
So, check your dependencies, find the ones using native code, and see if they were updated to support nougat's changes.