Android crash due to ArrayIndexOutOfBoundsException in Pool of DynamicFromMap #19141
Closed
2 of 3 tasks
Labels
Platform: Android
Android applications.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
I getting this exception every now and then in an Android production App. I have not been able to find a systematic way to reproduce it, but It always occurs while setting some style property of a View. For instance:
By inspecting the code it seems like the object pool in
com.facebook.react.bridge.DynamicFromMap
is accessed from multiple treads leading to its internal variablemPoolSize
become-1
inandroid.support.v4.util.Pool
The exception is the following:
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.49.3 => 0.49.3
The text was updated successfully, but these errors were encountered: