question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Failed to dispatch window animation state change" crash occasionally on Android

See original GitHub issue

This is tough to reproduce, I haven’t noticed any patterns that lead to the crash but I see it at least once a day. @jesseruder pointed out that it might be an Android bug and not necessarily related to react-native. Similar crash report here: https://github.com/facebook/react-native/issues/6760

Has anyone seen this on FB apps? cc @mkonicek

04-22 15:01:56.737  4821  4858 W WindowAnimator: Failed to dispatch window animation state change.
04-22 15:01:56.737  4821  4858 W WindowAnimator: android.os.DeadObjectException
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.os.BinderProxy.transactNative(Native Method)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.os.BinderProxy.transact(Binder.java:503)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.view.Choreographer.doCallbacks(Choreographer.java:670)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.view.Choreographer.doFrame(Choreographer.java:603)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.os.Handler.handleCallback(Handler.java:739)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.os.Handler.dispatchMessage(Handler.java:95)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.os.Looper.loop(Looper.java:148)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at android.os.HandlerThread.run(HandlerThread.java:61)
04-22 15:01:56.737  4821  4858 W WindowAnimator:     at com.android.server.ServiceThread.run(ServiceThread.java:46)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:12
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jevakalliocommented, Oct 18, 2016

Seeing this issue a lot in conjunction with react-native-svg in Victory Native, react-native 0.35.

We have a reproducible case in https://github.com/FormidableLabs/victory-uiexplorer-native - just run the app in Genymotion or Android stock emulator, navigate to VictoryArea chart and toggle between datasets until app crashes.

0reactions
hramoscommented, Jul 16, 2018

If this is still happening to anyone, please submit a new issue with more information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 6.0 Marshmallow : Weird error with fragment animation
I got this exception and same problem Failed to dispatch window animation state change.android.os.DeadObjectException .
Read more >
Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >
Fixed issues in InDesign - Adobe Support
InDesign crashes while adjusting the font axes in TT Octosquares Variable Font. CEPHtmlEngine Helper can prompt frequent crashes in InDesign.
Read more >
Spotify crashes when watching spotify wrapped - Reddit
Removing animations did not fix it. What fixed it is the following for Android: In Dev Mode, change Window animation scale + Transition...
Read more >
My app crash randomly after a short period on release build ...
The stacktrace should be under tag Android Runtime/or CRASH if the app is really crashing, try disabling filtering by tag, and leave only ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found