Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Lots of ANR errors (act=android.intent.action.SCREEN_OFF flg=0x50200010 (has extras))
Started by admin-gt Jan 12 2019 11:23 AM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

admin-gt

[GLOBAL: userInfoPane.html]
admin-gt
  • Observer

  • 12 posts
  • Corona SDK

Hello, we need help in dealing with ANR errors.

 
We can not fit into the limit recommended by Google. Here are the most common errors. We can not find the reason for their appearance.
 
Снимок экрана 2019-01-12 в 22.08.09.png

 

 
Errors are stored on the latest Version 2019.3458, and we do not use any ads plugins such as admob. Maybe someone had similar errors?
 
 
Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 (has extras) }

 

"GLThread 7864" prio=5 tid=12 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x135007c8 self=0xdcd3d200 | sysTid=13485 nice=0 cgrp=default sched=0/0 handle=0xceb03970 | state=S schedstat=( 52239949209 2125689385 18884 ) utm=4838 stm=385 core=1 HZ=100 | stack=0xcea01000-0xcea03000 stackSize=1038KB | held mutexes=

 
#00 pc 000000000004a6a8 /system/lib/libc.so (__ppoll+20)
 
#01 pc 0000000000020ac1 /system/lib/libc.so (poll+48)
 
#02 pc 000000000015b40c /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/libcorona.so (???)
 
#03 pc 0000000000157aac /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/libcorona.so (???)
 
#04 pc 0000000000159e18 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/libcorona.so (???)
 
#05 pc 000000000000cc1c /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/liblua.so (???)
 
#06 pc 000000000001ce30 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/liblua.so (???)
 
#07 pc 000000000000d068 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/liblua.so (???)
 
#08 pc 000000000000c374 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/liblua.so (???)
 
#09 pc 000000000000d1e0 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/liblua.so (???)
 
#10 pc 00000000000055b8 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/liblua.so (lua_pcall+88)
 
#11 pc 0000000000005ac0 /data/app/ru.appscraft.worldwar2-51NNDXSUkmTEGrPJc43f4g==/lib/arm/libjnlua5.1.so (Java_com_naef_jnlua_LuaState_lua_1pcall+180)
 
#12 pc 00000000003e0d29 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
 
#13 pc 00000000003dcfe1 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
 
#14 pc 00000000003e1555 /system/lib/libart.so (art_quick_invoke_stub+228)
 
#15 pc 00000000000ac685 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+140)
 
#16 pc 00000000001f2287 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+238)
 
#17 pc 00000000001ed837 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+574)
 
#18 pc 00000000003c7db1 /system/lib/libart.so (MterpInvokeDirect+360)
 
#19 pc 00000000003cf394 /system/lib/libart.so (ExecuteMterpImpl+14484)
 
#20 pc 00000000001d4db9 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
 
#21 pc 00000000001da13b /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
 
#22 pc 00000000001ed821 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
 
#23 pc 00000000003c6efb /system/lib/libart.so (MterpInvokeVirtual+446)
 
#24 pc 00000000003cf294 /system/lib/libart.so (ExecuteMterpImpl+14228)
 
#25 pc 00000000001d4db9 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
 
#26 pc 00000000001da13b /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
 
#27 pc 00000000001ed821 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
 
#28 pc 00000000003c7fad /system/lib/libart.so (MterpInvokeStatic+324)
 
#29 pc 00000000003cf414 /system/lib/libart.so (ExecuteMterpImpl+14612)
 
#30 pc 00000000001d4db9 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
 
#31 pc 00000000001da089 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
 
#32 pc 00000000003bd635 /system/lib/libart.so (artQuickToInterpreterBridge+960)
 
#33 pc 00000000003e0da1 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
 
#34 pc 000000000000aaa9 /dev/ashmem/dalvik-jit-code-cache_13402_13402 (deleted) (???)
 
at com.naef.jnlua.LuaState.lua_pcall (Native method)
 
at com.naef.jnlua.LuaState.call (unavailable)
- locked <0x07e20467> (a com.naef.jnlua.LuaState)
 
at com.ansca.corona.CoronaLua.dispatchEvent (CoronaLua.java:138)
 
at network.NetworkRequest$LuaCallback$1.executeUsing (NetworkRequest.java:612)
 
at com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send (CoronaRuntimeTaskDispatcher.java:170)
 
at com.ansca.corona.events.EventManager.sendEvents (EventManager.java:91)
 
at com.ansca.corona.Controller.updateRuntimeState (Controller.java:318)
- locked <0x04c5b7d0> (a com.ansca.corona.Controller)
 
at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame (CoronaGLSurfaceView.java:425)
 
at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1625)
 
at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1380)

 

 

Attached Files



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Contributor

  • 920 posts
  • Corona SDK

How are you checking that the app is connected to the network? Usually, when I see this ANR it is related to network availability check. But I am not an expert. This is just a guess.



[TOPIC: post.html]
#3

admin-gt

[GLOBAL: userInfoPane.html]
admin-gt
  • Observer

  • 12 posts
  • Corona SDK

How are you checking that the app is connected to the network? Usually, when I see this ANR it is related to network availability check. But I am not an expert. This is just a guess.

 

Thanks for the answer, but unfortunately we do not use the network availability check.

at com.ansca.corona.Controller.stop (Controller.java:298)
- waiting to lock <0x0b364ff6> (a com.ansca.corona.Controller) held by thread 12
  at com.ansca.corona.CoronaActivity.requestSuspendCoronaRuntime (CoronaActivity.java:2031)
  at com.ansca.corona.CoronaActivity.onPause (CoronaActivity.java:1854)

Perhaps the error is associated with an incorrect exit from the Suspend mode. And this we can not control!




[topic_controls]
[/topic_controls]