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

iOS app crashes with EXC_BAD_ACCESS KERN_INVALID_ADDRESS #3102

Closed
1 of 3 tasks
jacobarvidsson opened this issue Mar 25, 2022 · 9 comments
Closed
1 of 3 tasks

iOS app crashes with EXC_BAD_ACCESS KERN_INVALID_ADDRESS #3102

jacobarvidsson opened this issue Mar 25, 2022 · 9 comments
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario Needs review Issue is ready to be reviewed by a maintainer Platform: iOS This issue is specific to iOS Unable to repro

Comments

@jacobarvidsson
Copy link
Contributor

Description

After upgrading from 2.2.0 to 2.3.1, a lot of the same crash has been reported in crashlytics for our users. The crash has persisted after upgrading to 2.4.1.

Crash:
Crashed: com.facebook.react.JavaScript
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Expected behavior

No crash.

Actual behavior & steps to reproduce

App crash. Checking the logs it looks like it mostly happen when the user puts the app in the background. We have not been able to reproduce it ourselves.

Snack or minimal code example

Crashed: com.facebook.react.JavaScript
0  mobile                         0x3b590c std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<facebook::jsi::Runtime*, reanimated::RuntimeType>, void*>*> std::__1::__hash_table<std::__1::__hash_value_type<facebook::jsi::Runtime*, reanimated::RuntimeType>, std::__1::__unordered_map_hasher<facebook::jsi::Runtime*, std::__1::__hash_value_type<facebook::jsi::Runtime*, reanimated::RuntimeType>, std::__1::hash<facebook::jsi::Runtime*>, std::__1::equal_to<facebook::jsi::Runtime*>, true>, std::__1::__unordered_map_equal<facebook::jsi::Runtime*, std::__1::__hash_value_type<facebook::jsi::Runtime*, reanimated::RuntimeType>, std::__1::equal_to<facebook::jsi::Runtime*>, std::__1::hash<facebook::jsi::Runtime*>, true>, std::__1::allocator<std::__1::__hash_value_type<facebook::jsi::Runtime*, reanimated::RuntimeType> > >::find<facebook::jsi::Runtime*>(facebook::jsi::Runtime* const&) + 2394 (__hash_table:2394)
1  mobile                         0x3df040 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 5236 (RuntimeDecorator.h:5236)
2  mobile                         0x3dfdb8 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
3  mobile                         0x3ae3a0 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
4  mobile                         0x3dfc14 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
5  mobile                         0x3de49c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
6  mobile                         0x3dfdb8 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
7  mobile                         0x3ae3a0 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
8  mobile                         0x3dfc14 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
9  mobile                         0x3def88 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
10 mobile                         0x3dfdb8 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
11 mobile                         0x3ae3a0 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
12 mobile                         0x3dfc14 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
13 mobile                         0x3de49c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
14 mobile                         0x3dfdb8 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
15 mobile                         0x3ae3a0 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
16 mobile                         0x3dfc14 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
17 mobile                         0x3def88 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
18 mobile                         0x3dfdb8 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
19 mobile                         0x3ae3a0 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
20 mobile                         0x3dfc14 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
21 mobile                         0x3de49c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
22 mobile                         0x3dfdb8 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
23 mobile                         0x3bcc98 reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&) + 135 (NativeReanimatedModule.cpp:135)
24 mobile                         0x4f3dc4 std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const + 2560 (functional:2560)
25 mobile                         0x4f3b0c facebook::jsc::JSCRuntime::createFunctionFromHostFunction(facebook::jsi::PropNameID const&, unsigned int, std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>)::HostFunctionMetadata::call(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) + 1157 (JSCRuntime.cpp:1157)
26 JavaScriptCore                 0x36752c JSC::JSCallbackObject<JSC::JSNonFinalObject>::callImpl(JSC::JSGlobalObject*, JSC::CallFrame*) + 468
27 JavaScriptCore                 0xb353c4 JSC::LLInt::setUpCall(JSC::CallFrame*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) + 1736
28 JavaScriptCore                 0x2bf7b0 llint_function_for_construct_arity_checkTagGateAfter + 144508
29 JavaScriptCore                 0x2bf7e0 llint_function_for_construct_arity_checkTagGateAfter + 144556
30 JavaScriptCore                 0x2bf7e0 llint_function_for_construct_arity_checkTagGateAfter + 144556
31 JavaScriptCore                 0x2bf7e0 llint_function_for_construct_arity_checkTagGateAfter + 144556
32 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
33 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
34 JavaScriptCore                 0x296028 vmEntryToJavaScriptGateAfter + 6
35 JavaScriptCore                 0x9d20b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 488
36 JavaScriptCore                 0xd216cc JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 684
37 JavaScriptCore                 0x2c2908 llint_function_for_construct_arity_checkTagGateAfter + 157140
38 JavaScriptCore                 0x2bf7e0 llint_function_for_construct_arity_checkTagGateAfter + 144556
39 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
40 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
41 JavaScriptCore                 0x296028 vmEntryToJavaScriptGateAfter + 6
42 JavaScriptCore                 0x9d20b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 488
43 JavaScriptCore                 0xd216cc JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 684
44 JavaScriptCore                 0x2c2908 llint_function_for_construct_arity_checkTagGateAfter + 157140
45 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
46 JavaScriptCore                 0x2bf7e0 llint_function_for_construct_arity_checkTagGateAfter + 144556
47 JavaScriptCore                 0x2c11ec llint_function_for_construct_arity_checkTagGateAfter + 151224
48 JavaScriptCore                 0x2c11ec llint_function_for_construct_arity_checkTagGateAfter + 151224
49 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
50 JavaScriptCore                 0x2bf7e0 llint_function_for_construct_arity_checkTagGateAfter + 144556
51 JavaScriptCore                 0x2bf70c llint_function_for_construct_arity_checkTagGateAfter + 144344
52 JavaScriptCore                 0x296028 vmEntryToJavaScriptGateAfter + 6
53 JavaScriptCore                 0x9d20b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 488
54 JavaScriptCore                 0xd216cc JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 684
55 JavaScriptCore                 0x2961d8 vmEntryToNative + 284
56 JavaScriptCore                 0x9d20dc JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 528
57 JavaScriptCore                 0xc71634 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 184
58 JavaScriptCore                 0x3755e8 JSObjectCallAsFunction + 572
59 mobile                         0x4f1d9c facebook::jsc::JSCRuntime::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 1260 (JSCRuntime.cpp:1260)
60 mobile                         0x4fe340 facebook::jsi::Value facebook::jsi::Function::call<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, facebook::jsi::Value>(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, facebook::jsi::Value&&) const + 228 (jsi-inl.h:228)
61 mobile                         0x4fe1a4 std::__1::__function::__func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&)::$_4, std::__1::allocator<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&)::$_4>, void ()>::operator()() + 256 (JSIExecutor.cpp:256)
62 mobile                         0x415908 void std::__1::__invoke_void_return_wrapper<void, true>::__call<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()> >(void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>&&) + 1843 (functional:1843)
63 mobile                         0x4fb56c facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&) + 1843 (functional:1843)
64 mobile                         0x4ee0a0 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()() + 1732 (functional:1732)
65 mobile                         0x4351c4 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 1885 (functional:1885)
66 mobile                         0x4422dc facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 69 (RCTMessageThread.mm:69)
67 mobile                         0x442090 ___ZN8facebook5react16RCTMessageThread8runAsyncENSt3__18functionIFvvEEE_block_invoke + 46 (RCTMessageThread.mm:46)
68 CoreFoundation                 0x729d4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
69 CoreFoundation                 0x738d0 __CFRunLoopDoBlocks + 412
70 CoreFoundation                 0xb890 __CFRunLoopRun + 800
71 CoreFoundation                 0x1f468 CFRunLoopRunSpecific + 600
72 mobile                         0x42a28c +[RCTCxxBridge runRunLoop] + 367 (RCTCxxBridge.mm:367)
73 Foundation                     0x6840c __NSThread__start__ + 808
74 libsystem_pthread.dylib        0x19a4 _pthread_start + 148
75 libsystem_pthread.dylib        0xea0 thread_start + 8

Package versions

name version
react-native 0.66.4
react-native-reanimated 2.3.2/2.4.1
Xcode 13.1

Affected platforms

  • Android
  • iOS
  • Web
@jacobarvidsson jacobarvidsson added the Needs review Issue is ready to be reviewed by a maintainer label Mar 25, 2022
@github-actions github-actions bot added the Platform: iOS This issue is specific to iOS label Mar 25, 2022
@github-actions
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem?

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Mar 25, 2022
@jacobarvidsson
Copy link
Contributor Author

Might be related to #2775

@matinzd
Copy link

matinzd commented Mar 29, 2022

It's also happening for us. I have got some reports just for iOS from test flight feedback as well as sentry.

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001b2612814
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [8733]
Triggered by Thread:  3

Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib        	0x00000001d647761c syscall_thread_switch + 8
1   JavaScriptCore                	0x00000001b260bc84 bmalloc::Allocator::refillAllocatorSlowCase(bmalloc::BumpAllocator&, unsigned long, bmalloc::FailureAction) + 224 (Mutex.cpp:42)
2   JavaScriptCore                	0x00000001b260bf58 bmalloc::Allocator::allocateSlowCase(unsigned long, bmalloc::FailureAction) + 216 (Allocator.cpp:134)
3   JavaScriptCore                	0x00000001b190a654 OpaqueJSString::tryCreate(WTF::String const&) + 44 (ThreadSafeRefCounted.h:43)
4   JavaScriptCore                	0x00000001b1903904 JSObjectCopyPropertyNames + 284 (JSObjectRef.cpp:816)
5   DietDoctor                    	0x0000000100be7ca8 facebook::jsc::JSCRuntime::getPropertyNames(facebook::jsi::Object const&) + 48 (JSCRuntime.cpp:976)
6   DietDoctor                    	0x0000000100aaa084 getPropertyNames + 16 (jsi-inl.h:200)
7   DietDoctor                    	0x0000000100aaa084 reanimated::convertJSIObjectToNSDictionary(facebook::jsi::Runtime&, facebook::jsi::Object const&) + 52 (NativeProxy.mm:40)
8   DietDoctor                    	0x0000000100aab058 operator() + 160 (NativeProxy.mm:101)
9   DietDoctor                    	0x0000000100aab058 _invoke<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/ios/native/NativeProxy.mm:96:22) &, facebook::jsi::Runtime &, int, const facebook::jsi::Value &, const faceboo... + 164 (type_traits:3694)
10  DietDoctor                    	0x0000000100aab058 _call<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/ios/native/NativeProxy.mm:96:22) &, facebook::jsi::Runtime &, int, const facebook::jsi::Value &, const facebook:... + 164 (__functional_base:348)
11  DietDoctor                    	0x0000000100aab058 operator() + 164 (functional:1558)
12  DietDoctor                    	0x0000000100aab058 std::__1::__function::__func<reanimated::createReanimatedModule(RCTBridge*, std::__1::shared_ptr<facebook::react::CallInvoker>)::$_0, std::__1::allocator<reanimated::createReanimatedModule(RCTBridg... + 204 (functional:1732)
13  DietDoctor                    	0x0000000100acaa88 operator() + 24 (functional:1885)
14  DietDoctor                    	0x0000000100acaa88 operator() + 24 (functional:2560)
15  DietDoctor                    	0x0000000100acaa88 operator() + 72 (RuntimeDecorator.cpp:125)
16  DietDoctor                    	0x0000000100acaa88 _invoke<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/Common/cpp/Tools/RuntimeDecorator.cpp:117:14) &, facebook::jsi::Runtime &, const facebook::jsi::Value &, const... + 76 (type_traits:3694)
17  DietDoctor                    	0x0000000100acaa88 _call<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/Common/cpp/Tools/RuntimeDecorator.cpp:117:14) &, facebook::jsi::Runtime &, const facebook::jsi::Value &, const f... + 76 (__functional_base:317)
18  DietDoctor                    	0x0000000100acaa88 operator() + 76 (functional:1558)
19  DietDoctor                    	0x0000000100acaa88 std::__1::__function::__func<reanimated::RuntimeDecorator::decorateUIRuntime(facebook::jsi::Runtime&, std::__1::function<void (facebook::jsi::Runtime&, int, facebook::jsi::Value const&, facebook::j... + 112 (functional:1732)
20  DietDoctor                    	0x0000000100bea350 operator() + 28 (functional:1885)
21  DietDoctor                    	0x0000000100bea350 std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value... + 44 (functional:2560)
22  DietDoctor                    	0x0000000100bea098 facebook::jsc::JSCRuntime::createFunctionFromHostFunction(facebook::jsi::PropNameID const&, unsigned int, std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value cons... + 380 (JSCRuntime.cpp:1158)
23  JavaScriptCore                	0x00000001b18f62fc JSC::JSCallbackObject<JSC::JSNonFinalObject>::callImpl(JSC::JSGlobalObject*, JSC::CallFrame*) + 428 (JSCallbackObjectFunctions.h:553)
24  JavaScriptCore                	0x00000001b1fffef4 JSC::LLInt::setUpCall(JSC::CallFrame*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) + 1336 (NativeFunction.h:50)
25  JavaScriptCore                	0x00000001b185ef34 0x1b15fd000 + 2498356
26  JavaScriptCore                	0x00000001b185ef64 0x1b15fd000 + 2498404
27  JavaScriptCore                	0x00000001b185ee9c 0x1b15fd000 + 2498204
28  JavaScriptCore                	0x00000001b1838278 vmEntryToJavaScriptTrampoline + 8
29  JavaScriptCore                	0x00000001b1ed5130 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 488 (JITCodeInlines.h:42)
30  JavaScriptCore                	0x00000001b212aff4 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 164 (CallData.cpp:57)
31  JavaScriptCore                	0x00000001b19033ac JSObjectCallAsFunction + 656 (JSObjectRef.cpp:734)
32  DietDoctor                    	0x0000000100be857c facebook::jsc::JSCRuntime::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 164 (JSCRuntime.cpp:1260)
33  DietDoctor                    	0x0000000100ad3488 callWithThis + 64 (jsi-inl.h:249)
34  DietDoctor                    	0x0000000100ad3488 operator() + 204 (ShareableValue.cpp:393)
35  DietDoctor                    	0x0000000100ad3488 _invoke<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.cpp:379:20) &, facebook::jsi::Runtime &, const facebook::jsi::Value &, c... + 212 (type_traits:3694)
36  DietDoctor                    	0x0000000100ad3488 _call<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.cpp:379:20) &, facebook::jsi::Runtime &, const facebook::jsi::Value &, con... + 212 (__functional_base:317)
37  DietDoctor                    	0x0000000100ad3488 operator() + 212 (functional:1558)
38  DietDoctor                    	0x0000000100ad3488 std::__1::__function::__func<reanimated::ShareableValue::toJSValue(facebook::jsi::Runtime&)::$_2, std::__1::allocator<reanimated::ShareableValue::toJSValue(facebook::jsi::Runtime&)::$_2>, facebook:... + 256 (functional:1732)
39  DietDoctor                    	0x0000000100bea350 operator() + 28 (functional:1885)
40  DietDoctor                    	0x0000000100bea350 std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value... + 44 (functional:2560)
41  DietDoctor                    	0x0000000100bea098 facebook::jsc::JSCRuntime::createFunctionFromHostFunction(facebook::jsi::PropNameID const&, unsigned int, std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value cons... + 380 (JSCRuntime.cpp:1158)
42  JavaScriptCore                	0x00000001b18f62fc JSC::JSCallbackObject<JSC::JSNonFinalObject>::callImpl(JSC::JSGlobalObject*, JSC::CallFrame*) + 428 (JSCallbackObjectFunctions.h:553)
43  JavaScriptCore                	0x00000001b1fffef4 JSC::LLInt::setUpCall(JSC::CallFrame*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) + 1336 (NativeFunction.h:50)
44  JavaScriptCore                	0x00000001b185ef34 0x1b15fd000 + 2498356
45  JavaScriptCore                	0x00000001b1838278 vmEntryToJavaScriptTrampoline + 8
46  JavaScriptCore                	0x00000001b1ed5130 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 488 (JITCodeInlines.h:42)
47  JavaScriptCore                	0x00000001b212aff4 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 164 (CallData.cpp:57)
48  JavaScriptCore                	0x00000001b19033ac JSObjectCallAsFunction + 656 (JSObjectRef.cpp:734)
49  DietDoctor                    	0x0000000100be857c facebook::jsc::JSCRuntime::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 164 (JSCRuntime.cpp:1260)
50  DietDoctor                    	0x0000000100acb124 call + 40 (jsi-inl.h:228)
51  DietDoctor                    	0x0000000100acb124 call + 40 (jsi-inl.h:233)
52  DietDoctor                    	0x0000000100acb124 call<facebook::jsi::Value> + 52 (jsi-inl.h:241)
53  DietDoctor                    	0x0000000100acb124 operator() + 68 (RuntimeDecorator.cpp:140)
54  DietDoctor                    	0x0000000100acb124 _invoke<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/Common/cpp/Tools/RuntimeDecorator.cpp:139:18) &, double> + 72 (type_traits:3694)
55  DietDoctor                    	0x0000000100acb124 _call<(lambda at /Users/runner/work/rnapp/rnapp/node_modules/react-native-reanimated/Common/cpp/Tools/RuntimeDecorator.cpp:139:18) &, double> + 72 (__functional_base:348)
56  DietDoctor                    	0x0000000100acb124 operator() + 72 (functional:1558)
57  DietDoctor                    	0x0000000100acb124 std::__1::__function::__func<reanimated::RuntimeDecorator::decorateUIRuntime(facebook::jsi::Runtime&, std::__1::function<void (facebook::jsi::Runtime&, int, facebook::jsi::Value const&, facebook::j... + 104 (functional:1732)
58  DietDoctor                    	0x0000000100aae4dc operator() + 24 (functional:1885)
59  DietDoctor                    	0x0000000100aae4dc operator() + 24 (functional:2560)
60  DietDoctor                    	0x0000000100aae4dc reanimated::NativeReanimatedModule::onRender(double) + 96 (NativeReanimatedModule.cpp:283)
61  DietDoctor                    	0x0000000100aaac78 operator() + 24 (functional:1885)
62  DietDoctor                    	0x0000000100aaac78 operator() + 24 (functional:2560)
63  DietDoctor                    	0x0000000100aaac78 invocation function for block in reanimated::createReanimatedModule(RCTBridge*, std::__1::shared_ptr<facebook::react::CallInvoker>)::$_5::operator()(std::__1::function<void (double)>, facebook::jsi... + 164 (NativeProxy.mm:156)
64  DietDoctor                    	0x0000000100abc218 -[REANodesManager onAnimationFrame:] + 384 (REANodesManager.m:206)
65  QuartzCore                    	0x00000001ab4487b8 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 672 (CADisplay.mm:2646)
66  QuartzCore                    	0x00000001ab5277f4 display_timer_callback(__CFMachPort*, void*, long, void*) + 280 (CADisplayTimer.cpp:166)
67  CoreFoundation                	0x00000001a81370e0 __CFMachPortPerform + 176 (CFMachPort.c:537)
68  CoreFoundation                	0x00000001a815c908 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60 (CFRunLoop.c:1991)
69  CoreFoundation                	0x00000001a815bc88 __CFRunLoopDoSource1 + 596 (CFRunLoop.c:2131)
70  CoreFoundation                	0x00000001a815586c __CFRunLoopRun + 2372 (CFRunLoop.c:3146)
71  CoreFoundation                	0x00000001a81549f4 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
72  GraphicsServices              	0x00000001bf82a734 GSEventRunModal + 164 (GSEvent.c:2259)
73  UIKitCore                     	0x00000001aabd375c -[UIApplication _run] + 1072 (UIApplication.m:3269)
74  UIKitCore                     	0x00000001aabd8fcc UIApplicationMain + 168 (UIApplication.m:4740)
75  DietDoctor                    	0x00000001006cc9d4 main + 88 (main.m:7)
76  libdyld.dylib                 	0x00000001a7e10cf8 start + 4

@minhchienwikipedia
Copy link

Same issue

Crashed: com.facebook.react.JavaScript
0  AppName                      0x278cc4 std::__1::__hash_iterator<std::__1::__hash_node<firebase::firestore::util::Task*, void*>*> std::__1::__hash_table<firebase::firestore::util::Task*, std::__1::hash<firebase::firestore::util::Task*>, std::__1::equal_to<firebase::firestore::util::Task*>, std::__1::allocator<firebase::firestore::util::Task*> >::find<firebase::firestore::util::Task*>(firebase::firestore::util::Task* const&) + 2394 (__hash_table:2394)
1  AppName                      0x4a73d0 reanimated::MutableValue::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&) + 490444 (RuntimeDecorator.h:490444)
2  hermes                         0xfffc facebook::hermes::HermesRuntimeImpl::JsiProxy::get(hermes::vm::SymbolID) + 1032 (jsi.h:1032)
3  hermes                         0x5169c hermes::vm::JSObject::getComputedWithReceiver_RJS(hermes::vm::Handle<hermes::vm::JSObject>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>) + 112 (HostModel.h:112)
4  hermes                         0x9850 facebook::hermes::HermesRuntimeImpl::getProperty(facebook::jsi::Object const&, facebook::jsi::String const&) + 4172 (hermes.cpp:4172)
5  AppName                      0x60714c facebook::jsi::WithRuntimeDecorator<facebook::react::(anonymous namespace)::ReentrancyCheck, facebook::jsi::Runtime, facebook::jsi::Runtime>::getProperty(facebook::jsi::Object const&, facebook::jsi::String const&) + 607 (decorator.h:607)
6  AppName                      0x4d228c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 365 (jsi.h:365)
7  AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
8  AppName                      0x4a08ac reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
9  AppName                      0x4d4228 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
10 AppName                      0x4d359c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
11 AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
12 AppName                      0x4a08ac reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
13 AppName                      0x4d4228 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
14 AppName                      0x4d2ac0 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
15 AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
16 AppName                      0x4a08ac reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
17 AppName                      0x4d4228 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
18 AppName                      0x4d359c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
19 AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
20 AppName                      0x4a08ac reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
21 AppName                      0x4d4228 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
22 AppName                      0x4d2ac0 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
23 AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
24 AppName                      0x4a08ac reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
25 AppName                      0x4d4228 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
26 AppName                      0x4d359c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
27 AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
28 AppName                      0x4a08ac reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
29 AppName                      0x4d4228 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 2918 (memory:2918)
30 AppName                      0x4d2ac0 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 2099 (memory:2099)
31 AppName                      0x4d43c4 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
32 AppName                      0x4b02a4 reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&) + 141 (NativeReanimatedModule.cpp:141)
33 AppName                      0x608bcc std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const + 2560 (functional:2560)
34 hermes                         0x120d8 std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const + 2548 (functional:2548)
35 hermes                         0x11a84 facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs) + 1032 (jsi.h:1032)
36 hermes                         0x2079c hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*) + 1933 (Runtime.h:1933)
37 hermes                         0x3a358 hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*) + 294 (Interpreter.cpp:294)
38 hermes                         0x3bccc hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&) + 1411 (Runtime.h:1411)
39 hermes                         0x3b414 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 820 (Interpreter.cpp:820)
40 hermes                         0x209b0 hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*) + 413 (CallResult.h:413)
41 hermes                         0x1f834 hermes::vm::Callable::executeCall(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::JSObject>) + 384 (Callable.cpp:384)
42 hermes                         0xc1338 hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs) + 225 (Function.cpp:225)
43 hermes                         0x2079c hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*) + 1933 (Runtime.h:1933)
44 hermes                         0x3a358 hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*) + 294 (Interpreter.cpp:294)
45 hermes                         0x3bccc hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&) + 1411 (Runtime.h:1411)
46 hermes                         0x3b414 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 820 (Interpreter.cpp:820)
47 hermes                         0x209b0 hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*) + 413 (CallResult.h:413)
48 hermes                         0x1f834 hermes::vm::Callable::executeCall(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::JSObject>) + 384 (Callable.cpp:384)
49 hermes                         0xc1338 hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs) + 225 (Function.cpp:225)
50 hermes                         0x2079c hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*) + 1933 (Runtime.h:1933)
51 hermes                         0x3a358 hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*) + 294 (Interpreter.cpp:294)
52 hermes                         0x3bccc hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false, false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&) + 1411 (Runtime.h:1411)
53 hermes                         0x3b414 hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) + 820 (Interpreter.cpp:820)
54 hermes                         0x209b0 hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*) + 413 (CallResult.h:413)
55 hermes                         0x20314 hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime*) + 1880 (Runtime.h:1880)
56 hermes                         0xaad4 facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 8912 (hermes.cpp:8912)
57 AppName                      0x607afc facebook::jsi::WithRuntimeDecorator<facebook::react::(anonymous namespace)::ReentrancyCheck, facebook::jsi::Runtime, facebook::jsi::Runtime>::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 701 (decorator.h:701)
58 AppName                      0x638ab0 facebook::jsi::Value facebook::jsi::Function::call<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, facebook::jsi::Value>(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, facebook::jsi::Value&&) const + 228 (jsi-inl.h:228)
59 AppName                      0x638914 std::__1::__function::__func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&)::$_4, std::__1::allocator<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&)::$_4>, void ()>::operator()() + 256 (JSIExecutor.cpp:256)
60 AppName                      0x4d9898 void std::__1::__invoke_void_return_wrapper<void, true>::__call<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()> >(void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>&&) + 1843 (functional:1843)
61 AppName                      0x635ebc facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&) + 1843 (functional:1843)
62 AppName                      0x5e0ddc std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()() + 1732 (functional:1732)
63 AppName                      0x52e318 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 1885 (functional:1885)
64 AppName                      0x53a44c facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 69 (RCTMessageThread.mm:69)
65 AppName                      0x53a200 invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 46 (RCTMessageThread.mm:46)
66 CoreFoundation                 0x729d4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
67 CoreFoundation                 0x738d0 __CFRunLoopDoBlocks + 412
68 CoreFoundation                 0xb890 __CFRunLoopRun + 800
69 CoreFoundation                 0x1f468 CFRunLoopRunSpecific + 600
70 AppName                      0x5236c0 +[RCTCxxBridge runRunLoop] + 367 (RCTCxxBridge.mm:367)
71 Foundation                     0x6840c __NSThread__start__ + 808
72 libsystem_pthread.dylib        0x19a4 _pthread_start + 148
73 libsystem_pthread.dylib        0xea0 thread_start + 8

@anhquan291
Copy link

Facing the same issue on ver 2.3.0

@mmmulani
Copy link

Ran into a similar issue where our app would randomly hang with a similar stackframe. Updating to 3.0.2 fixed it, which I believe is because of a large refactor that was done in #3722.

Here was the stack frame we were seeing, which also has that NativeReanimatedModule::startMapper in it.

Thread 1 Queue : com.apple.main-thread (serial)
#0	0x00000001f95cd67c in __psynch_cvwait ()
#1	0x0000000209d3806c in _pthread_cond_wait ()
#2	0x00000001cf1dccdc in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) ()
#3	0x00000001cf1cd888 in WTF::LockAlgorithm<unsigned char, (unsigned char)1, (unsigned char)2, WTF::EmptyLockHooks<unsigned char> >::lockSlow(WTF::Atomic<unsigned char>&) ()
#4	0x00000001d012e340 in JSC::JSLock::lock(long) ()
#5	0x00000001cf637a84 in JSValueUnprotect ()
#6	0x00000001035210ec in facebook::jsc::JSCRuntime::JSCObjectValue::invalidate() at node_modules/react-native/ReactCommon/jsi/JSCRuntime.cpp:590
#7	0x0000000102f03b90 in facebook::jsi::Pointer::~Pointer() at ios/Pods/Headers/Public/React-jsi/jsi/jsi.h:371
#8	0x000000010352d1e4 in facebook::jsi::Pointer::~Pointer() at ios/Pods/Headers/Private/React-jsi/jsi/jsi.h:369
#9	0x000000010352cc2c in facebook::jsi::Value::~Value() at node_modules/react-native/ReactCommon/jsi/jsi/jsi.cpp:250
#10	0x000000010352c36c in facebook::jsi::Value::~Value() at node_modules/react-native/ReactCommon/jsi/jsi/jsi.cpp:248
#11	0x00000001032267b8 in std::__1::default_delete<facebook::jsi::Value>::operator()(facebook::jsi::Value*) const at iPhoneOS16.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:57
#12	0x0000000103226734 in std::__1::unique_ptr<facebook::jsi::Value, std::__1::default_delete<facebook::jsi::Value> >::reset(facebook::jsi::Value*) at iPhoneOS16.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:318
#13	0x00000001032266c4 in std::__1::unique_ptr<facebook::jsi::Value, std::__1::default_delete<facebook::jsi::Value> >::~unique_ptr() at iPhoneOS16.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:272
#14	0x00000001032211f8 in std::__1::unique_ptr<facebook::jsi::Value, std::__1::default_delete<facebook::jsi::Value> >::~unique_ptr() at iPhoneOS16.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:272
#15	0x0000000103225bd8 in reanimated::ShareableValue::~ShareableValue() at node_modules/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.h:23
#16	0x00000001032257fc in reanimated::ShareableValue::~ShareableValue() at node_modules/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.h:23
#17	0x0000000103225828 in reanimated::ShareableValue::~ShareableValue() at node_modules/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.h:23
#18	0x000000010322fcb8 in std::__1::default_delete<reanimated::ShareableValue>::operator()(reanimated::ShareableValue*) const at iPhoneOS16.2.sdk/usr/include/c++/v1/__memory/unique_ptr.h:57
...
#32	0x000000010315350c in reanimated::FrozenObject::~FrozenObject() at node_modules/react-native-reanimated/Common/cpp/SharedItems/FrozenObject.h:16
#33	0x000000010314f8ec in reanimated::FrozenObject::~FrozenObject() at node_modules/react-native-reanimated/Common/cpp/SharedItems/FrozenObject.h:16
#34	0x000000010322be3c in std::__1::__shared_ptr_emplace<reanimated::FrozenObject, std::__1::allocator<reanimated::FrozenObject> >::__on_zero_shared() at iPhoneOS16.2.sdk/usr/include/c++/v1/__memory/shared_ptr.h:315
...
#56	0x00000001cf636e70 in JSValueMakeString ()
...
#84	0x0000000103223744 in reanimated::ShareableValue::getValue(facebook::jsi::Runtime&) at node_modules/react-native-reanimated/Common/cpp/SharedItems/ShareableValue.cpp:212
#85	0x00000001031c2dd4 in reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2::operator()() const at node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp:163
#86	0x00000001031c2d6c in decltype(static_cast<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2&>(fp)()) std::__1::__invoke<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2&>(reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2&) at iPhoneOS16.2.sdk/usr/include/c++/v1/type_traits:3918
#87	0x00000001031c2d24 in void std::__1::__invoke_void_return_wrapper<void, true>::__call<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2&>(reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2&) at iPhoneOS16.2.sdk/usr/include/c++/v1/__functional/invoke.h:61
#88	0x00000001031c2cfc in std::__1::__function::__alloc_func<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2, std::__1::allocator<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2>, void ()>::operator()() at iPhoneOS16.2.sdk/usr/include/c++/v1/__functional/function.h:178
#89	0x00000001031c16ac in std::__1::__function::__func<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2, std::__1::allocator<reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&)::$_2>, void ()>::operator()() at iPhoneOS16.2.sdk/usr/include/c++/v1/__functional/function.h:352
#90	0x0000000103586064 in std::__1::__function::__value_func<void ()>::operator()() const at iPhoneOS16.2.sdk/usr/include/c++/v1/__functional/function.h:505
#91	0x0000000103585f74 in std::__1::function<void ()>::operator()() const at iPhoneOS16.2.sdk/usr/include/c++/v1/__functional/function.h:1182
#92	0x000000010321c10c in reanimated::Scheduler::triggerUI() at node_modules/react-native-reanimated/Common/cpp/Tools/Scheduler.cpp:17
#93	0x00000001031e329c in invocation function for block in reanimated::REAIOSScheduler::scheduleOnUI(std::__1::function<void ()>) at node_modules/react-native-reanimated/ios/native/REAIOSScheduler.mm:40
#94	0x0000000105bb453c in _dispatch_call_block_and_release ()
#95	0x0000000105bb5ff0 in _dispatch_client_callout ()
#96	0x0000000105bc6800 in _dispatch_main_queue_drain ()
#97	0x0000000105bc6344 in _dispatch_main_queue_callback_4CF ()
#98	0x00000001bbb496c8 in __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ ()
#99	0x00000001bbb2b02c in __CFRunLoopRun ()
#100	0x00000001bbb2feb0 in CFRunLoopRunSpecific ()
#101	0x00000001f5d25368 in GSEventRunModal ()
#102	0x00000001be025668 in -[UIApplication _run] ()
#103	0x00000001be0252cc in UIApplicationMain ()
#104	0x0000000102eb6c0c in main at main.m:7
#105	0x00000001da428960 in start ()

Enqueued from com.apple.root.default-qos.overcommit (Thread 10) Queue : com.apple.root.default-qos.overcommit (serial)
#0	0x0000000105bbace0 in dispatch_async ()
#1	0x00000001031e2f84 in reanimated::REAIOSScheduler::scheduleOnUI(std::__1::function<void ()>) at node_modules/react-native-reanimated/ios/native/REAIOSScheduler.mm:38
#2	0x00000001031aa9c8 in reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&) at node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp:161
#3	0x00000001031d2d64 in reanimated::__hostFunction_NativeReanimatedModuleSpec_startMapper(facebook::jsi::Runtime&, facebook::react::TurboModule&, facebook::jsi::Value const*, unsigned long) at node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModuleSpec.cpp:54
#4	0x00000001035a4d70 in facebook::react::TurboModule::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&, facebook::react::TurboModule::MethodMetadata const&)::$_0::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const at node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModule.cpp:30
...
#45	0x00000001cfd55208 in JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#46	0x00000001d00b8b24 in JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) ()
#47	0x00000001cf5797fc in vmEntryToNative ()
#48	0x00000001cfd55230 in JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#49	0x00000001cf62f5f8 in JSObjectCallAsFunction ()
#50	0x00000001035233a0 in facebook::jsc::JSCRuntime::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) at node_modules/react-native/ReactCommon/jsi/JSCRuntime.cpp:1275
#51	0x000000010300d71c in facebook::jsi::Function::call(facebook::jsi::Runtime&, facebook::jsi::Value const*, unsigned long) const at ios/Pods/Headers/Public/React-jsi/jsi/jsi-inl.h:234
#52	0x000000010300d698 in facebook::jsi::Function::call(facebook::jsi::Runtime&, std::initializer_list<facebook::jsi::Value>) const at ios/Pods/Headers/Public/React-jsi/jsi/jsi-inl.h:239
#53	0x000000010353dae8 in facebook::jsi::Value facebook::jsi::Function::call<double const&, facebook::jsi::Value>(facebook::jsi::Runtime&, double const&, facebook::jsi::Value&&) const at ios/Pods/Headers/Public/React-jsi/jsi/jsi-inl.h:247
#54	0x000000010353d840 in facebook::react::JSIExecutor::invokeCallback(double, folly::dynamic const&) at node_modules/react-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp:281
#55	0x000000010350c468 in facebook::react::NativeToJsBridge::invokeCallback(double, folly::dynamic&&)::$_3::operator()(facebook::react::JSExecutor*) const at node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp:238
...
#78	0x0000000103357064 in invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) at node_modules/react-native/React/CxxBridge/RCTMessageThread.mm:45
#79	0x00000001bbaf2514 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ ()
#80	0x00000001bbb5ad6c in __CFRunLoopDoBlocks ()
#81	0x00000001bbb2b1cc in __CFRunLoopRun ()
#82	0x00000001bbb2feb0 in CFRunLoopRunSpecific ()
#83	0x000000010330220c in +[RCTCxxBridge runRunLoop] at node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm:335
#84	0x00000001b5e7d518 in __NSThread__start__ ()
#85	0x0000000209d316cc in _pthread_start ()
#86	0x0000000209d30ba4 in thread_start ()

Thread 9#0	0x0000000209d30b90 in start_wqthread ()
com.facebook.react.JavaScript (10)#0	0x00000001f95cd67c in __psynch_cvwait ()
#1	0x0000000209d3806c in _pthread_cond_wait ()
#2	0x00000001cf1dccdc in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) ()
#3	0x00000001cf1cd888 in WTF::LockAlgorithm<unsigned char, (unsigned char)1, (unsigned char)2, WTF::EmptyLockHooks<unsigned char> >::lockSlow(WTF::Atomic<unsigned char>&) ()
#4	0x00000001d012e340 in JSC::JSLock::lock(long) ()
#5	0x00000001cf637a84 in JSValueUnprotect ()
#6	0x00000001035210ec in facebook::jsc::JSCRuntime::JSCObjectValue::invalidate() at node_modules/react-native/ReactCommon/jsi/JSCRuntime.cpp:590
#7	0x0000000102f03b90 in facebook::jsi::Pointer::~Pointer() at ios/Pods/Headers/Public/React-jsi/jsi/jsi.h:371
...
#70	0x00000001031aa6f4 in reanimated::NativeReanimatedModule::startMapper(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&, facebook::jsi::Value const&) at node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp:146
#71	0x00000001031d2d64 in reanimated::__hostFunction_NativeReanimatedModuleSpec_startMapper(facebook::jsi::Runtime&, facebook::react::TurboModule&, facebook::jsi::Value const*, unsigned long) at node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModuleSpec.cpp:54
#72	0x00000001035a4d70 in facebook::react::TurboModule::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&, facebook::react::TurboModule::MethodMetadata const&)::$_0::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const at node_modules/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModule.cpp:30
...
#79	0x0000000103529b68 in facebook::jsc::JSCRuntime::createFunctionFromHostFunction(facebook::jsi::PropNameID const&, unsigned int, std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>)::HostFunctionMetadata::call(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) at node_modules/react-native/ReactCommon/jsi/JSCRuntime.cpp:1173
#80	0x00000001cf61d930 in JSC::callJSNonFinalObjectCallbackObject(JSC::JSGlobalObject*, JSC::CallFrame*) ()
#81	0x00000001cfe461f0 in JSC::handleHostCall(JSC::JSGlobalObject*, JSC::CallFrame*, JSC::JSValue, JSC::CallLinkInfo*) ()
#82	0x00000001cfe7f8b4 in llint_link_call ()
#83	0x00000001cf5a5e88 in llint_function_for_construct_arity_checkTagGateAfter ()

@github-actions
Copy link

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?

@exoriri
Copy link

exoriri commented Jul 28, 2023

Got same problem with version 3.4.1. Downgrading to version 3.3.1 solved issue. Maybe it is also related to other libraries that use different version from yours.

@2sem
Copy link

2sem commented Aug 18, 2023

2.9.1
EXC_BREAKPOINT

Crashed: com.facebook.react.JavaScript
0  JavaScriptCore                 0x93fc WTFCrashWithInfo(int, char const*, char const*, int) + 20
1  JavaScriptCore                 0x118a434 JSC::JSLockHolder::~JSLockHolder() + 272
2  JavaScriptCore                 0x4f1894 JSObjectCopyPropertyNames + 376
3  0x642810 facebook::jsc::JSCRuntime::getPropertyNames(facebook::jsi::Object const&) + 976 (JSCRuntime.cpp:976)
4  0x50b224 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 757 (jsi.h:757)
5  0x53a7e8 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 635 (shared_ptr.h:635)
6  0x539b5c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 728 (unique_ptr.h:728)
7  0x53a980 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
8  0x50b420 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
9  0x53a7e8 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 635 (shared_ptr.h:635)
10 0x539084 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 728 (unique_ptr.h:728)
11 0x53a980 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
12 0x50b420 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
13 0x53a7e8 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 635 (shared_ptr.h:635)
14 0x539b5c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 728 (unique_ptr.h:728)
15 0x53a980 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
16 0x50b420 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
17 0x53a7e8 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 635 (shared_ptr.h:635)
18 0x539b5c reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 728 (unique_ptr.h:728)
19 0x53a980 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
20 0x50b420 reanimated::FrozenObject::FrozenObject(facebook::jsi::Runtime&, facebook::jsi::Object const&, reanimated::RuntimeManager*) + 19 (FrozenObject.cpp:19)
21 0x53a7e8 std::__1::shared_ptr<reanimated::FrozenObject> std::__1::make_shared<reanimated::FrozenObject, facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&, void>(facebook::jsi::Runtime&, facebook::jsi::Object&, reanimated::RuntimeManager*&) + 635 (shared_ptr.h:635)
22 0x539084 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::ValueType) + 728 (unique_ptr.h:728)
23 0x53a980 reanimated::ShareableValue::adapt(facebook::jsi::Runtime&, facebook::jsi::Value const&, reanimated::RuntimeManager*, reanimated::ValueType) + 196 (ShareableValue.cpp:196)
24 0x51ac1c reanimated::NativeReanimatedModule::registerEventHandler(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const&) + 589 (shared_ptr.h:589)
25 0x644ea0 std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const + 1182 (function.h:1182)
26 0x644be8 facebook::jsc::JSCRuntime::createFunctionFromHostFunction(facebook::jsi::PropNameID const&, unsigned int, std::__1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>)::HostFunctionMetadata::call(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) + 1157 (JSCRuntime.cpp:1157)
27 JavaScriptCore                 0x4dfb90 JSC::callJSNonFinalObjectCallbackObject(JSC::JSGlobalObject*, JSC::CallFrame*) + 408
28 JavaScriptCore                 0xe9eb68 JSC::handleHostCall(JSC::JSGlobalObject*, JSC::CallFrame*, JSC::JSValue, JSC::CallLinkInfo*) + 444
29 JavaScriptCore                 0xee6214 llint_link_call + 324
30 JavaScriptCore                 0x467eb0 llint_function_for_construct_arity_checkTagGateAfter + 156660
31 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
32 JavaScriptCore                 0x4647d0 llint_function_for_construct_arity_checkTagGateAfter + 142612
33 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
34 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
35 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
36 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
37 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
38 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
39 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
40 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
41 JavaScriptCore                 0x43b660 vmEntryToJavaScriptGateAfter + 6
42 JavaScriptCore                 0xcd41b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 508
43 JavaScriptCore                 0x1115960 JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 772
44 JavaScriptCore                 0x467cdc llint_function_for_construct_arity_checkTagGateAfter + 156192
45 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
46 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
47 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
48 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
49 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
50 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
51 JavaScriptCore                 0x43b660 vmEntryToJavaScriptGateAfter + 6
52 JavaScriptCore                 0xcd41b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 508
53 JavaScriptCore                 0x1115960 JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 772
54 JavaScriptCore                 0x467cdc llint_function_for_construct_arity_checkTagGateAfter + 156192
55 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
56 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
57 JavaScriptCore                 0x43b660 vmEntryToJavaScriptGateAfter + 6
58 JavaScriptCore                 0xcd41b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 508
59 JavaScriptCore                 0x1115960 JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 772
60 JavaScriptCore                 0x467cdc llint_function_for_construct_arity_checkTagGateAfter + 156192
61 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
62 JavaScriptCore                 0x465cf8 llint_function_for_construct_arity_checkTagGateAfter + 148028
63 JavaScriptCore                 0x465cf8 llint_function_for_construct_arity_checkTagGateAfter + 148028
64 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
65 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
66 JavaScriptCore                 0x46487c llint_function_for_construct_arity_checkTagGateAfter + 142784
67 JavaScriptCore                 0x43b660 vmEntryToJavaScriptGateAfter + 6
68 JavaScriptCore                 0xcd41b4 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 508
69 JavaScriptCore                 0x1115960 JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 772
70 JavaScriptCore                 0x43b80c vmEntryToNative + 276
71 JavaScriptCore                 0xcd4244 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 652
72 JavaScriptCore                 0x4f12b8 JSObjectCallAsFunction + 480
73 0x6430e4 facebook::jsc::JSCRuntime::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) + 1260 (JSCRuntime.cpp:1260)
74 0x64f078 facebook::jsi::Value facebook::jsi::Function::call<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, facebook::jsi::Value>(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, facebook::jsi::Value&&) const + 228 (jsi-inl.h:228)
75 0x64eedc std::__1::__function::__func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4, std::__1::allocator<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&)::$_4>, void ()>::operator()() + 256 (JSIExecutor.cpp:256)
76 0x580ed8 void std::__1::__invoke_void_return_wrapper<void, true>::__call<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>>(void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>&&) + 463 (function.h:463)
77 0x64c2a4 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, folly::dynamic const&) + 463 (function.h:463)
0x63f898 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()() + 352 (function.h:352)
0x59cc64 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 505 (function.h:505)

@Latropos Latropos added Unable to repro Close when stale This issue is going to be closed when there is no activity for a while labels Nov 15, 2023
@github-actions github-actions bot closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario Needs review Issue is ready to be reviewed by a maintainer Platform: iOS This issue is specific to iOS Unable to repro
Projects
None yet
Development

No branches or pull requests

8 participants