Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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: 2. Wait queue head age: 12780.0ms.) #16051

Closed
michelebombardi opened this issue Sep 21, 2017 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@michelebombardi
Copy link

Is this a bug report?

YES

Have you read the Contributing Guidelines?

YES

Environment

Environment:
OS: not important
Node: 7.8.0
Yarn: 1.0.2
npm: 4.6.1
Watchman: none
Xcode: not important
Android Studio: not important

Packages: (wanted => installed)
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"date-fns": "^1.28.5",
"fetchival": "^0.3.2",
"firebase": "^4.3.1",
"moment": "^2.18.1",
"native-base": "^2.3.2",
"node-fetch": "^1.7.1",
"prop-types": "^15.5.10",
"react": "16.0.0-alpha.12",
"react-moment": "^0.6.0",
"react-native": "0.48.3",
"react-native-loading-spinner-overlay": "^0.5.1",
"react-native-modalbox": "^1.4.1",
"react-native-vector-icons": "^4.3.0",
"react-native-version-number": "^0.1.3",
"react-navigation": "^1.0.0-beta.11",
"react-redux": "^5.0.5",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-persist": "^4.8.2",
"redux-persist-transform-filter": "^0.0.15",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"rxjs": "^5.4.2"

Target Platform: Android 8.0

Actual Behavior

On production environment the app sometimes crash with the following error:

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: 2. Wait queue head age: 12780.0ms.)
@hramos
Copy link
Contributor

hramos commented Sep 21, 2017

Thanks for opening the issue! It does not appear like a community member will be able to reliably reproduce this issue. This may be for several reasons; perhaps it affects a particular app but a minimal repro has not been provided, or the issue may be sporadic. As it happens, we need a concrete set of steps that can demonstrably reproduce the issue as this will allow your fellow community members to validate a fix. We'll close the issue for now, but feel free to submit a new issue once you're able to reliably reproduce the issue locally. Thanks for your understanding!

@hramos hramos closed this as completed Sep 21, 2017
@marudy
Copy link

marudy commented Jan 28, 2018

I also get the same ANR in production and not during my tests. @hramos any idea how to trace from this the root cause of the problem? Thanks

@Nitijkatiyar
Copy link

It might be due to any long operation being performed on the UI thread, which is not good.
this might be block the UI thread for further computation,
All the long operations must be perform on the background thread.
This also depends on the Devices, some devices does not show this issue while performing long operation in UI thread, but doing this in background thread is recommended.

Hope it helps.

@facebook facebook locked as resolved and limited conversation to collaborators Sep 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants