Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

ANR spike on 3340 build
Started by MartingK Aug 14 2018 07:40 AM

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

MartingK

[GLOBAL: userInfoPane.html]
MartingK
  • Enthusiast

  • 56 posts
  • Corona SDK

released with build 3340 ( update from old version )

ANR rate jumped to 10% ... provided messages:

Context.startForegroundService() did not then call Service.startForeground()

Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{com.ansca.corona.CoronaService}
affects on 8.0 and 8.1 devices


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,853 posts
  • Corona Staff

Can you use pastebin.com or similar and share a link to the full stack trace for these?

 

Rob



[TOPIC: post.html]
#3

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 1,878 posts
  • Corona SDK

I've got the same issue.... Paste bins are on slack Rob.



[TOPIC: post.html]
#4

MartingK

[GLOBAL: userInfoPane.html]
MartingK
  • Enthusiast

  • 56 posts
  • Corona SDK

SGS, that's unfortunate. It's 10% ANR rate ... which is crazy high



[TOPIC: post.html]
#5

joeversh

[GLOBAL: userInfoPane.html]
joeversh
  • Observer

  • 24 posts
  • Corona SDK

Rob,
 
I'm going through the same problem. See if you can help, please.

 

https://pastebin.com/6bJAsQNP



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,853 posts
  • Corona Staff

Sharing with Engineering. Thanks for the pastebin!

 

Rob



[TOPIC: post.html]
#7

MartingK

[GLOBAL: userInfoPane.html]
MartingK
  • Enthusiast

  • 56 posts
  • Corona SDK

 

Rob,
 
I'm going through the same problem. See if you can help, please.

 

https://pastebin.com/6bJAsQNP

 

 

joeversh, what build are you using ?

 

I want to use latest build before those crashes were introduced .



[TOPIC: post.html]
#8

dmglakewood

[GLOBAL: userInfoPane.html]
dmglakewood
  • Contributor

  • 392 posts
  • Corona SDK

I just checked my ANRs and I'm noticing the same thing. I'm on build 2018.3346 for what it's worth.



[TOPIC: post.html]
#9

joeversh

[GLOBAL: userInfoPane.html]
joeversh
  • Observer

  • 24 posts
  • Corona SDK

@MartingK,

 

My latest version is using 2018.3344.

 

@Rob,

 

Any news on the subject? Do we have any forecast of correction? Thanks in advance for your help and partnership!



[TOPIC: post.html]
#10

MartingK

[GLOBAL: userInfoPane.html]
MartingK
  • Enthusiast

  • 56 posts
  • Corona SDK

Trying to know what's the most recent version without those crashes ?



[TOPIC: post.html]
#11

tony leung

[GLOBAL: userInfoPane.html]
tony leung
  • Enthusiast

  • 46 posts
  • Corona SDK

any update on this,

for me game crashes jumped by 90% for Android 8.1!!

From Google-play:
Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{47e1ace u0 /com.ansca.corona.CoronaService}

 

 

seems there is breaking change in Android 8.0 please check this:
https://stackoverflow.com/questions/44425584/context-startforegroundservice-did-not-then-call-service-startforeground
 

"btw" for Android 7.0 I see also many new crashes with these:
Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 7. Wait queue head age: 5547.8ms.)
 

 

 

More log:

"main" tid=1 Native
"main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x73ebc4d8 self=0xf2a7d000 | sysTid=23718 nice=0 cgrp=default sched=0/0 handle=0xf70db4bc | state=S schedstat=( 244247612 197591585 413 ) utm=10 stm=14 core=1 HZ=100 | stack=0xff103000-0xff105000 stackSize=8MB | held mutexes=
#00 pc 0000000000049e58 /system/lib/libc.so (__epoll_pwait+20)
#01 pc 000000000001b6f1 /system/lib/libc.so (epoll_pwait+60)
#02 pc 000000000001b721 /system/lib/libc.so (epoll_wait+12)
#03 pc 0000000000010337 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)
#04 pc 0000000000010229 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+32)
#05 pc 00000000000e267d /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+24)
#06 pc 00000000001a8eb5 /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+92)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:325)
at android.os.Looper.loop (Looper.java:142)
at android.app.ActivityThread.main (ActivityThread.java:6938)

 

 

 

 

 

 

more logs:

"main" tid=1 Native
"main" prio=5 tid=1 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x73ebc4d8 self=0xf2a7d000 | sysTid=23718 nice=0 cgrp=default sched=0/0 handle=0xf70db4bc | state=S schedstat=( 244247612 197591585 413 ) utm=10 stm=14 core=1 HZ=100 | stack=0xff103000-0xff105000 stackSize=8MB | held mutexes=
#00 pc 0000000000049e58 /system/lib/libc.so (__epoll_pwait+20)
#01 pc 000000000001b6f1 /system/lib/libc.so (epoll_pwait+60)
#02 pc 000000000001b721 /system/lib/libc.so (epoll_wait+12)
#03 pc 0000000000010337 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118)
#04 pc 0000000000010229 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+32)
#05 pc 00000000000e267d /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+24)
#06 pc 00000000001a8eb5 /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+92)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:325)
at android.os.Looper.loop (Looper.java:142)
at android.app.ActivityThread.main (ActivityThread.java:6938)

  • shvager1 likes this


[topic_controls]
[/topic_controls]