tgkill Crash in Android 6.0 - android

In playconsole i'm having this native crash . It has been reported on only Android 6.0. with the stacktrace:
#00 pc 000000000006abe4 /system/lib64/libc.so (tgkill+8)
#01 pc 0000000000068374 /system/lib64/libc.so (pthread_kill+68)
#02 pc 00000000000212f8 /system/lib64/libc.so (raise+28)
#03 pc 000000000001ba98 /system/lib64/libc.so (abort+60)
#04 pc 0000000000438134 /system/lib64/libart.so
(_ZN3art7Runtime5AbortEv+324)
#05 pc 0000000000136d10 /system/lib64/libart.so
(_ZN3art10LogMessageD2Ev+3136)
#06 pc 0000000000543014 /system/lib64/libart.so
(artInvokeInterfaceTrampoline+1492)
#07 pc 000000000011e1e8 /system/lib64/libart.so
(art_quick_invoke_interface_trampoline+104)
#08 pc 0000000073d16d50 /data/dalvik-
cache/arm64/system#framework#boot.oat
Kindly suggest to resolve this issue.

Related

My game is crashing. The crash report is attached

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

Android oreo crash signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

I have been seeing several such crashes only on Android 8 with no sensible stack trace.
How to identify the root cause? There seems to be no way to identify the library causing this failure.
backtrace:
#00 pc 0000000000263fec /system/lib64/libart.so (_ZN3art6mirror5Class24ResolvedMethodAccessTestILb1ELb1ELNS_10InvokeTypeE0EEEbNS_6ObjPtrIS1_EEPNS_9ArtMethodEjNS4_INS0_8DexCacheEEE+352)
#01 pc 00000000002975fc /system/lib64/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE0ELb0ELb1EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+508)
#02 pc 000000000028c578 /system/lib64/libart.so (_ZN3art11interpreter17ExecuteSwitchImplILb1ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_b+36540)
#03 pc 000000000025d450 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+664)
#04 pc 0000000000263a74 /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
#05 pc 000000000027cd68 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb1EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+1520)
#06 pc 0000000000295ca4 /system/lib64/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE1ELb0ELb1EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+676)
#07 pc 000000000028c988 /system/lib64/libart.so (_ZN3art11interpreter17ExecuteSwitchImplILb1ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_b+37580)
#08 pc 000000000025d450 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+664)
#09 pc 0000000000263a74 /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
#10 pc 000000000027c5d8 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
#11 pc 00000000004f0bb8 /system/lib64/libart.so (MterpInvokeStatic+468)
#12 pc 00000000004f9914 /system/lib64/libart.so (ExecuteMterpImpl+14612)
#13 pc 000000000025d374 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#14 pc 0000000000263a74 /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
#15 pc 000000000027c5d8 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
#16 pc 00000000004f27b8 /system/lib64/libart.so (MterpInvokeVirtualQuick+680)
#17 pc 00000000004fd514 /system/lib64/libart.so (ExecuteMterpImpl+29972)
#18 pc 000000000025d374 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
#19 pc 00000000004e3514 /system/lib64/libart.so (artQuickToInterpreterBridge+1468)
#20 pc 000000000051121c /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#21 pc 000000000083cf74 /data/app/com.example.test-J16cmsw6mZ2mJRQy0VeYlQ==/oat/arm64/base.odex

Native Crash tgkill+8 for MediaPlayer (Samsung Oreo 8.0)

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.

Crash only in Android8.0/7.0/7.1/6.0, due to libc.so (tgkill+12/abort+63)

I've searched on Google many times but did not find a way to locate the error code.
I'm seeing this native crash with the following stack trace.
Android 8.0
pid: 0, tid: 0 >>> package name <<<
Case 1
backtrace:
#00 pc 000000000004b10c /system/lib/libc.so (tgkill+12)
#01 pc 000000000001a9a3 /system/lib/libc.so (abort+54)
#02 pc 0000000000006849 /system/lib/liblog.so (__android_log_assert+152)
#03 pc 00000000000c72b7 /system/lib/libandroid_runtime.so (_ZN7android6bitmap8toBitmapEP7_JNIEnvP8_jobject+34)
#04 pc 00000000000d8003 /system/lib/libandroid_runtime.so (_ZL24BitmapShader_constructorP7_JNIEnvP8_jobjectxS2_ii+38)
#05 pc 0000000000a43c1b /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.nativeCreate [DEDUPED]+146)
#06 pc 0000000000a43d5d /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.createNativeInstance+68)
#07 pc 0000000000a436d5 /system/framework/arm/boot-framework.oat (android.graphics.Shader.getNativeInstance+100)
#08 pc 0000000000a5fcb5 /system/framework/arm/boot-framework.oat (android.graphics.Paint.getNativeInstance+68)
#09 pc 000000000110ed69 /system/framework/arm/boot-framework.oat (android.view.RecordingCanvas.drawCircle+64)
#10 pc 000000000001abf1 /dev/ashmem/dalvik-jit-code-cache (deleted)
Case 2
backtrace:
#00 pc 000000000004add4 /system/lib/libc.so (tgkill+12)
#01 pc 000000000001a6c3 /system/lib/libc.so (abort+54)
#02 pc 00000000000065f9 /system/lib/liblog.so (__android_log_assert+152)
#03 pc 00000000000c711f /system/lib/libandroid_runtime.so (_ZN7android6bitmap8toBitmapEP7_JNIEnvP8_jobject+34)
#04 pc 00000000000d7ec3 /system/lib/libandroid_runtime.so (_ZL24BitmapShader_constructorP7_JNIEnvP8_jobjectxS2_ii+38)
#05 pc 0000000000a15103 /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.nativeCreate [DEDUPED]+146)
#06 pc 0000000000a15245 /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.createNativeInstance+68)
#07 pc 0000000000a14bbd /system/framework/arm/boot-framework.oat (android.graphics.Shader.getNativeInstance+100)
#08 pc 0000000000a3115d /system/framework/arm/boot-framework.oat (android.graphics.Paint.getNativeInstance+68)
#09 pc 0000000000a173e7 /system/framework/arm/boot-framework.oat (android.graphics.Canvas.drawCircle+126)
#10 pc 0000000000023d49 /dev/ashmem/dalvik-jit-code-cache (deleted)
Case 3
backtrace:
#00 pc 000000000001a39a /system/lib/libc.so (abort+63)
#01 pc 000000000000655d /system/lib/liblog.so (__android_log_assert+156)
#02 pc 00000000000c125b /system/lib/libandroid_runtime.so (android::bitmap::toBitmap(_JNIEnv*, _jobject*)+34)
#03 pc 00000000000d19b5 /system/lib/libandroid_runtime.so (BitmapShader_constructor(_JNIEnv*, _jobject*, long long, _jobject*, int, int)+32)
#04 pc 00000000009da043 /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.nativeCreate [DEDUPED]+146)
#05 pc 00000000009da173 /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.createNativeInstance+66)
#06 pc 00000000009d9bb3 /system/framework/arm/boot-framework.oat (android.graphics.Shader.getNativeInstance+98)
#07 pc 00000000009f497f /system/framework/arm/boot-framework.oat (android.graphics.Paint.getNativeInstance+70)
#08 pc 0000000000ff3d51 /system/framework/arm/boot-framework.oat (android.view.RecordingCanvas.drawCircle+64)
#09 pc 0000000000001e4d /dev/ashmem/dalvik-jit-code-cache (deleted)
Android7.0/7.1
Case 1
backtrace:
#00 pc 000000000004a230 /system/lib/libc.so (tgkill+12)
#01 pc 00000000000479c3 /system/lib/libc.so (pthread_kill+34)
#02 pc 000000000001d9c5 /system/lib/libc.so (raise+10)
#03 pc 0000000000019511 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 0000000000017150 /system/lib/libc.so (abort+4)
#05 pc 000000000000c687 /system/lib/libcutils.so (__android_log_assert+114)
#06 pc 00000000000a424b /system/lib/libandroid_runtime.so (_ZN7android6Bitmap15pinPixelsLockedEv+54)
#07 pc 00000000000a4283 /system/lib/libandroid_runtime.so (_ZN7android6Bitmap17refPixelRefLockedEv+34)
#08 pc 00000000000a43b9 /system/lib/libandroid_runtime.so (_ZN7android6Bitmap11getSkBitmapEP8SkBitmap+32)
#09 pc 00000000000ad57b /system/lib/libandroid_runtime.so
#10 pc 00000000021f0407 /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.nativeCreate+114)
#11 pc 00000000021f0349 /system/framework/arm/boot-framework.oat (android.graphics.BitmapShader.<init>+124)
#12 pc 00000000000002a1 /dev/ashmem/dalvik-jit-code-cache_8544_8544 (deleted)
Case 2
backtrace:
#00 pc 000000000004a720 /system/lib/libc.so (tgkill+12)
#01 pc 0000000000047eb3 /system/lib/libc.so (pthread_kill+34)
#02 pc 000000000001d955 /system/lib/libc.so (raise+10)
#03 pc 00000000000194a1 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 00000000000170e4 /system/lib/libc.so (abort+4)
#05 pc 000000000000d6af /vendor/lib/libcutils.so (__android_log_assert+114)
#06 pc 00000000000a603f /system/lib/libandroid_runtime.so (_ZN7android6Bitmap15pinPixelsLockedEv+54)
#07 pc 00000000000a6077 /system/lib/libandroid_runtime.so (_ZN7android6Bitmap17refPixelRefLockedEv+34)
#08 pc 00000000000a61a5 /system/lib/libandroid_runtime.so (_ZN7android6Bitmap11getSkBitmapEP8SkBitmap+48)
#09 pc 00000000000b1237 /system/lib/libandroid_runtime.so
#10 pc 0000000074d013d7 /data/dalvik-cache/arm/system#framework#boot-framework.oat
Android 6.0
backtrace:
#00 pc 000000000004323c /system/lib/libc.so (tgkill+12)
#01 pc 0000000000041e45 /system/lib/libc.so (pthread_kill+32)
#02 pc 000000000001bb53 /system/lib/libc.so (raise+10)
#03 pc 0000000000018db1 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 000000000001696c /system/lib/libc.so (abort+4)
#05 pc 00000000000091cb /system/lib/libcutils.so (__android_log_assert+86)
#06 pc 0000000000090fdf /system/lib/libandroid_runtime.so (_ZNK7android6Bitmap11assertValidEv+18)
#07 pc 000000000009105b /system/lib/libandroid_runtime.so (_ZN7android6Bitmap11getSkBitmapEP8SkBitmap+6)
#08 pc 000000000009a17b /system/lib/libandroid_runtime.so
#09 pc 000000007269b57f /data/dalvik-cache/arm/system#framework#boot.oat
Here's a list of devices that are effected:
1.According to Android Vitals statistics, This mainly happens in Android 8.0.A few parts occur on Android 7 & 7.1.

Marshmallow crash in tgkill

This crash just occurs on Android API 23 or version 6.0, and I don't have any idea how to fix this issue?
Here's the crash report :
#00 pc 000000000006ab74 /system/lib64/libc.so (tgkill+8)
#01 pc 0000000000068304 /system/lib64/libc.so (pthread_kill+68)
#02 pc 00000000000212f8 /system/lib64/libc.so (raise+28)
#03 pc 000000000001ba98 /system/lib64/libc.so (abort+60)
#04 pc 0000000000435798 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+324)
#05 pc 0000000000139264 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+3136)
#06 pc 00000000003109cc /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+2084)
#07 pc 0000000000310f68 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+224)
#08 pc 0000000000351ca4 /system/lib64/libart.so (_ZN3art3JNI15CallVoidMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+616)
#09 pc 00000000000963cc /system/lib64/libandroid_runtime.so
#10 pc 0000000073b78ba4 /data/dalvik-cache/arm64/system#framework#boot.oat
It happened when using support library 26.x.x , Any help will be much appreciated.

Categories

Resources