Post by fnllc on Nov 20, 2017 11:29:51 GMT
Does anyone have experience debugging Android ANRs? The Google Play Dev Console reports a fair amount of them, but I'm unable to reproduce on my end:
I compiled it using:
- Android SDK 7.1.1 (minSDK 23, targetSDK 18)
- Android NDK 14b
- Java JDK 8v151
Crash message:
"main" tid=1 Native
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x763002e0 self=0xe7c05900
| sysTid=16502 nice=-10 cgrp=default sched=0/0 handle=0xeb076534
| state=S schedstat=( 13064649852 2229136465 24244 ) utm=866 stm=440 core=0 HZ=100
| stack=0xff6d5000-0xff6d7000 stackSize=8MB
| held mutexes=
#00 pc 0000000000049da4 /system/lib/libc.so (__pselect6+20)
#01 pc 000000000001d93f /system/lib/libc.so (select+58)
#02 pc 0000000000559b0c /data/app/com.myapp.myapp-1/lib/arm/librhodes.so (_ZN3rho3net14CURLNetRequest10CURLHolder7performEv+420)
at com.rhomobile.rhodes.RhodesService.callUiDestroyedCallback (Native method)
at com.rhomobile.rhodes.RhodesApplication$1.run (RhodesApplication.java:140)
at com.rhomobile.rhodes.RhodesApplication.runHandlers (RhodesApplication.java:385)
at com.rhomobile.rhodes.RhodesApplication.access$700 (RhodesApplication.java:96)
at com.rhomobile.rhodes.RhodesApplication$UiState.handleState (RhodesApplication.java:574)
at com.rhomobile.rhodes.RhodesApplication.stateChanged (RhodesApplication.java:637)
- locked <0x081222dd> (a java.lang.Class<com.rhomobile.rhodes.RhodesApplication$UiState>)
at com.rhomobile.rhodes.RhodesActivity.onPause (RhodesActivity.java:478)
at android.app.Activity.performPause (Activity.java:7146)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1330)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4168)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4145)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4119)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4093)
at android.app.ActivityThread.-wrap18 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1654)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke! (Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)
I compiled it using:
- Android SDK 7.1.1 (minSDK 23, targetSDK 18)
- Android NDK 14b
- Java JDK 8v151
Crash message:
"main" tid=1 Native
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x763002e0 self=0xe7c05900
| sysTid=16502 nice=-10 cgrp=default sched=0/0 handle=0xeb076534
| state=S schedstat=( 13064649852 2229136465 24244 ) utm=866 stm=440 core=0 HZ=100
| stack=0xff6d5000-0xff6d7000 stackSize=8MB
| held mutexes=
#00 pc 0000000000049da4 /system/lib/libc.so (__pselect6+20)
#01 pc 000000000001d93f /system/lib/libc.so (select+58)
#02 pc 0000000000559b0c /data/app/com.myapp.myapp-1/lib/arm/librhodes.so (_ZN3rho3net14CURLNetRequest10CURLHolder7performEv+420)
at com.rhomobile.rhodes.RhodesService.callUiDestroyedCallback (Native method)
at com.rhomobile.rhodes.RhodesApplication$1.run (RhodesApplication.java:140)
at com.rhomobile.rhodes.RhodesApplication.runHandlers (RhodesApplication.java:385)
at com.rhomobile.rhodes.RhodesApplication.access$700 (RhodesApplication.java:96)
at com.rhomobile.rhodes.RhodesApplication$UiState.handleState (RhodesApplication.java:574)
at com.rhomobile.rhodes.RhodesApplication.stateChanged (RhodesApplication.java:637)
- locked <0x081222dd> (a java.lang.Class<com.rhomobile.rhodes.RhodesApplication$UiState>)
at com.rhomobile.rhodes.RhodesActivity.onPause (RhodesActivity.java:478)
at android.app.Activity.performPause (Activity.java:7146)
at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1330)
at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4168)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4145)
at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4119)
at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4093)
at android.app.ActivityThread.-wrap18 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1654)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke! (Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)