software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.91k stars 1.3k forks source link

Excessive number of pending callbacks error #654

Closed anmolpandeyy closed 4 years ago

anmolpandeyy commented 4 years ago

Screenshot 2020-03-14 at 7 06 32 PM

I've been getting this excessive pending callback error ever since I've upgraded react-navigation, whenever my application starts I get this error in debug mode. Could anyone shed some light into what would be causing this?

react-native: 0.61.5 react-native-reanimated: ^1.2.0 react-navigation: ^4.0.10, react-navigation-stack: ^2.0.15, react-navigation-tabs: ^2.7.0

juanjsebgarcia commented 4 years ago

Screenshot 2020-04-09 at 15 35 06 I'm the same, my application is rather large so it's hard to pin point excactly whats causing the issue. But they are mostly animated related callbacks. :(

Rohansi commented 4 years ago

Getting the same here with Expo SDK 37. I do have my own Reanimated things in addition to the following packages.

    "react-native-reanimated": "~1.7.0",
    "@react-navigation/bottom-tabs": "^5.2.7",
    "@react-navigation/compat": "^5.1.9",
    "@react-navigation/native": "^5.1.6",
    "@react-navigation/stack": "^5.2.11",
Warning: Please report: Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked by never being called from native code: {"23178":{"module":"ReanimatedModule","method":"getValue"},"23181":{"module":"ReanimatedModule","method":"getValue"},"23318":{"module":"ReanimatedModule","method":"getValue"},"23324":{"module":"ReanimatedModule","method":"getValue"},"23328":{"module":"ReanimatedModule","method":"getValue"},"23445":{"module":"ReanimatedModule","method":"getValue"},"23529":{"module":"ReanimatedModule","method":"getValue"},"23536":{"module":"ReanimatedModule","method":"getValue"},"23546":{"module":"ReanimatedModule","method":"getValue"},"23552":{"module":"ReanimatedModule","method":"getValue"},"23592":{"module":"ReanimatedModule","method":"getValue"},"23595":{"module":"ReanimatedModule","method":"getValue"},"23609":{"module":"ReanimatedModule","method":"getValue"},"23612":{"module":"ReanimatedModule","method":"getValue"},"23637":{"module":"ReanimatedModule","method":"getValue"},"23640":{"module":"ReanimatedModule","method":"getValue"},"23649":{"module":"ReanimatedModule","method":"getValue"},"23655":{"module":"ReanimatedModule","method":"getValue"},"23693":{"module":"ReanimatedModule","method":"getValue"},"23777":{"module":"ReanimatedModule","method":"getValue"},"23784":{"module":"ReanimatedModule","method":"getValue"},"23794":{"module":"ReanimatedModule","method":"getValue"},"23800":{"module":"ReanimatedModule","method":"getValue"},"23806":{"module":"ReanimatedModule","method":"getValue"},"23823":{"module":"ReanimatedModule","method":"getValue"},"23839":{"module":"ReanimatedModule","method":"getValue"},"23875":{"module":"ReanimatedModule","method":"getValue"},"23881":{"module":"ReanimatedModule","method":"getValue"},"23885":{"module":"ReanimatedModule","method":"getValue"},"24002":{"module":"ReanimatedModule","method":"getValue"},"24086":{"module":"ReanimatedModule","method":"getValue"},"24093":{"module":"ReanimatedModule","method":"getValue"},"24103":{"module":"ReanimatedModule","method":"getValue"},"24109":{"module":"ReanimatedModule","method":"getValue"},"24149":{"module":"ReanimatedModule","method":"getValue"},"24152":{"module":"ReanimatedModule","method":"getValue"},"24166":{"module":"ReanimatedModule","method":"getValue"},"24169":{"module":"ReanimatedModule","method":"getValue"},"24194":{"module":"ReanimatedModule","method":"getValue"},"24197":{"module":"ReanimatedModule","method":"getValue"},"24206":{"module":"ReanimatedModule","method":"getValue"},"24212":{"module":"ReanimatedModule","method":"getValue"},"24250":{"module":"ReanimatedModule","method":"getValue"},"24334":{"module":"ReanimatedModule","method":"getValue"},"24341":{"module":"ReanimatedModule","method":"getValue"},"24351":{"module":"ReanimatedModule","method":"getValue"},"24357":{"module":"ReanimatedModule","method":"getValue"},"24363":{"module":"ReanimatedModule","method":"getValue"},"24380":{"module":"ReanimatedModule","method":"getValue"},"24396":{"module":"ReanimatedModule","method":"getValue"},"24705":{"module":"ReanimatedModule","method":"getValue"},"24708":{"module":"ReanimatedModule","method":"getValue"},"24731":{"module":"ReanimatedModule","method":"getValue"},"24734":{"module":"ReanimatedModule","method":"getValue"},"24748":{"module":"ReanimatedModule","method":"getValue"},"24761":{},"24790":{"module":"ReanimatedModule","method":"getValue"},"24793":{"module":"ReanimatedModule","method":"getValue"},"24816":{"module":"ReanimatedModule","method":"getValue"},"24819":{"module":"ReanimatedModule","method":"getValue"},"24833":{"module":"ReanimatedModule","method":"getValue"},"24846":{},"24875":{"module":"ReanimatedModule","method":"getValue"},"24878":{"module":"ReanimatedModule","method":"getValue"},"24930":{},"24933":{"module":"ReanimatedModule","method":"getValue"},"24962":{"module":"ReanimatedModule","method":"getValue"},"24975":{"module":"ReanimatedModule","method":"getValue"},"25024":{"module":"ReanimatedModule","method":"getValue"},"25027":{"module":"ReanimatedModule","method":"getValue"},"25050":{"module":"ReanimatedModule","method":"getValue"},"25053":{"module":"ReanimatedModule","method":"getValue"},"25067":{"module":"ReanimatedModule","method":"getValue"},"25080":{},"25109":{"module":"ReanimatedModule","method":"getValue"},"25112":{"module":"ReanimatedModule","method":"getValue"},"25135":{"module":"ReanimatedModule","method":"getValue"},"25138":{"module":"ReanimatedModule","method":"getValue"},"25152":{"module":"ReanimatedModule","method":"getValue"},"25165":{},"25194":{"module":"ReanimatedModule","method":"getValue"},"25197":{"module":"ReanimatedModule","method":"getValue"},"25249":{},"25252":{"module":"ReanimatedModule","method":"getValue"},"25281":{"module":"ReanimatedModule","method":"getValue"},"25294":{"module":"ReanimatedModule","method":"getValue"},"25343":{"module":"ReanimatedModule","method":"getValue"},"25346":{"module":"ReanimatedModule","method":"getValue"},"25369":{"module":"ReanimatedModule","method":"getValue"},"25372":{"module":"ReanimatedModule","method":"getValue"},"25386":{"module":"ReanimatedModule","method":"getValue"},"25399":{},"25428":{"module":"ReanimatedModule","method":"getValue"},"25431":{"module":"ReanimatedModule","method":"getValue"},"25454":{"module":"ReanimatedModule","method":"getValue"},"25457":{"module":"ReanimatedModule","method":"getValue"},"25471":{"module":"ReanimatedModule","method":"getValue"},"25484":{},"25513":{"module":"ReanimatedModule","method":"getValue"},"25516":{"module":"ReanimatedModule","method":"getValue"},"25568":{},"25571":{"module":"ReanimatedModule","method":"getValue"},"25600":{"module":"ReanimatedModule","method":"getValue"},"25613":{"module":"ReanimatedModule","method":"getValue"},"25662":{"module":"ReanimatedModule","method":"getValue"},"25665":{"module":"ReanimatedModule","method":"getValue"},"25688":{"module":"ReanimatedModule","method":"getValue"},"25691":{"module":"ReanimatedModule","method":"getValue"},"25705":{"module":"ReanimatedModule","method":"getValue"},"25718":{},"25747":{"module":"ReanimatedModule","method":"getValue"},"25750":{"module":"ReanimatedModule","method":"getValue"},"25773":{"module":"ReanimatedModule","method":"getValue"},"25776":{"module":"ReanimatedModule","method":"getValue"},"25790":{"module":"ReanimatedModule","method":"getValue"},"25803":{},"25832":{"module":"ReanimatedModule","method":"getValue"},"25835":{"module":"ReanimatedModule","method":"getValue"},"25887":{},"25890":{"module":"ReanimatedModule","method":"getValue"},"25919":{"module":"ReanimatedModule","method":"getValue"},"25932":{"module":"ReanimatedModule","method":"getValue"},"25981":{"module":"ReanimatedModule","method":"getValue"},"25984":{"module":"ReanimatedModule","method":"getValue"},"26007":{"module":"ReanimatedModule","method":"getValue"},"26010":{"module":"ReanimatedModule","method":"getValue"},"26024":{"module":"ReanimatedModule","method":"getValue"},"26037":{},"26066":{"module":"ReanimatedModule","method":"getValue"},"26069":{"module":"ReanimatedModule","method":"getValue"},"26092":{"module":"ReanimatedModule","method":"getValue"},"26095":{"module":"ReanimatedModule","method":"getValue"},"26109":{"module":"ReanimatedModule","method":"getValue"},"26122":{},"26151":{"module":"ReanimatedModule","method":"getValue"},"26154":{"module":"ReanimatedModule","method":"getValue"},"26206":{},"26209":{"module":"ReanimatedModule","method":"getValue"},"26238":{"module":"ReanimatedModule","method":"getValue"},"26251":{"module":"ReanimatedModule","method":"getValue"},"26300":{"module":"ReanimatedModule","method":"getValue"},"26303":{"module":"ReanimatedModule","method":"getValue"},"26326":{"module":"ReanimatedModule","method":"getValue"},"26329":{"module":"ReanimatedModule","method":"getValue"},"26343":{"module":"ReanimatedModule","method":"getValue"},"26356":{},"26385":{"module":"ReanimatedModule","method":"getValue"},"26388":{"module":"ReanimatedModule","method":"getValue"},"26411":{"module":"ReanimatedModule","method":"getValue"},"26414":{"module":"ReanimatedModule","method":"getValue"},"26428":{"module":"ReanimatedModule","method":"getValue"},"26441":{},"26470":{"module":"ReanimatedModule","method":"getValue"},"26473":{"module":"ReanimatedModule","method":"getValue"},"26525":{},"26528":{"module":"ReanimatedModule","method":"getValue"},"26557":{"module":"ReanimatedModule","method":"getValue"},"26570":{"module":"ReanimatedModule","method":"getValue"},"26619":{"module":"ReanimatedModule","method":"getValue"},"26622":{"module":"ReanimatedModule","method":"getValue"},"26645":{"module":"ReanimatedModule","method":"getValue"},"26648":{"module":"ReanimatedModule","method":"getValue"},"26662":{"module":"ReanimatedModule","method":"getValue"},"26675":{},"26704":{"module":"ReanimatedModule","method":"getValue"},"26707":{"module":"ReanimatedModule","method":"getValue"},"26730":{"module":"ReanimatedModule","method":"getValue"},"26733":{"module":"ReanimatedModule","method":"getValue"},"26747":{"module":"ReanimatedModule","method":"getValue"},"26760":{},"26789":{"module":"ReanimatedModule","method":"getValue"},"26792":{"module":"ReanimatedModule","method":"getValue"},"26844":{},"26847":{"module":"ReanimatedModule","method":"getValue"},"26876":{"module":"ReanimatedModule","method":"getValue"},"26889":{"module":"ReanimatedModule","method":"getValue"},"26938":{"module":"ReanimatedModule","method":"getValue"},"26941":{"module":"ReanimatedModule","method":"getValue"},"26964":{"module":"ReanimatedModule","method":"getValue"},"26967":{"module":"ReanimatedModule","method":"getValue"},"26981":{"module":"ReanimatedModule","method":"getValue"},"26994":{},"27023":{"module":"ReanimatedModule","method":"getValue"},"27026":{"module":"ReanimatedModule","method":"getValue"},"27049":{"module":"ReanimatedModule","method":"getValue"},"27052":{"module":"ReanimatedModule","method":"getValue"},"27066":{"module":"ReanimatedModule","method":"getValue"},"27079":{},"27108":{"module":"ReanimatedModule","method":"getValue"},"27111":{"module":"ReanimatedModule","method":"getValue"},"27163":{},"27166":{"module":"ReanimatedModule","method":"getValue"},"27195":{"module":"ReanimatedModule","method":"getValue"},"27208":{"module":"ReanimatedModule","method":"getValue"},"27256":{"module":"ReanimatedModule","method":"getValue"},"27259":{"module":"ReanimatedModule","method":"getValue"},"27282":{"module":"ReanimatedModule","method":"getValue"},"27285":{"module":"ReanimatedModule","method":"getValue"},"27299":{"module":"ReanimatedModule","method":"getValue"},"27312":{"module":"ReanimatedModule","method":"getValue"},"27340":{"module":"ReanimatedModule","method":"getValue"},"27343":{"module":"ReanimatedModule","method":"getValue"},"27366":{"module":"ReanimatedModule","method":"getValue"},"27369":{"module":"ReanimatedModule","method":"getValue"},"27383":{"module":"ReanimatedModule","method":"getValue"},"27396":{},"27425":{"module":"ReanimatedModule","method":"getValue"},"27428":{"module":"ReanimatedModule","method":"getValue"},"27480":{},"27483":{"module":"ReanimatedModule","method":"getValue"},"27512":{"module":"ReanimatedModule","method":"getValue"},"27525":{"module":"ReanimatedModule","method":"getValue"},"27574":{"module":"ReanimatedModule","method":"getValue"},"27577":{"module":"ReanimatedModule","method":"getValue"},"27600":{"module":"ReanimatedModule","method":"getValue"},"27603":{"module":"ReanimatedModule","method":"getValue"},"27617":{"module":"ReanimatedModule","method":"getValue"},"27630":{},"27659":{"module":"ReanimatedModule","method":"getValue"},"27662":{"module":"ReanimatedModule","method":"getValue"},"27685":{"module":"ReanimatedModule","method":"getValue"},"27688":{"module":"ReanimatedModule","method":"getValue"},"27702":{"module":"ReanimatedModule","method":"getValue"},"27715":{},"27744":{"module":"ReanimatedModule","method":"getValue"},"27747":{"module":"ReanimatedModule","method":"getValue"},"27799":{},"27802":{"module":"ReanimatedModule","method":"getValue"},"27831":{"module":"ReanimatedModule","method":"getValue"},"27844":{"module":"ReanimatedModule","method":"getValue"},"27893":{"module":"ReanimatedModule","method":"getValue"},"27896":{"module":"ReanimatedModule","method":"getValue"},"27919":{"module":"ReanimatedModule","method":"getValue"},"27922":{"module":"ReanimatedModule","method":"getValue"},"27936":{"module":"ReanimatedModule","method":"getValue"},"27949":{},"27978":{"module":"ReanimatedModule","method":"getValue"},"27981":{"module":"ReanimatedModule","method":"getValue"},"28004":{"module":"ReanimatedModule","method":"getValue"},"28007":{"module":"ReanimatedModule","method":"getValue"},"28021":{"module":"ReanimatedModule","method":"getValue"},"28034":{},"28063":{"module":"ReanimatedModule","method":"getValue"},"28066":{"module":"ReanimatedModule","method":"getValue"},"28118":{},"28121":{"module":"ReanimatedModule","method":"getValue"},"28150":{"module":"ReanimatedModule","method":"getValue"},"28163":{"module":"ReanimatedModule","method":"getValue"},"28212":{"module":"ReanimatedModule","method":"getValue"},"28215":{"module":"ReanimatedModule","method":"getValue"},"28238":{"module":"ReanimatedModule","method":"getValue"},"28241":{"module":"ReanimatedModule","method":"getValue"},"28255":{"module":"ReanimatedModule","method":"getValue"},"28268":{},"28297":{"module":"ReanimatedModule","method":"getValue"},"28300":{"module":"ReanimatedModule","method":"getValue"},"28323":{"module":"ReanimatedModule","method":"getValue"},"28326":{"module":"ReanimatedModule","method":"getValue"},"28340":{"module":"ReanimatedModule","method":"getValue"},"28353":{},"28382":{"module":"ReanimatedModule","method":"getValue"},"28385":{"module":"ReanimatedModule","method":"getValue"},"28437":{},"28440":{"module":"ReanimatedModule","method":"getValue"},"28469":{"module":"ReanimatedModule","method":"getValue"},"28482":{"module":"ReanimatedModule","method":"getValue"},"28531":{"module":"ReanimatedModule","method":"getValue"},"28534":{"module":"ReanimatedModule","method":"getValue"},"28557":{"module":"ReanimatedModule","method":"getValue"},"28560":{"module":"ReanimatedModule","method":"getValue"},"28574":{"module":"ReanimatedModule","method":"getValue"},"28587":{},"28616":{"module":"ReanimatedModule","method":"getValue"},"28619":{"module":"ReanimatedModule","method":"getValue"},"28642":{"module":"ReanimatedModule","method":"getValue"},"28645":{"module":"ReanimatedModule","method":"getValue"},"28659":{"module":"ReanimatedModule","method":"getValue"},"28672":{},"28701":{"module":"ReanimatedModule","method":"getValue"},"28704":{"module":"ReanimatedModule","method":"getValue"},"28756":{},"28759":{"module":"ReanimatedModule","method":"getValue"},"28788":{"module":"ReanimatedModule","method":"getValue"},"28801":{"module":"ReanimatedModule","method":"getValue"},"28850":{"module":"ReanimatedModule","method":"getValue"},"28853":{"module":"ReanimatedModule","method":"getValue"},"28876":{"module":"ReanimatedModule","method":"getValue"},"28879":{"module":"ReanimatedModule","method":"getValue"},"28893":{"module":"ReanimatedModule","method":"getValue"},"28906":{},"28935":{"module":"ReanimatedModule","method":"getValue"},"28938":{"module":"ReanimatedModule","method":"getValue"},"28961":{"module":"ReanimatedModule","method":"getValue"},"28964":{"module":"ReanimatedModule","method":"getValue"},"28978":{"module":"ReanimatedModule","method":"getValue"},"28991":{},"29020":{"module":"ReanimatedModule","method":"getValue"},"29023":{"module":"ReanimatedModule","method":"getValue"},"29075":{},"29078":{"module":"ReanimatedModule","method":"getValue"},"29107":{"module":"ReanimatedModule","method":"getValue"},"29120":{"module":"ReanimatedModule","method":"getValue"},"29169":{"module":"ReanimatedModule","method":"getValue"},"29172":{"module":"ReanimatedModule","method":"getValue"},"29195":{"module":"ReanimatedModule","method":"getValue"},"29198":{"module":"ReanimatedModule","method":"getValue"},"29212":{"module":"ReanimatedModule","method":"getValue"},"29225":{},"29254":{"module":"ReanimatedModule","method":"getValue"},"29257":{"module":"ReanimatedModule","method":"getValue"},"29280":{"module":"ReanimatedModule","method":"getValue"},"29283":{"module":"ReanimatedModule","method":"getValue"},"29297":{"module":"ReanimatedModule","method":"getValue"},"29310":{},"29339":{"module":"ReanimatedModule","method":"getValue"},"29342":{"module":"ReanimatedModule","method":"getValue"},"29394":{},"29397":{"module":"ReanimatedModule","method":"getValue"},"29426":{"module":"ReanimatedModule","method":"getValue"},"29439":{"module":"ReanimatedModule","method":"getValue"},"29488":{"module":"ReanimatedModule","method":"getValue"},"29491":{"module":"ReanimatedModule","method":"getValue"},"29514":{"module":"ReanimatedModule","method":"getValue"},"29517":{"module":"ReanimatedModule","method":"getValue"},"29531":{"module":"ReanimatedModule","method":"getValue"},"29544":{},"29573":{"module":"ReanimatedModule","method":"getValue"},"29576":{"module":"ReanimatedModule","method":"getValue"},"29599":{"module":"ReanimatedModule","method":"getValue"},"29602":{"module":"ReanimatedModule","method":"getValue"},"29616":{"module":"ReanimatedModule","method":"getValue"},"29629":{},"29658":{"module":"ReanimatedModule","method":"getValue"},"29661":{"module":"ReanimatedModule","method":"getValue"},"29713":{},"29716":{"module":"ReanimatedModule","method":"getValue"},"29745":{"module":"ReanimatedModule","method":"getValue"},"29758":{"module":"ReanimatedModule","method":"getValue"},"29807":{"module":"ReanimatedModule","method":"getValue"},"29810":{"module":"ReanimatedModule","method":"getValue"},"29833":{"module":"ReanimatedModule","method":"getValue"},"29836":{"module":"ReanimatedModule","method":"getValue"},"29850":{"module":"ReanimatedModule","method":"getValue"},"29863":{},"29892":{"module":"ReanimatedModule","method":"getValue"},"29895":{"module":"ReanimatedModule","method":"getValue"},"29918":{"module":"ReanimatedModule","method":"getValue"},"29921":{"module":"ReanimatedModule","method":"getValue"},"29935":{"module":"ReanimatedModule","method":"getValue"},"29948":{},"29977":{"module":"ReanimatedModule","method":"getValue"},"29980":{"module":"ReanimatedModule","method":"getValue"},"30032":{},"30035":{"module":"ReanimatedModule","method":"getValue"},"30064":{"module":"ReanimatedModule","method":"getValue"},"30077":{"module":"ReanimatedModule","method":"getValue"},"30126":{"module":"ReanimatedModule","method":"getValue"},"30129":{"module":"ReanimatedModule","method":"getValue"},"30152":{"module":"ReanimatedModule","method":"getValue"},"30155":{"module":"ReanimatedModule","method":"getValue"},"30169":{"module":"ReanimatedModule","method":"getValue"},"30182":{},"30211":{"module":"ReanimatedModule","method":"getValue"},"30214":{"module":"ReanimatedModule","method":"getValue"},"30237":{"module":"ReanimatedModule","method":"getValue"},"30240":{"module":"ReanimatedModule","method":"getValue"},"30254":{"module":"ReanimatedModule","method":"getValue"},"30267":{},"30296":{"module":"ReanimatedModule","method":"getValue"},"30299":{"module":"ReanimatedModule","method":"getValue"},"30351":{},"30354":{"module":"ReanimatedModule","method":"getValue"},"30383":{"module":"ReanimatedModule","method":"getValue"},"30396":{"module":"ReanimatedModule","method":"getValue"},"30445":{"module":"ReanimatedModule","method":"getValue"},"30448":{"module":"ReanimatedModule","method":"getValue"},"30471":{"module":"ReanimatedModule","method":"getValue"},"30474":{"module":"ReanimatedModule","method":"getValue"},"30488":{"module":"ReanimatedModule","method":"getValue"},"30501":{},"30530":{"module":"ReanimatedModule","method":"getValue"},"30533":{"module":"ReanimatedModule","method":"getValue"},"30556":{"module":"ReanimatedModule","method":"getValue"},"30559":{"module":"ReanimatedModule","method":"getValue"},"30573":{"module":"ReanimatedModule","method":"getValue"},"30586":{},"30615":{"module":"ReanimatedModule","method":"getValue"},"30618":{"module":"ReanimatedModule","method":"getValue"},"30670":{},"30673":{"module":"ReanimatedModule","method":"getValue"},"30702":{"module":"ReanimatedModule","method":"getValue"},"30715":{"module":"ReanimatedModule","method":"getValue"},"30764":{"module":"ReanimatedModule","method":"getValue"},"30767":{"module":"ReanimatedModule","method":"getValue"},"30790":{"module":"ReanimatedModule","method":"getValue"},"30793":{"module":"ReanimatedModule","method":"getValue"},"30807":{"module":"ReanimatedModule","method":"getValue"},"30820":{},"30849":{"module":"ReanimatedModule","method":"getValue"},"30852":{"module":"ReanimatedModule","method":"getValue"},"30875":{"module":"ReanimatedModule","method":"getValue"},"30878":{"module":"ReanimatedModule","method":"getValue"},"30892":{"module":"ReanimatedModule","method":"getValue"},"30905":{},"30934":{"module":"ReanimatedModule","method":"getValue"},"30937":{"module":"ReanimatedModule","method":"getValue"},"30989":{},"30992":{"module":"ReanimatedModule","method":"getValue"},"31021":{"module":"ReanimatedModule","method":"getValue"},"31034":{"module":"ReanimatedModule","method":"getValue"},"31083":{"module":"ReanimatedModule","method":"getValue"},"31086":{"module":"ReanimatedModule","method":"getValue"},"31109":{"module":"ReanimatedModule","method":"getValue"},"31112":{"module":"ReanimatedModule","method":"getValue"},"31126":{"module":"ReanimatedModule","method":"getValue"},"31139":{},"31168":{"module":"ReanimatedModule","method":"getValue"},"31171":{"module":"ReanimatedModule","method":"getValue"},"31194":{"module":"ReanimatedModule","method":"getValue"},"31197":{"module":"ReanimatedModule","method":"getValue"},"31211":{"module":"ReanimatedModule","method":"getValue"},"31224":{},"31253":{"module":"ReanimatedModule","method":"getValue"},"31256":{"module":"ReanimatedModule","method":"getValue"},"31308":{},"31311":{"module":"ReanimatedModule","method":"getValue"},"31340":{"module":"ReanimatedModule","method":"getValue"},"31353":{"module":"ReanimatedModule","method":"getValue"},"31402":{"module":"ReanimatedModule","method":"getValue"},"31405":{"module":"ReanimatedModule","method":"getValue"},"31428":{"module":"ReanimatedModule","method":"getValue"},"31431":{"module":"ReanimatedModule","method":"getValue"},"31445":{"module":"ReanimatedModule","method":"getValue"},"31458":{},"31487":{"module":"ReanimatedModule","method":"getValue"},"31490":{"module":"ReanimatedModule","method":"getValue"},"31513":{"module":"ReanimatedModule","method":"getValue"},"31516":{"module":"ReanimatedModule","method":"getValue"},"31530":{"module":"ReanimatedModule","method":"getValue"},"31543":{},"31572":{"module":"ReanimatedModule","method":"getValue"},"31575":{"module":"ReanimatedModule","method":"getValue"},"31627":{},"31630":{"module":"ReanimatedModule","method":"getValue"},"31659":{"module":"ReanimatedModule","method":"getValue"},"31672":{"module":"ReanimatedModule","method":"getValue"},"31721":{"module":"ReanimatedModule","method":"getValue"},"31724":{"module":"ReanimatedModule","method":"getValue"},"31747":{"module":"ReanimatedModule","method":"getValue"},"31750":{"module":"ReanimatedModule","method":"getValue"},"31764":{"module":"ReanimatedModule","method":"getValue"},"31777":{},"31806":{"module":"ReanimatedModule","method":"getValue"},"31809":{"module":"ReanimatedModule","method":"getValue"},"31832":{"module":"ReanimatedModule","method":"getValue"},"31835":{"module":"ReanimatedModule","method":"getValue"},"31849":{"module":"ReanimatedModule","method":"getValue"},"31862":{},"31891":{"module":"ReanimatedModule","method":"getValue"},"31894":{"module":"ReanimatedModule","method":"getValue"},"31946":{},"31949":{"module":"ReanimatedModule","method":"getValue"},"31978":{"module":"ReanimatedModule","method":"getValue"},"31991":{"module":"ReanimatedModule","method":"getValue"},"32040":{"module":"ReanimatedModule","method":"getValue"},"32043":{"module":"ReanimatedModule","method":"getValue"},"32066":{"module":"ReanimatedModule","method":"getValue"},"32069":{"module":"ReanimatedModule","method":"getValue"},"32083":{"module":"ReanimatedModule","method":"getValue"},"32096":{},"32125":{"module":"ReanimatedModule","method":"getValue"},"32128":{"module":"ReanimatedModule","method":"getValue"},"32151":{"module":"ReanimatedModule","method":"getValue"},"32154":{"module":"ReanimatedModule","method":"getValue"},"32168":{"module":"ReanimatedModule","method":"getValue"},"32181":{},"32210":{"module":"ReanimatedModule","method":"getValue"},"32213":{"module":"ReanimatedModule","method":"getValue"},"32265":{},"32268":{"module":"ReanimatedModule","method":"getValue"},"32297":{"module":"ReanimatedModule","method":"getValue"},"32310":{"module":"ReanimatedModule","method":"getValue"},"32359":{"module":"ReanimatedModule","method":"getValue"},"32362":{"module":"ReanimatedModule","method":"getValue"},"32385":{"module":"ReanimatedModule","method":"getValue"},"32388":{"module":"ReanimatedModule","method":"getValue"},"32402":{"module":"ReanimatedModule","method":"getValue"},"32415":{},"32444":{"module":"ReanimatedModule","method":"getValue"},"32447":{"module":"ReanimatedModule","method":"getValue"},"32470":{"module":"ReanimatedModule","method":"getValue"},"32473":{"module":"ReanimatedModule","method":"getValue"},"32487":{"module":"ReanimatedModule","method":"getValue"},"32500":{},"32529":{"module":"ReanimatedModule","method":"getValue"},"32532":{"module":"ReanimatedModule","method":"getValue"},"32584":{},"32587":{"module":"ReanimatedModule","method":"getValue"},"32616":{"module":"ReanimatedModule","method":"getValue"},"32629":{"module":"ReanimatedModule","method":"getValue"},"32678":{"module":"ReanimatedModule","method":"getValue"}}
- node_modules\react-native\Libraries\YellowBox\YellowBox.js:63:8 in console.error
- node_modules\expo\build\environment\muteWarnings.fx.js:27:24 in error
- node_modules\@sentry\utils\dist\instrument.js:111:42 in <anonymous>
- node_modules\react-native\node_modules\fbjs\lib\warning.js:30:18 in printWarning
- node_modules\react-native\node_modules\fbjs\lib\warning.js:51:23 in <anonymous>
- node_modules\react-native\Libraries\Utilities\warnOnce.js:29:10 in warnOnce
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:230:12 in processCallbacks
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:266:26 in enqueueNativeCall
- node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:137:10 in fn
- node_modules\react-native-reanimated\src\core\InternalAnimatedValue.js:43:27 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:198:13 in __removeChild
- node_modules\react-native-reanimated\src\core\AnimatedNode.js:107:31 in __detach
* http://packager.3m-7qr.***********.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:165301:106 in __detach
* http://packager.3m-7qr.***********.exp.direct/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:164978:62 in componentWillUnmount
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:16763:2 in callComponentWillUnmountWithTimer
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:307:15 in invokeGuardedCallbackImpl
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:531:36 in invokeGuardedCallback
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:16771:6 in safelyCallComponentWillUnmount
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17359:39 in commitUnmount
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17416:18 in commitNestedUnmounts
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17726:27 in unmountHostComponents
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17798:26 in commitDeletion
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19979:23 in commitMutationEffects
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:307:15 in invokeGuardedCallbackImpl
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:531:36 in invokeGuardedCallback
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19734:10 in commitRootImpl
* [native code]:null in commitRootImpl
- node_modules\scheduler\cjs\scheduler.development.js:643:23 in unstable_runWithPriority
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19590:4 in commitRoot
* [native code]:null in commitRoot
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18709:28 in runRootCallback
* [native code]:null in runRootCallback
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5642:32 in runWithPriority$argument_1
- node_modules\scheduler\cjs\scheduler.development.js:643:23 in unstable_runWithPriority
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5638:22 in flushSyncCallbackQueueImpl
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5627:28 in flushSyncCallbackQueue
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18556:30 in scheduleUpdateOnFiber
- node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:11484:17 in dispatchAction
* [native code]:null in dispatchAction
* common\Model.ts:40:20 in enqueue$argument_0
* common\Model.ts:144:14 in flushTasks
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:146:14 in _callTimer
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:194:17 in _callImmediatesPass
- node_modules\react-native\Libraries\Core\Timers\JSTimers.js:458:30 in callImmediates
* [native code]:null in callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:407:6 in __callImmediates
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:143:6 in __guard$argument_0
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:142:17 in __guard$argument_0
* [native code]:null in flushedQueue
* [native code]:null in callFunctionReturnFlushedQueue
irekrog commented 4 years ago

Same here. Any ideas or solutions?

Xiltyn commented 4 years ago

Same problem, still showing up. I'm on react-native@0.61.5 and react-native-reanimated@1.7.0. In my case it happens whenever animation shows up. I thought it might be related to canceling the Clock on componentWillUnmount but it doesn't seem to be the thing.

Any suggestions?

Rohansi commented 4 years ago

Same problem, still showing up. I'm on react-native@0.61.5 and react-native-reanimated@1.7.0. In my case it happens whenever animation shows up. I thought it might be related to canceling the Clock on componentWillUnmount but it doesn't seem to be the thing.

Any suggestions?

I think it's when unmounting a ton of Reanimated stuff at the same time - with a large number of nodes. I don't get this warning for anything smaller.

It doesn't seem to cause any issues aside from maybe less than ideal performance, though.

Xiltyn commented 4 years ago

That's true, there aren't any MAJOR problems with that. I guess it's a possibility since it's happening when I'm animating a LoaderSpinner made up of a bunch of animated spinning dots.

Then again, would be great to figure out how to work it out at some point :)

maitriyogin commented 4 years ago

me too, long flatlist with swipeable rows, production mode in expo fixes it... Android emulator just shows a warning where as the iOS sim bails out .. /Stephen.

jakub-gonet commented 4 years ago

@anmolpandeyy,

getValue from error is coming from detaching nodes in componentWillUnmount of AnimatedComponent. We need to make a call through the bridge to JS in order to update its value (more info here). It may be caused by calling getValue on nodes that are already detached, but that's my guess.

@juanjsebgarcia, your screenshot looks like you're using Animated and not Reanimated

I can't really debug what's going on without repro, so please provide it if you have one

jakub-gonet commented 4 years ago

This is an issue that we can't really solve - when detaching and reattaching node to view it should maintain its state. We can't update this state in any other way than calling a method in the native module.

Reanimated has upper limit of nodes it can manage and exceeding this limit can trigger this warning.

If you're using navigation please consider upgrading to the newer version that doesn't have this problem.

eric-om commented 4 years ago

Hey @jakub-gonet just to clarify, are you recommending upgrading to the latest release of react-navigation 5? Could you explain why that version doesn't have this problem?

terrysahaidak commented 4 years ago

Latest versions of React Navigation don't use Reanimated but Animated.

rahulje9 commented 4 years ago

This is happening to me with RN 0.63.2 react-navigation 5.x, I was on 0.61.5, react-navigation 4.x and updated packages just 2 weeks before and this is a big issue for us since we are in production.

eric-om commented 4 years ago

@rahulje9 are you seeing any impacts to performance/user experience because of this issue?

rahulje9 commented 4 years ago

@rahulje9 are you seeing any impacts to performance/user experience because of this issue?

@eric-om yes, the app freezes and become unusable, will need to kill it and reopen. I haven't added any animation using this package, is this something caused by the React Navigation package since this is a dependency for that.

calluna18 commented 4 years ago

I also experience this problem for me with React Native 0.63.2 and React Navigation 4.3.9. The application gets extremely slow and eventually unresponsive to touches. Worked fine with 0.62.2.

eric-om commented 4 years ago

To add on to @calluna18 's comment while I get this issue on Expo SDK 38 (RN 0.62) I've only had performance issues and crashing in the simulator while testing through expo. My app runs fine when installed from TestFlight.

TrebuhD commented 3 years ago

Same problem here with the current version of reanimated v1 and react-native-tvos@0.63.1-0. I'm using react-router-native@5.2.0 and not react-navigation though.

The app freezes, crashes and becomes unusable in debug mode.

hengkx commented 3 years ago

+1

appsgenie commented 3 years ago

Any updates on this?

TrebuhD commented 3 years ago

for me I think this was caused by the usage of UIManager.setLayoutAnimationEnabledExperimental(true); and LayoutAnimation. I stopped having this error when I deleted lines using these APIs.

MhamedRamadan10 commented 3 years ago

@TrebuhD

for me I think this was caused by the usage of UIManager.setLayoutAnimationEnabledExperimental(true); and LayoutAnimation. I stopped having this error when I deleted lines using these APIs.

where those lines..?

TrebuhD commented 3 years ago

@MhamedRamadan10 I was using these lines in my own code to enable the experimental LayoutAnimation API. Once I deleted these, this problem was gone.

RominHalltari commented 3 years ago

This is very disappointing. It is crashing the app in production and nobody has an idea why this is happening. Ridiculous, considering how many people use this library.

yashpwr commented 3 years ago

@anmolpandeyy @Rohansi @maitriyogin @TrebuhD @terrysahaidak @hengkx @RominHalltari @jakub-gonet

Have you found any solution ?

Screenshot at Jun 03 16-37-44 Screenshot at Jun 03 16-36-05

anmolpandeyy commented 3 years ago

@anmolpandeyy @Rohansi @maitriyogin @TrebuhD @terrysahaidak @hengkx @RominHalltari @jakub-gonet

Have you found any solution ?

Screenshot at Jun 03 16-37-44 Screenshot at Jun 03 16-36-05

I just updated the libraries to latest including react-native, and now this doesn't seem to occur anymore to me.

LukeLaScala commented 3 years ago

Upgrading to version 2.2 of react reanimated did it for me

maxmandia commented 2 years ago

@rahulje9 are you seeing any impacts to performance/user experience because of this issue?

@eric-om yes, the app freezes and become unusable, will need to kill it and reopen. I haven't added any animation using this package, is this something caused by the React Navigation package since this is a dependency for that.

were you ever able to solve this issue? my app keeps crashing because of this..any help would be appreciated!

MAVERlCK commented 1 year ago

Make sure you're not running this react-native issue : https://github.com/facebook/react-native/pull/35387

It was actually caused by a bug in React Native on TouchableOpacity, updating to 0.71.4 OR applying a patch with the following fix ( https://github.com/facebook/react-native/commit/c92e98a0f93de4a8936b39260d145132cafc75db ) may solve your issue.