Open nandorojo opened 5 months ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Here is an updated stack trace:
I also randomly caught this error one time. Is there any progress or information about this bug?
Same here, React Native 0.73.4 and React Native Reanimated 3.7.1
This patch fixed the issue for me if it helps anyone else, I just commented out the error that was thrown and caught a couple of potential exceptions. No noticeable change to the UX and no crash so works for me.
The underlying error that was thrown was: [Reanimated] Data type not recognized by value unpacker.
I'm also getting this N8facebook3jsi7JSErrorE
error with Reanimated 3.7.0.
@nandorojo Just upgraded to version to 3.7.1 and can not reproduce the crash anymore. You might want to do the same.
@ruairioliverwv thanks for sharing your patch. I noticed there's a different issue (#5660) that looks to be about the same crash. Here a different patch was suggested in order to get more info about the error https://github.com/software-mansion/react-native-reanimated/issues/5660#issuecomment-1969003264
This particular crash is no longer happening now, instead we are just seeing App Hanging
constantly (including on 3.8.1)
I'll open a new issue for that
Im getting this error when updating the app from a previous version:
N8facebook3jsi7JSErrorE: [Reanimated] Data type not recognized by value unpacker.
Im using 3.8.1
Still getting this on iOS in production in 3.12.0
A data point that may or may not be useful. I have some crashes in production as well, reanimated 3.6.2. Of note, I am not directly using react-native-reanimated in my app, but @gorhom/bottom-sheets has it as a dependency. As far as I know thats the only place its used. So it may be related to that.
Description
Our iOS app is crashing seemingly randomly in production. Seems heavily related to #2327 which was supposed to be fixed by v3.
Click me for sentry stack trace
``` OS Version: iOS 17.2.1 (21C66) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Crashed Thread: 0 Application Specific Information: N8facebook3jsi7JSErrorE Thread 1 0 libsystem_kernel.dylib 0x3b1ddd6d0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3f6f519ac _pthread_wqthread Thread 2 0 libsystem_kernel.dylib 0x3b1ddd6d0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3f6f519ac _pthread_wqthread Thread 3 0 libsystem_kernel.dylib 0x3b1ddd6d0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3f6f519ac _pthread_wqthread Thread 4 name: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x3b1dd5178 mach_msg2_trap 1 libsystem_kernel.dylib 0x3b1dd4f0c mach_msg2_internal 2 libsystem_kernel.dylib 0x3b1dd4e24 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3b1dd4c64 mach_msg 4 CoreFoundation 0x322f4db18 __CFRunLoopServiceMachPort 5 CoreFoundation 0x322f4ba10 __CFRunLoopRun 6 CoreFoundation 0x322f4b474 CFRunLoopRunSpecific 7 Foundation 0x320e78488 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 8 Foundation 0x320ea5748 -[NSRunLoop(NSRunLoop) runUntilDate:] 9 UIKitCore 0x3274fc4a4 -[UIEventFetcher threadMain] 10 Foundation 0x320efbddc __NSThread__start__ 11 libsystem_pthread.dylib 0x3f6f524d0 _pthread_start Thread 5 0 libsystem_kernel.dylib 0x3b1ddd6d0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3f6f519ac _pthread_wqthread Thread 6 0 libsystem_kernel.dylib 0x3b1ddd6d0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3f6f519ac _pthread_wqthread Thread 7 0 libsystem_kernel.dylib 0x3b1dd5978 __semwait_signal 1 libsystem_c.dylib 0x332f95f1c nanosleep 2 libsystem_c.dylib 0x332f95e34 usleep 3 BeatGig 0x2019807fc __45-[RSCloudModeManager startCloudModeProcessor]_block_invoke 4 libdispatch.dylib 0x332f006a4 _dispatch_call_block_and_release 5 libdispatch.dylib 0x332f022fc _dispatch_client_callout 6 libdispatch.dylib 0x332f09890 _dispatch_lane_serial_drain 7 libdispatch.dylib 0x332f0a3c0 _dispatch_lane_invoke 8 libdispatch.dylib 0x332f15000 _dispatch_root_queue_drain_deferred_wlh 9 libdispatch.dylib 0x332f14874 _dispatch_workloop_worker_thread 10 libsystem_pthread.dylib 0x3f6f51960 _pthread_wqthread Thread 8 0 libswiftCore.dylib 0x315a41d80 swift_retain 1 LogRocket 0x103b90770 thunk for closure 2 libdispatch.dylib 0x332f022fc _dispatch_client_callout 3 libdispatch.dylib 0x332f057b4 _dispatch_continuation_pop 4 libdispatch.dylib 0x332f195bc _dispatch_source_latch_and_call 5 libdispatch.dylib 0x332f1818c _dispatch_source_invoke 6 libdispatch.dylib 0x332f09714 _dispatch_lane_serial_drain 7 libdispatch.dylib 0x332f0a3c0 _dispatch_lane_invoke 8 libdispatch.dylib 0x332f15000 _dispatch_root_queue_drain_deferred_wlh 9 libdispatch.dylib 0x332f14874 _dispatch_workloop_worker_thread 10 libsystem_pthread.dylib 0x3f6f51960 _pthread_wqthread Thread 9 0 libsystem_kernel.dylib 0x3b1ddd6d0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3f6f519ac _pthread_wqthread Thread 10 name: com.facebook.react.JavaScript 0 hermes 0x1035896d0 facebook::hermes::HermesRuntimeImpl::ManagedValueSteps to reproduce
Unfortunately I can't narrow it down quite yet.
Snack or a link to a repository
https://no-repro.com
Reanimated version
3.7.0
React Native version
0.73.4
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo Dev Client
Architecture
Paper (Old Architecture)
Build type
Release app & production bundle
Device
Real device
Device model
iPhone 16, iOS 17.2.1
Acknowledgements
Yes