Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Lots of ANRs (Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x58200010 })
Started by akao Mar 19 2020 10:13 AM

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

akao

[GLOBAL: userInfoPane.html]
akao
  • Contributor

  • 395 posts
  • Corona SDK

Our ANR rate is abysmal - at 0.92% vs the threshold of 0.47%. Looking into it, we see a lot of the above trace. 

 

Here is a trace that I was able to capture. While many of the threads seems to relate to Adjust, when we pinged adjust, they aren't so sure it's related to them SDK. We are using Corona 2019.3549 (2019.11.9). 

 

https://pastebin.com/HnwAC1rY

 

We can really use some help! 

 

 

FYI - I am opening a new thread from this other thread because that one was more crashes, this is ANR. Not sure if related

https://forums.coronalabs.com/topic/77022-lots-of-crashes-due-to-comnaefjnalua/#entry406284



[TOPIC: post.html]
#2

akao

[GLOBAL: userInfoPane.html]
akao
  • Contributor

  • 395 posts
  • Corona SDK

Please also see the discussions happening here on the Adjust SDK Git: 

 

https://github.com/adjust/corona_sdk/issues/13#issuecomment-586516033

 

They seem to think that the issue is with Corona. We are at a loss. @vlad can you help? 

 

Thx!



[TOPIC: post.html]
#3

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,415 posts
  • Corona SDK

So I don't believe yours has anything to do with Adjust. It looks like an issue of playing music while the game is being pushed to the background. My suggestion is to try to stop the music when the game goes to the background. This is mostly a guess by looking at your trace logs.



[TOPIC: post.html]
#4

akao

[GLOBAL: userInfoPane.html]
akao
  • Contributor

  • 395 posts
  • Corona SDK

Thx @agramonte.. So maybe try to pause the audio when the app goes into the background? 



[TOPIC: post.html]
#5

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,415 posts
  • Corona SDK

yes. that would be my suggestion.




[topic_controls]
[/topic_controls]