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

Application is crashed after reload #4778

Closed
victor-asdf opened this issue Jul 20, 2023 · 5 comments
Closed

Application is crashed after reload #4778

victor-asdf opened this issue Jul 20, 2023 · 5 comments
Labels
Needs review Issue is ready to be reviewed by a maintainer Repro provided A reproduction with a snippet of code, snack or repo is provided

Comments

@victor-asdf
Copy link

Description

Application is crashed when trigger reload action ( by press R in development or programmatically in production ).

Steps to reproduce

  1. Create a fresh application
  2. Install latest version of react-native-reaminated v3.3.0 and setup as the docs
  3. Install latest version of react-native-bottom-sheet v4.4.7 or any of alpha version
  4. Use the bottom-sheet, which is using react-native-reanimated for animation
  5. Trigger reload action by Press R in the simulator

Crash log as follow

#0	0x00000001b17e3fa8 in __pthread_kill ()
#1	0x00000001b183812c in pthread_kill ()
#2	0x000000018012873c in abort ()
#3	0x0000000180127bb0 in __assert_rtn ()
#4	0x0000000102b8e8d0 in facebook::jsc::JSCRuntime::~JSCRuntime() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:413
#5	0x0000000102b8ea30 in facebook::jsc::JSCRuntime::~JSCRuntime() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:403
#6	0x0000000102b8ea80 in facebook::jsc::JSCRuntime::~JSCRuntime() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:403
#7	0x0000000102963358 in std::__1::default_delete<facebook::jsi::Runtime>::operator()[abi:v15006](facebook::jsi::Runtime*) const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/unique_ptr.h:48
#8	0x0000000102963898 in std::__1::__shared_ptr_pointer<facebook::jsi::Runtime*, std::__1::default_delete<facebook::jsi::Runtime>, std::__1::allocator<facebook::jsi::Runtime> >::__on_zero_shared() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:263
#9	0x000000010281a99c in std::__1::__shared_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:174
#10	0x000000010281a93c in std::__1::__shared_weak_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:215
#11	0x00000001028976b4 in std::__1::shared_ptr<facebook::jsi::Runtime>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:702
#12	0x0000000102895568 in std::__1::shared_ptr<facebook::jsi::Runtime>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:700
#13	0x00000001028b9bac in std::__1::shared_ptr<facebook::jsi::Runtime>::reset[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:768
#14	0x00000001028b9998 in reanimated::NativeReanimatedModule::~NativeReanimatedModule() at /Users/xxxx/lasbom/reanimated/node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp:202
#15	0x00000001028b9bd4 in reanimated::NativeReanimatedModule::~NativeReanimatedModule() at /Users/xxxx/lasbom/reanimated/node_modules/react-native-reanimated/Common/cpp/NativeModules/NativeReanimatedModule.cpp:194
#16	0x00000001028b4c40 in std::__1::__shared_ptr_emplace<reanimated::NativeReanimatedModule, std::__1::allocator<reanimated::NativeReanimatedModule> >::__on_zero_shared() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:311
#17	0x000000010281a99c in std::__1::__shared_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:174
#18	0x000000010281a93c in std::__1::__shared_weak_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:215
#19	0x00000001028f9280 in std::__1::shared_ptr<facebook::jsi::HostObject>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:702
#20	0x00000001028f8b48 in std::__1::shared_ptr<facebook::jsi::HostObject>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:700
#21	0x0000000102b95de8 in facebook::jsc::detail::HostObjectProxyBase::~HostObjectProxyBase() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:751
#22	0x0000000102b95db8 in facebook::jsc::JSCRuntime::createObject(std::__1::shared_ptr<facebook::jsi::HostObject>)::HostObjectProxy::~HostObjectProxy() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:768
#23	0x0000000102b95d8c in facebook::jsc::JSCRuntime::createObject(std::__1::shared_ptr<facebook::jsi::HostObject>)::HostObjectProxy::~HostObjectProxy() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:768
#24	0x0000000102b94f0c in facebook::jsc::JSCRuntime::createObject(std::__1::shared_ptr<facebook::jsi::HostObject>)::HostObjectProxy::finalize(OpaqueJSValue*) at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:873
#25	0x000000010891814c in JSC::JSCallbackObject<JSC::JSNonFinalObject>::destroy(JSC::JSCell*) ()
#26	0x0000000108f1fc3c in JSC::IsoHeapCellType::finishSweep(JSC::MarkedBlock::Handle&, JSC::FreeList*) const ()
#27	0x0000000108f26864 in JSC::MarkedBlock::Handle::sweep(JSC::FreeList*) ()
#28	0x0000000108edd784 in JSC::BlockDirectory::lastChanceToFinalize() ()
#29	0x0000000108f28b3c in JSC::MarkedSpace::lastChanceToFinalize() ()
#30	0x0000000108ee7e70 in JSC::Heap::lastChanceToFinalize() ()
#31	0x000000010955cb04 in JSC::VM::~VM() ()
#32	0x00000001093e2718 in JSC::JSLockHolder::~JSLockHolder() ()
#33	0x0000000108929cdc in JSGlobalContextRelease ()
#34	0x0000000102b8e870 in facebook::jsc::JSCRuntime::~JSCRuntime() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:411
#35	0x0000000102b8ea30 in facebook::jsc::JSCRuntime::~JSCRuntime() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:403
#36	0x0000000102b8ea80 in facebook::jsc::JSCRuntime::~JSCRuntime() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp:403
#37	0x0000000102963358 in std::__1::default_delete<facebook::jsi::Runtime>::operator()[abi:v15006](facebook::jsi::Runtime*) const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/unique_ptr.h:48
#38	0x0000000102963898 in std::__1::__shared_ptr_pointer<facebook::jsi::Runtime*, std::__1::default_delete<facebook::jsi::Runtime>, std::__1::allocator<facebook::jsi::Runtime> >::__on_zero_shared() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:263
#39	0x000000010281a99c in std::__1::__shared_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:174
#40	0x000000010281a93c in std::__1::__shared_weak_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:215
#41	0x00000001028976b4 in std::__1::shared_ptr<facebook::jsi::Runtime>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:702
#42	0x0000000102895568 in std::__1::shared_ptr<facebook::jsi::Runtime>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:700
#43	0x0000000102bab0ac in facebook::react::JSIExecutor::~JSIExecutor() at /Users/xxxx/lasbom/reanimated/ios/Pods/Headers/Private/React-jsiexecutor/jsireact/JSIExecutor.h:72
#44	0x0000000102baa0b4 in facebook::react::JSIExecutor::~JSIExecutor() at /Users/xxxx/lasbom/reanimated/ios/Pods/Headers/Private/React-jsiexecutor/jsireact/JSIExecutor.h:72
#45	0x0000000102baa0e0 in facebook::react::JSIExecutor::~JSIExecutor() at /Users/xxxx/lasbom/reanimated/ios/Pods/Headers/Private/React-jsiexecutor/jsireact/JSIExecutor.h:72
#46	0x00000001029a3d94 in std::__1::default_delete<facebook::react::JSExecutor>::operator()[abi:v15006](facebook::react::JSExecutor*) const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/unique_ptr.h:48
#47	0x00000001029a3d00 in std::__1::unique_ptr<facebook::react::JSExecutor, std::__1::default_delete<facebook::react::JSExecutor> >::reset[abi:v15006](facebook::react::JSExecutor*) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/unique_ptr.h:305
#48	0x0000000102b83e88 in std::__1::unique_ptr<facebook::react::JSExecutor, std::__1::default_delete<facebook::react::JSExecutor> >::operator=[abi:v15006](std::nullptr_t) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/unique_ptr.h:263
#49	0x0000000102b83e58 in facebook::react::NativeToJsBridge::destroy()::$_7::operator()() const at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp:288
#50	0x0000000102b83df4 in decltype(std::declval<facebook::react::NativeToJsBridge::destroy()::$_7&>()()) std::__1::__invoke[abi:v15006]<facebook::react::NativeToJsBridge::destroy()::$_7&>(facebook::react::NativeToJsBridge::destroy()::$_7&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/invoke.h:394
#51	0x0000000102b83dac in void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::NativeToJsBridge::destroy()::$_7&>(facebook::react::NativeToJsBridge::destroy()::$_7&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/invoke.h:479
#52	0x0000000102b83d88 in std::__1::__function::__alloc_func<facebook::react::NativeToJsBridge::destroy()::$_7, std::__1::allocator<facebook::react::NativeToJsBridge::destroy()::$_7>, void ()>::operator()[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:185
#53	0x0000000102b82bfc in std::__1::__function::__func<facebook::react::NativeToJsBridge::destroy()::$_7, std::__1::allocator<facebook::react::NativeToJsBridge::destroy()::$_7>, void ()>::operator()() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:359
#54	0x00000001027fc204 in std::__1::__function::__value_func<void ()>::operator()[abi:v15006]() const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:512
#55	0x00000001027fc1b4 in std::__1::function<void ()>::operator()() const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:1197
#56	0x00000001029afcf8 in facebook::react::tryAndReturnError(std::__1::function<void ()> const&) at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxModule/RCTCxxUtils.mm:74
#57	0x00000001029d2f6c in facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTMessageThread.mm:69
#58	0x00000001029d97c0 in facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2::operator()() const at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTMessageThread.mm:94
#59	0x00000001029d9774 in decltype(std::declval<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2&>()()) std::__1::__invoke[abi:v15006]<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2&>(facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/invoke.h:394
#60	0x00000001029d972c in void std::__1::__invoke_void_return_wrapper<void, true>::__call<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2&>(facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2&) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/invoke.h:479
#61	0x00000001029d9708 in std::__1::__function::__alloc_func<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2, std::__1::allocator<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2>, void ()>::operator()[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:185
#62	0x00000001029d8494 in std::__1::__function::__func<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2, std::__1::allocator<facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&)::$_2>, void ()>::operator()() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:359
#63	0x00000001027fc204 in std::__1::__function::__value_func<void ()>::operator()[abi:v15006]() const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:512
#64	0x00000001027fc1b4 in std::__1::function<void ()>::operator()() const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:1197
#65	0x00000001029d2da4 in facebook::react::RCTMessageThread::runSync(std::__1::function<void ()>) at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTMessageThread.mm:55
#66	0x00000001029d3214 in facebook::react::RCTMessageThread::runOnQueueSync(std::__1::function<void ()>&&) at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTMessageThread.mm:92
#67	0x0000000102b7382c in facebook::react::NativeToJsBridge::destroy() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp:285
#68	0x0000000102b4e8d8 in facebook::react::Instance::~Instance() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/cxxreact/Instance.cpp:39
#69	0x0000000102b4e99c in facebook::react::Instance::~Instance() at /Users/xxxx/lasbom/reanimated/node_modules/react-native/ReactCommon/cxxreact/Instance.cpp:37
#70	0x000000010299d42c in std::__1::default_delete<facebook::react::Instance>::operator()[abi:v15006](facebook::react::Instance*) const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/unique_ptr.h:48
#71	0x000000010299d1c4 in std::__1::__shared_ptr_pointer<facebook::react::Instance*, std::__1::shared_ptr<facebook::react::Instance>::__shared_ptr_default_delete<facebook::react::Instance, facebook::react::Instance>, std::__1::allocator<facebook::react::Instance> >::__on_zero_shared() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:263
#72	0x000000010281a99c in std::__1::__shared_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:174
#73	0x000000010281a93c in std::__1::__shared_weak_count::__release_shared[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:215
#74	0x000000010299cbe8 in std::__1::shared_ptr<facebook::react::Instance>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:702
#75	0x0000000102989adc in std::__1::shared_ptr<facebook::react::Instance>::~shared_ptr[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:700
#76	0x0000000102992adc in std::__1::shared_ptr<facebook::react::Instance>::reset[abi:v15006]() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__memory/shared_ptr.h:768
#77	0x0000000102993b30 in __26-[RCTCxxBridge invalidate]_block_invoke at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm:1309
#78	0x000000010299cb2c in decltype(std::declval<void () block_pointer __strong&>()()) std::__1::__invoke[abi:v15006]<void () block_pointer __strong&>(&&, decltype(std::declval<void () block_pointer __strong&>()())&&...) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/invoke.h:394
#79	0x000000010299c9bc in std::__1::__function::__func<void () block_pointer __strong, std::__1::allocator<std::__1::allocator>, void ()>::operator()() at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:947
#80	0x00000001027fc204 in std::__1::__function::__value_func<void ()>::operator()[abi:v15006]() const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:512
#81	0x00000001027fc1b4 in std::__1::function<void ()>::operator()() const at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/c++/v1/__functional/function.h:1197
#82	0x00000001029afcf8 in facebook::react::tryAndReturnError(std::__1::function<void ()> const&) at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxModule/RCTCxxUtils.mm:74
#83	0x0000000102989844 in -[RCTCxxBridge _tryAndHandleError:] at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm:346
#84	0x0000000180bbf134 in __NSThreadPerformPerform ()
#85	0x000000018039ac6c in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#86	0x000000018039abb4 in __CFRunLoopDoSource0 ()
#87	0x000000018039a324 in __CFRunLoopDoSources0 ()
#88	0x0000000180394958 in __CFRunLoopRun ()
#89	0x0000000180394254 in CFRunLoopRunSpecific ()
#90	0x0000000102989694 in +[RCTCxxBridge runRunLoop] at /Users/xxxx/lasbom/reanimated/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm:337
#91	0x0000000180bbede0 in __NSThread__start__ ()
#92	0x00000001b1838428 in _pthread_start ()

Snack or a link to a repository

https://github.com/victor-asdf/reanimated.git

Reanimated version

3.3.0

React Native version

0.72.3

Platforms

iOS

JavaScript runtime

JSC

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

iPhone 14Plus

Acknowledgements

Yes

@victor-asdf victor-asdf added the Needs review Issue is ready to be reviewed by a maintainer label Jul 20, 2023
@github-actions github-actions bot added the Repro provided A reproduction with a snippet of code, snack or repo is provided label Jul 20, 2023
@billnbell
Copy link

same here.

@billnbell
Copy link

image

@maydersonmellops
Copy link

Same here

gorhom/react-native-bottom-sheet#1464

@Latropos
Copy link
Contributor

Indeed it crashes. However you don't use reanimated in your example. You have it listed among other dependencies in your package.json, but you import nothing from it. You can remove reanimated from your dependencies at all and the bug persists. It is probably issue with '@gorhom/bottom-sheet', as mentioned above.

@piaskowyk
Copy link
Member

Actually this is an issue and we know about this. To keep informations in one place, I will pin main issue with the same problem - #4783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs review Issue is ready to be reviewed by a maintainer Repro provided A reproduction with a snippet of code, snack or repo is provided
Projects
None yet
Development

No branches or pull requests

5 participants