EXC_BAD_ACCESS realm::Array::init_from_ref(unsigned long) Attempted to dereference garbage pointer 0xe028266dbb0. Nov 4th 2022, 07:32:58 UTC STACKTRACE CrashReporter Key: 2cea2397eac8399163ec25b06c8f30c4ca877556 Hardware Model: iPhone15,3 Process: driversnote Identifier: com.driversnote.driversnote Version: 4.7.0 Role: Background OS Version: iOS 16.0 Exception Type: EXC_BAD_ACCESS Exception Subtype: KERN_INVALID_ADDRESS EXC_BAD_ACCESS: Attempted to dereference garbage pointer 0xe028266dbb0. 0 driversnote realm::Array::init_from_ref(unsigned long) (driversnote) 1 driversnote (anonymous namespace)::has_duplicate_values(realm::Array const&, realm::ClusterColumn const&) (driversnote) 2 driversnote realm::Table::contains_unique_values(realm::ColKey) const (driversnote) 3 driversnote realm::Table::validate_column_is_unique(realm::ColKey) const (driversnote) 4 driversnote realm::Group::validate_primary_columns() (driversnote) 5 driversnote realm::ObjectStore::apply_schema_changes(realm::Transaction&, unsigned long long, realm::Schema&, unsigned long long, realm::SchemaMode, std::__1::vector > const&, bool, std::__1::function) (driversnote) 6 driversnote realm::Realm::update_schema(realm::Schema, unsigned long long, std::__1::function, std::__1::shared_ptr, realm::Schema&)>, std::__1::function)>, bool) (driversnote) 7 driversnote realm::_impl::RealmCoordinator::do_get_realm(realm::RealmConfig, std::__1::shared_ptr&, std::__1::optional, realm::util::CheckedUniqueLock&) (driversnote) 8 driversnote realm::_impl::RealmCoordinator::get_realm(realm::RealmConfig, std::__1::optional) (driversnote) 9 driversnote realm::Realm::get_shared_realm(realm::RealmConfig) (driversnote) 10 driversnote realm::js::RealmClass::create_shared_realm(realm::js::JsiEnv, realm::RealmConfig, bool, std::__1::map, std::__1::allocator >, std::__1::map, std::__1::allocator >, realm::js::Protected, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, realm::js::Protected > > >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::map, std::__1::allocator >, realm::js::Protected, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, realm::js::Protected > > > > > >&&, std::__1::map, std::__1::allocator >, realm::js::Protected, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, realm::js::Protected > > >&&) (driversnote) 11 driversnote realm::js::RealmClass::constructor(realm::js::JsiEnv, realm::js::JsiObj, realm::js::Arguments&) (driversnote) 12 driversnote realm::js::realmjsi::ObjectWrap >::create_constructor(realm::js::JsiEnv)::{lambda(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)#1}::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const (driversnote) 13 driversnote operator() (function.h:505:16) 14 hermes facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) (function.h:505:16) 15 hermes hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 16 HermesBuiltin.cpp hermes::vm::hermesBuiltinApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) 17 hermes hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 18 hermes hermes::vm::Interpreter::implCallBuiltin(hermes::vm::Runtime&, hermes::vm::PinnedHermesValue*, hermes::vm::CodeBlock*, unsigned int) (Interpreter-slowpaths.cpp:326:16) 19 hermes hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:1701:9) 20 hermes hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 21 hermes hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 22 hermes hermes::vm::Callable::executeCall(hermes::vm::Handle, hermes::vm::Runtime&, hermes::vm::Handle, hermes::vm::Handle, hermes::vm::Handle) (Callable.h:249:12) 23 hermes hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) (Function.cpp:224:10) 24 hermes hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 25 hermes hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:287:12) 26 hermes hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 27 hermes hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 28 hermes hermes::vm::Callable::executeCall(hermes::vm::Handle, hermes::vm::Runtime&, hermes::vm::Handle, hermes::vm::Handle, hermes::vm::Handle) (Callable.h:249:12) 29 hermes hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) (Function.cpp:224:10) 30 hermes hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 31 hermes hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:287:12) 32 hermes hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 33 hermes hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 34 hermes hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) (Callable.h:249:12) 35 hermes hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:291:12) 36 hermes hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 37 hermes hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 38 hermes hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) (Callable.h:249:12) 39 hermes facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) (Callable.h:249:12) 40 driversnote call (decorator.h:303:19) 41 driversnote call (jsi-inl.h:234:18) 42 driversnote operator() (function.h:505:16) 43 driversnote operator() (function.h:505:16) 44 driversnote tryFunc (RCTMessageThread.mm:69:20) 45 driversnote operator() (function.h:505:16) 46 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ 47 CoreFoundation ___CFRunLoopDoBlocks 48 CoreFoundation ___CFRunLoopRun 49 CoreFoundation _CFRunLoopRunSpecific 50 driversnote +[RCTCxxBridge runRunLoop] (RCTCxxBridge.mm:335:12) 51 Foundation ___NSThread__start__ 52 libsystem_pthread.dylib __pthread_start THREADS Thread 0 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _mach_msg2_trap 1 libsystem_kernel.dylib _mach_msg2_internal 2 libsystem_kernel.dylib _mach_msg_overwrite 3 libsystem_kernel.dylib _mach_msg 4 CoreFoundation ___CFRunLoopServiceMachPort 5 CoreFoundation ___CFRunLoopRun 6 CoreFoundation _CFRunLoopRunSpecific 7 GraphicsServices _GSEventRunModal 8 UIKitCore -[UIApplication _run] 9 UIKitCore _UIApplicationMain 10 driversnote main (main.m:15:12) 11 dyld start Thread 1 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 2 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 3 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 4 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 5 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 6 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _mach_msg2_trap 1 libsystem_kernel.dylib _mach_msg2_internal 2 libsystem_kernel.dylib _mach_msg_overwrite 3 libsystem_kernel.dylib _mach_msg 4 CoreFoundation ___CFRunLoopServiceMachPort 5 CoreFoundation ___CFRunLoopRun 6 CoreFoundation _CFRunLoopRunSpecific 7 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 8 Foundation -[NSRunLoop(NSRunLoop) runUntilDate:] 9 UIKitCore -[UIEventFetcher threadMain] 10 Foundation ___NSThread__start__ 11 libsystem_pthread.dylib __pthread_start Thread 7 - (TH_STATE_WAITING) 0 driversnote realm::Array::init_from_ref(unsigned long) (driversnote) 1 driversnote (anonymous namespace)::has_duplicate_values(realm::Array const&, realm::ClusterColumn const&) (driversnote) 2 driversnote realm::Table::contains_unique_values(realm::ColKey) const (driversnote) 3 driversnote realm::Table::validate_column_is_unique(realm::ColKey) const (driversnote) 4 driversnote realm::Group::validate_primary_columns() (driversnote) 5 driversnote realm::ObjectStore::apply_schema_changes(realm::Transaction&, unsigned long long, realm::Schema&, unsigned long long, realm::SchemaMode, std::__1::vector > const&, bool, std::__1::function) (driversnote) 6 driversnote realm::Realm::update_schema(realm::Schema, unsigned long long, std::__1::function, std::__1::shared_ptr, realm::Schema&)>, std::__1::function)>, bool) (driversnote) 7 driversnote realm::_impl::RealmCoordinator::do_get_realm(realm::RealmConfig, std::__1::shared_ptr&, std::__1::optional, realm::util::CheckedUniqueLock&) (driversnote) 8 driversnote realm::_impl::RealmCoordinator::get_realm(realm::RealmConfig, std::__1::optional) (driversnote) 9 driversnote realm::Realm::get_shared_realm(realm::RealmConfig) (driversnote) 10 driversnote realm::js::RealmClass::create_shared_realm(realm::js::JsiEnv, realm::RealmConfig, bool, std::__1::map, std::__1::allocator >, std::__1::map, std::__1::allocator >, realm::js::Protected, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, realm::js::Protected > > >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, std::__1::map, std::__1::allocator >, realm::js::Protected, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, realm::js::Protected > > > > > >&&, std::__1::map, std::__1::allocator >, realm::js::Protected, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, realm::js::Protected > > >&&) (driversnote) 11 driversnote realm::js::RealmClass::constructor(realm::js::JsiEnv, realm::js::JsiObj, realm::js::Arguments&) (driversnote) 12 driversnote realm::js::realmjsi::ObjectWrap >::create_constructor(realm::js::JsiEnv)::{lambda(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)#1}::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const (driversnote) 13 driversnote operator() (function.h:505:16) 14 driversnote facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) (function.h:505:16) 15 driversnote hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 16 HermesBuiltin.cpp hermes::vm::hermesBuiltinApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) 17 driversnote hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 18 driversnote hermes::vm::Interpreter::implCallBuiltin(hermes::vm::Runtime&, hermes::vm::PinnedHermesValue*, hermes::vm::CodeBlock*, unsigned int) (Interpreter-slowpaths.cpp:326:16) 19 driversnote hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:1701:9) 20 driversnote hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 21 driversnote hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 22 driversnote hermes::vm::Callable::executeCall(hermes::vm::Handle, hermes::vm::Runtime&, hermes::vm::Handle, hermes::vm::Handle, hermes::vm::Handle) (Callable.h:249:12) 23 driversnote hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) (Function.cpp:224:10) 24 driversnote hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 25 driversnote hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:287:12) 26 driversnote hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 27 driversnote hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 28 driversnote hermes::vm::Callable::executeCall(hermes::vm::Handle, hermes::vm::Runtime&, hermes::vm::Handle, hermes::vm::Handle, hermes::vm::Handle) (Callable.h:249:12) 29 driversnote hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime&, hermes::vm::NativeArgs) (Function.cpp:224:10) 30 driversnote hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime&) (Callable.h:503:9) 31 driversnote hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:287:12) 32 driversnote hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 33 driversnote hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 34 driversnote hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) (Callable.h:249:12) 35 driversnote hermes::vm::CallResult hermes::vm::Interpreter::interpretFunction(hermes::vm::Runtime&, hermes::vm::InterpreterState&) (Interpreter.cpp:291:12) 36 driversnote hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*) (Interpreter.cpp:836:12) 37 driversnote hermes::vm::JSFunction::_callImpl(hermes::vm::Handle, hermes::vm::Runtime&) (Callable.cpp:1126:20) 38 driversnote hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime&) (Callable.h:249:12) 39 driversnote facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) (Callable.h:249:12) 40 driversnote call (decorator.h:303:19) 41 driversnote call (jsi-inl.h:234:18) 42 driversnote operator() (function.h:505:16) 43 driversnote operator() (function.h:505:16) 44 driversnote tryFunc (RCTMessageThread.mm:69:20) 45 driversnote operator() (function.h:505:16) 46 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ 47 CoreFoundation ___CFRunLoopDoBlocks 48 CoreFoundation ___CFRunLoopRun 49 CoreFoundation _CFRunLoopRunSpecific 50 driversnote +[RCTCxxBridge runRunLoop] (RCTCxxBridge.mm:335:12) 51 Foundation ___NSThread__start__ 52 libsystem_pthread.dylib __pthread_start Thread 8 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___psynch_cvwait 1 libsystem_pthread.dylib __pthread_cond_wait 2 libc++.1.dylib std::__1::condition_variable::wait(std::__1::unique_lock&) 3 driversnote hermes::vm::HadesGC::Executor::worker() (__mutex_base:404:9) 4 driversnote hermes::vm::HadesGC::Executor::Executor()::{lambda()#1}::operator()() const (HadesGC.cpp:1048:33) 5 libsystem_pthread.dylib __pthread_start Thread 9 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___psynch_cvwait 1 libsystem_pthread.dylib __pthread_cond_wait 2 libc++.1.dylib std::__1::condition_variable::wait(std::__1::unique_lock&) 3 driversnote wait<(lambda at /Users/mrjenkins/.jenkins/workspace/create-release-ios-build/node_modules/react-native/ReactCommon/hermes/inspector/detail/SerialExecutor.cpp:41:26)> (__mutex_base:404:9) 4 driversnote __invoke), std::__1::string, std::__1::function > (type_traits:3918:1) 5 libsystem_pthread.dylib __pthread_start Thread 10 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___psynch_cvwait 1 libsystem_pthread.dylib __pthread_cond_wait 2 libc++.1.dylib std::__1::condition_variable::wait(std::__1::unique_lock&) 3 driversnote wait<(lambda at /Users/mrjenkins/.jenkins/workspace/create-release-ios-build/node_modules/react-native/ReactCommon/hermes/inspector/detail/SerialExecutor.cpp:41:26)> (__mutex_base:404:9) 4 driversnote __invoke), std::__1::string, std::__1::function > (type_traits:3918:1) 5 libsystem_pthread.dylib __pthread_start Thread 11 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _mach_msg2_trap 1 libsystem_kernel.dylib _mach_msg2_internal 2 libsystem_kernel.dylib _mach_msg_overwrite 3 libsystem_kernel.dylib _mach_msg 4 driversnote ksmachexc_i_handleExceptions (BSG_KSCrashSentry_MachException.c:229:36) 5 libsystem_pthread.dylib __pthread_start Thread 12 - KSCrash Exception Handler (Primary) - (TH_STATE_RUNNING) 0 unknown file unknown method Thread 13 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _semaphore_wait_trap 1 libdispatch.dylib __dispatch_sema4_wait 2 libdispatch.dylib __dispatch_semaphore_wait_slow 3 driversnote -[BSGAppHangDetector detectAppHangs] (BSGAppHangDetector.m:125:13) 4 driversnote DetectAppHangs (BSGAppHangDetector.m:214:5) 5 libsystem_pthread.dylib __pthread_start Thread 14 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 15 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 16 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 17 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 18 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 19 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib ___workq_kernreturn 1 libsystem_pthread.dylib __pthread_wqthread Thread 20 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _mach_msg2_trap 1 libsystem_kernel.dylib _mach_msg2_internal 2 libsystem_kernel.dylib _mach_msg_overwrite 3 libsystem_kernel.dylib _mach_msg 4 CoreFoundation ___CFRunLoopServiceMachPort 5 CoreFoundation ___CFRunLoopRun 6 CoreFoundation _CFRunLoopRunSpecific 7 CoreFoundation _CFRunLoopRun 8 CoreMotion 0x192100b10 (0x19210065c + 1204) 9 libsystem_pthread.dylib __pthread_start Thread 21 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _kevent 1 driversnote realm::_impl::ExternalCommitHelper::listen() (driversnote) 2 driversnote void* std::__1::__thread_proxy >, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0> >(void*) (driversnote) 3 libsystem_pthread.dylib __pthread_start Thread 22 - (TH_STATE_WAITING) 0 libsystem_kernel.dylib _kevent 1 driversnote realm::_impl::ExternalCommitHelper::listen() (driversnote) 2 driversnote void* std::__1::__thread_proxy >, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0> >(void*) (driversnote) 3 libsystem_pthread.dylib __pthread_start