question-mark
Stuck on an issue?

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

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

iOS app crashes with EXC_BAD_ACCESS KERN_INVALID_ADDRESS

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:4
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
minhchienwikipediacommented, Apr 18, 2022

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
0reactions
anhquan291commented, Apr 28, 2022

Facing the same issue on ver 2.3.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios crash EXC_BAD_ACCESS KERN_INVALID_ADDRESS
This crash occurs due to a dangling pointer. When any variable or object is trying to access an object that's already been deallocated, ......
Read more >
EXC_BAD_ACCESS crash error: Understanding and solving it
EXC: The kernel sends an 'exception'; BAD ACESS: Your app is trying to access a block of memory which it can't. Types of...
Read more >
iOS14 Crash (EXC_BAD_ACCESS KERN_I…
This indicates that your app crash because it tried to referenced NULL. ... Frame 0 shows that it crashed in CFStringGetLength. That function...
Read more >
[IOS] App Crashes with error EXC_BAD_ACCESS ... - GitHub
EXC_BAD_ACCESS KERN_INVALID_ADDRESS means the code tried to access a released object, but the spots where it happened are different, so it's ...
Read more >
iOS app crashes 1 out of 100 times with EXC_BAD_ACCESS ...
iOS app crashes 1 out of 100 times with EXC_BAD_ACCESS KERN_INVALID_ADDRESS, using the same Native method ... My bound native iOS library method ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

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

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found