Okay, I rebuilt libraries, and now this error occurs:
com.facebook.react.JavaScript (7): hit program assert
at line 1123 of jsi/jsi.h
.
which is:
Object getObject(Runtime& runtime) const& {
assert(isObject());
return Object(runtime.cloneObject(data_.pointer.ptr_));
}
and here are stack traces:
#0 0x00000001af86e868 in __pthread_kill ()
#1 0x000000010870abc4 in pthread_kill ()
#2 0x00000001af7de2c8 in abort ()
#3 0x00000001af7dd620 in __assert_rtn ()
#4 0x00000001046ea36c in facebook::jsi::Value::getObject(facebook::jsi::Runtime&) const & at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/macos/jsi/jsi/jsi.h:1123
#5 0x000000010450f600 in Napi::External<Babylon::Graphics::DeviceImpl>::Data() const at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/submodules/BabylonNative/Dependencies/napi/napi-jsi/include/napi/napi-inl.h:761
#6 0x000000010450f4c4 in Babylon::Graphics::DeviceImpl::GetFromJavaScript(Napi::Env) at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/submodules/BabylonNative/Core/Graphics/Source/DeviceImpl.cpp:126
#7 0x0000000104507708 in Babylon::Graphics::DeviceContext::GetFromJavaScript(Napi::Env) at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/submodules/BabylonNative/Core/Graphics/Source/DeviceContext.cpp:25
#8 0x0000000104c0eeec in Babylon::Polyfills::Internal::Window::GetDevicePixelRatio(Napi::CallbackInfo const&) at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/submodules/BabylonNative/Polyfills/Window/Source/Window.cpp:122
#9 0x0000000104877b0c in Napi::details::Function<Napi::Value (*)(Napi::CallbackInfo const&), Napi::Value>::Callback(napi_env__*, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long, void*, Napi::Value (*)(Napi::CallbackInfo const&)) at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/submodules/BabylonNative/Dependencies/napi/napi-jsi/include/napi/napi-inl.h:1254
#10 0x0000000104877a5c in Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(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 at /Users/jihoobyeon/Desktop/BabylonReactNative/Modules/@babylonjs/react-native-macos/submodules/BabylonNative/Dependencies/napi/napi-jsi/include/napi/napi-inl.h:1276
#11 0x0000000104877a08 in decltype(std::declval<Napi::Value (*)(Napi::CallbackInfo const&)>()(std::declval<facebook::jsi::Runtime&>(), std::declval<facebook::jsi::Value const&>(), std::declval<facebook::jsi::Value const*>(), std::declval<unsigned long>())) std::__1::__invoke[abi:v15006]<Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long>(Napi::Value (*&&)(Napi::CallbackInfo const&), facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__functional/invoke.h:394
#12 0x0000000104877990 in facebook::jsi::Value std::__1::__invoke_void_return_wrapper<facebook::jsi::Value, false>::__call<Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long>(Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__functional/invoke.h:470
#13 0x0000000104877944 in std::__1::__function::__alloc_func<Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long), std::__1::allocator<Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>, facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()[abi:v15006](facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__functional/function.h:185
#14 0x0000000104876914 in std::__1::__function::__func<Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long), std::__1::allocator<Napi::Function Napi::Function::New<Napi::Value (*)(Napi::CallbackInfo const&)>(napi_env__*, Napi::Value (*)(Napi::CallbackInfo const&), char const*, void*)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>, 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&&) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__functional/function.h:359
#15 0x0000000104aec990 in std::__1::__function::__value_func<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()[abi:v15006](facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&) const at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__functional/function.h:512
#16 0x0000000104aec394 in 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 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__functional/function.h:1197
#17 0x0000000104aebb90 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 /Users/jihoobyeon/Desktop/foo/node_modules/react-native-macos/ReactCommon/jsi/JSCRuntime.cpp:1158
#18 0x00000001c8fcc9a0 in JSC::callJSNonFinalObjectCallbackObject(JSC::JSGlobalObject*, JSC::CallFrame*) ()
#19 0x00000001c8f293a4 in vmEntryToNative ()