Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Input dispatching timed out ANR
Started by fkilius Dec 18 2018 05:23 AM

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

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Enthusiast

  • 31 posts
  • Corona SDK

Hy there, we are trying to clean all crashes and ANR and we found some ANR, all have the same error title in play developer console, but the details are different on each one.

The error message is:

 

Input dispatching timed out (Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it. Outbound queue length: 0. Wait queue length: 2.)

 

The wait length is diferent across the errors.

 

Here are the details of some of the errors:

https://pastebin.com/gpHmfwv4

https://pastebin.com/7h2umqQU

https://pastebin.com/HEQeykmf

 

Is this problem in my code or a normal behavior?

Thanks

Input dispatching timed out (Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it. Outbound queue length: 0. Wait queue length: 2.)



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,154 posts
  • Corona SDK

What version of Corona are you using to build these apps?

 

Thanks

Rob



[TOPIC: post.html]
#3

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Enthusiast

  • 31 posts
  • Corona SDK

Hello Rob, we are using 2018.3350

Regards



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,154 posts
  • Corona SDK

We have produced nearly 100 daily builds since 3350. I don't know how many Google ANR/Crash fixes we've made since 3350, but it would be useful to update to a later daily build and see if we've already addressed this.

 

It would also be helpful to see your build.settings to see what plugins you're using.

 

Rob



[TOPIC: post.html]
#5

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Enthusiast

  • 31 posts
  • Corona SDK

Ok, rob, we will try to release an update using the latest daily build available and lets see whats happen.

This is our build.settins file:

https://pastebin.com/Xu7tV0rH

Regards



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,154 posts
  • Corona SDK

Let us know the results. I don't see anything alerting in your plugins.

 

Rob



[TOPIC: post.html]
#7

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 1,947 posts
  • Corona SDK

Input dispatching timed out is ALWAYS because of ads. if a new daily build will help is doubtful (unless you remove admob).

 

do share your results though



[TOPIC: post.html]
#8

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Enthusiast

  • 31 posts
  • Corona SDK

Hey guys, bad news. We released a new version using 2018.3452 but the problem still there.

We have a lot of ANR reports, here are some of the latest reports.

 

https://pastebin.com/hpCKeN3p

https://pastebin.com/q9AGSZue

https://pastebin.com/T0tsL2rd

https://pastebin.com/qKKDpSgb

 

Is there anything that i can do to resolve this ANR?

Thanks.



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,154 posts
  • Corona SDK

What plugins are you using?

 

Can you post your current build.settings?

 

Thanks

Rob



[TOPIC: post.html]
#10

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Enthusiast

  • 31 posts
  • Corona SDK

Hy Rob, is the same that i posted before. Here is the build settings:

https://pastebin.com/Xu7tV0rH



[TOPIC: post.html]
#11

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Enthusiast

  • 31 posts
  • Corona SDK

Hello to everyone, any idea in this issue. We still having the same ANRs. SGS said that this ANRs are caused by ads, this is the way that we use them:

 

-We are using only interstitial ads by admob.

-We are handling scene:create event, in "did" phase we call admob.show( "interstitial" ).

-When the intersticial is closed then we load a new one to use in the next screen.

-Sometimes when the user finish the level and play it again we do not change the scene, just reload it with new parameters. In that case we are calling to admob.show( "interstitial" ).

 

Is this correct or may be you know a better way? It looks pretty simple to me and i not seeing how can this code generate an ANR.

Thanks!



[TOPIC: post.html]
#12

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 1,947 posts
  • Corona SDK

I updated Vungle to their latest build and while crashes are greatly reduced, ANRS have more than doubled.

 

Quite why an ad can't play without issues is beyond me!



[TOPIC: post.html]
#13

sanctempdyra

[GLOBAL: userInfoPane.html]
sanctempdyra
  • Observer

  • 5 posts
  • Corona SDK

How to make it quick like onClick implementation??

vidmate




[topic_controls]
[/topic_controls]