What is Number after symbol in Android Tombstone backtrace? - android

I was reading Tombstone in Android which have backtrace
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Android/aosp_angler/angler:7.1.1/NYC/enh12211018:eng/test-keys'
Revision: '0'
ABI: 'arm'
pid: 17946, tid: 17949, name: crasher >>> crasher <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc
r0 0000000c r1 00000000 r2 00000000 r3 00000000
r4 00000000 r5 0000000c r6 eccdd920 r7 00000078
r8 0000461a r9 ffc78c19 sl ab209441 fp fffff924
ip ed01b834 sp eccdd800 lr ecfa9a1f pc ecfd693e cpsr 600e0030
backtrace:
#00 pc 0004793e /system/lib/libc.so (pthread_mutex_lock+1)
#01 pc 0001aa1b /system/lib/libc.so (readdir+10)
#02 pc 00001b91 /system/xbin/crasher (readdir_null+20)
#03 pc 0000184b /system/xbin/crasher (do_action+978)
#04 pc 00001459 /system/xbin/crasher (thread_callback+24)
#05 pc 00047317 /system/lib/libc.so (_ZL15__pthread_startPv+22)
#06 pc 0001a7e5 /system/lib/libc.so (__start_thread+34)
Tombstone written to: /data/tombstones/tombstone_06
But I am confused what does pthread_mutex_lock+1 and readdir+10 Number after function symbol means?
Source - https://source.android.com/devices/tech/debug

This is the offset of the code location respective to the start of the function.
As an example, readdir+10 indicates that the call was made from the tenth byte in the readdir function.

Related

App crashing when map is loading and camera is moving to the current location

I'm currently debugging an app where it shows the map and it goes to the current location. When I look at the logs, it only shows this log
08-02 20:40:48.907 12558-12568/ph.com.appsample A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x5c in tid 12568 (FinalizerDaemon)
I tried removing the filtering of the logs and was able to retrieve this log
08-02 20:40:48.967 275-275/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/j53gxx/j53g:5.1.1/LMY48B/J500HXXS1AQG1:'
Revision: '5'
ABI: 'arm'
pid: 12558, tid: 12568, name: FinalizerDaemon >>> ph.com.appsample <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5c
08-02 20:40:48.997 275-275/? I/DEBUG: r0 b7e1e8e0 r1 00000000 r2
9b60f000 r3 00000000
r4 b7e1e8e0 r5 0000005d r6 136959c0 r7 ffffffff
r8 712a9430 r9 b7a6fad0 sl 137295b0 fp 136959c0
ip b6f80fa8 sp b45fca88 lr b6e86be1 pc 0000005c cpsr 60070030
backtrace:
#00 pc 0000005c <unknown>
#01 pc 0001fbdf /system/lib/libbinder.so (_ZN7android6Parcel14freeDataNoInitEv+22)
#02 pc 0001fc39 /system/lib/libbinder.so (_ZN7android6ParcelD1Ev+4)
#03 pc 00083cbf /system/lib/libandroid_runtime.so
#04 pc 00017f45 /system/framework/arm/boot.oat
Is there anyway I can make this readable and does someone encounter this problem also?

Android 8 native crash at native library

Since the rollout of Android 8 Oreo, our app has been consistently crashing in different places. All the play store crash reports show native crashes. The most frequently occuring one seems to be at native library.
The most frequent device that crashes is the Google Pixel and Pixel XL have also shown a few.
I ll post the crash log below. I m struggling to find what causes the crash.
Any help is appreciated.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sailfish/sailfish:8.0.0/OPR6.170623.012/4283428:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 9857, tid: 9857, name: stampphoto >>> com.******.***** <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
r0 ea26cec8 r1 00000001 r2 0000007f r3 00000002
r4 000030ca r5 00000000 r6 ff7ed650 r7 ff7ed628
r8 13b40240 r9 00000043 sl ea26b470 fp ff7ed664
ip ea0985d1 sp ff7ed5a8 lr ea168b15 pc ea168b1e cpsr 600b0030
backtrace:
#00 pc 00332b1e /system/lib/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithVarArgsERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDSt9__va_list+89)
#01 pc 00262785 /system/lib/libart.so (_ZN3art3JNI17CallObjectMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+436)
#02 pc 0006398b /data/app/com.a.a-h8bA8DmI-3kJ2bP4GkGvoA==/base.apk (offset 0x3c4000)
#03 pc 0006468b /data/app/com.a.a-h8bA8DmI-3kJ2bP4GkGvoA==/base.apk (offset 0x3c4000)
#04 pc 0006fddf /data/app/com.a.a-h8bA8DmI-3kJ2bP4GkGvoA==/oat/arm/base.odex (offset 0x45000)
Thanks in advance...

Moto X play giving strange error

my app at PlayStore is giving a strange ANR, it's specific to the model and the error doesn't give me clues where is the problem
this is the report at Play Console:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'motorola/lux_retla_ds/lux_uds:6.0/MPD24.65-33.1/1:user/release-keys'
Revision: 'p2c0'
ABI: 'arm'
pid: 9584, tid: 9156, name: Chrome_InProcGp >>> com.leifacil.vademecum <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x301b
r0 b919d5a0 r1 00002fdb r2 0000301b r3 000000c0
r4 ba2a6d88 r5 b428c73c r6 ba2a6db8 r7 0000001b
r8 b91b0128 r9 0000305b sl 0c000000 fp 00000000
ip 00000000 sp 9d434fc8 lr 00000013 pc aa948730 cpsr 000f0030
backtrace:
#00 pc 0014a730 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EsxMemPoolGeneral::ReturnMemory(EsxMemType, EsxTimestamp const*, unsigned int, gsl_memdesc*)+463)
#01 pc 00145325 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EsxGfxMem::Destroy(EsxContext*)+644)
#02 pc 001019e5 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EsxResource::SetGfxMem(EsxContext*, unsigned int, EsxGfxMem*, int)+132)
#03 pc 00101a3f /system/vendor/lib/egl/libESXGLESv2_adreno.so (EsxResource::FreeSubResource(EsxContext*, EsxSubResource*)+30)
#04 pc 00101b05 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EsxResource::SetSubResource(EsxContext*, unsigned int, EsxSubResource*)+36)
#05 pc 00101d03 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EsxResource::Destroy(EsxContext*)+290)
#06 pc 001210f5 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EglImage::Destroy()+20)
#07 pc 0011d88b /system/vendor/lib/egl/libESXGLESv2_adreno.so (EglSurfaceAccess::~EglSurfaceAccess()+10)
#08 pc 0011a161 /system/vendor/lib/egl/libESXGLESv2_adreno.so (EglApi::DestroyImage(void*, void*)+64)
#09 pc 0001440d /system/lib/libEGL.so (eglDestroyImageKHR+44)
#10 pc 0036c93f /data/app/com.google.android.webview-1/lib/arm/libwebviewchromium.so

Android Crash Report - Native crash at /system/lib/libc.so caused by webview

A user with a Galaxy Note4 with Android 5.0 had my app crash yesterday. This was the stack trace.
My app is mostly just a webview wrapper of a website. Is there anything I can do to improve the webview or make it more efficient to prevent the 20 or so crashes I'm getting a week that all have this same stack trace?
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/trlteuc/trlteatt:5.0.1/LRX22C/N910AUCU2COC6:user/release-keys'
Revision: '12'
ABI: 'arm'
pid: 421, tid: 421, name: ****.app >>> org.***********.app <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report
'
r0 00000000 r1 000001a5 r2 00000006 r3 00000000
r4 b6fd3114 r5 00000006 r6 0000000b r7 0000010c
r8 b6fb2e04 r9 be972e14 sl 00000000 fp b3be8ac4
ip 000001a5 sp be972968 lr b6f5cff5 pc b6f7f9fc cpsr 600f0010
backtrace:
#00 pc 000369fc /system/lib/libc.so (tgkill+12)
#01 pc 00013ff1 /system/lib/libc.so (pthread_kill+52)
#02 pc 00014c0f /system/lib/libc.so (raise+10)
#03 pc 00011531 /system/lib/libc.so (__libc_android_abort+36)
#04 pc 0000fcbc /system/lib/libc.so (abort+4)
#05 pc 002b8bf9 /data/app/com.google.android.webview-1/lib/arm/libwebviewchromium.so

Fresh new project for cocos2d-js 3.7 with Facebook plugin crashes in JNI_OnLoad

Fresh new project for cocos2d-js 3.7 with Facebook plugin crashes in JNI_OnLoad
Any hint on what could be wrong?
I've started with fresh project which runs OK and then integrated the FB plugin manualy based on: https://github.com/chukong/cocos-docs/blob/master/manual/framework/html5/jsb/plugin-x/how-to-use-plugin-x-on-android/en.md
D/JniHelper( 7432): JniHelper::setJavaVM(0xb515c280), pthread_self() = -1224978744
--------- beginning of crash
F/libc ( 7432): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 7432 (li.android.free)
I/DEBUG ( 240): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 240): Build fingerprint: 'oneplus/bacon/A0001:5.0.2/LRX22G/YNG1TAS2I3:user/release-keys'
I/DEBUG ( 240): Revision: '0'
I/DEBUG ( 240): ABI: 'arm'
I/DEBUG ( 240): pid: 7432, tid: 7432, name: li.android.free >>> cz.volten.brili.android.free <<<
I/DEBUG ( 240): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 240): r0 b5151240 r1 03ffffff r2 00000001 r3 b5151240
I/DEBUG ( 240): r4 00000043 r5 b5118228 r6 a18ad984 r7 00000000
I/DEBUG ( 240): r8 b5107800 r9 b50fcc7c sl beb3be48 fp beb3bc74
I/DEBUG ( 240): ip a306db2c sp beb3bc68 lr a18ad9b0 pc 00000000 cpsr 60010010
I/DEBUG ( 240):
I/DEBUG ( 240): backtrace:
I/DEBUG ( 240): #00 pc 00000000 <unknown>
I/DEBUG ( 240): #01 pc 00dc49ac /data/app/cz.volten.brili.android.free-1/lib/arm/libcocos2djs.so (JNI_OnLoad+40)
I/DEBUG ( 240): #02 pc 001ceecf /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1478)
I/DEBUG ( 240): #03 pc 001f4b8d /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+548)
I/DEBUG ( 240): #04 pc 000777f9 /data/dalvik-cache/arm/system#framework#boot.oat
I/DEBUG ( 240):
I/DEBUG ( 240): Tombstone written to: /data/tombstones/tombstone_01
W/li.android.free( 7432): type=1701 audit(0.0:173): auid=4294967295 uid=10332 gid=10332 ses=4294967295 subj=u:r:untrusted_app:s0 reason="memory violation" sig=11
In main.cpp:
wrong code (3.5 way):
void cocos_android_app_init (JNIEnv* env, jobject thiz) {
valid code (3.7 way):
void cocos_android_app_init (JNIEnv* env) {

Categories

Resources