-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sync
-
None
We're seeing sporadic crashes with the following stacktrace:
realm-wrappers.dll!realm::DB::get_version_id_of_latest_snapshot() Line 2183 C++ realm-wrappers.dll!realm::DB::get_version_of_latest_snapshot() Line 2219 C++ > realm-wrappers.dll!realm::sync::SessionWrapper::on_new_flx_subscription_set::__l2::<lambda>() Line 1026 C++ realm-wrappers.dll!realm::util::network::Service::PostOper<void <lambda>(void)>::recycle_and_execute() Line 2095 C++ realm-wrappers.dll!realm::util::network::Service::Impl::execute(std::unique_ptr<realm::util::network::Service::AsyncOper,realm::util::network::Service::LendersOperDeleter> & lenders_ptr) Line 1639 C++ realm-wrappers.dll!realm::util::network::Service::Impl::run() Line 1399 C++ realm-wrappers.dll!realm::util::network::Service::run() Line 1763 C++ realm-wrappers.dll!realm::sync::ClientImpl::run() Line 493 C++ realm-wrappers.dll!realm::sync::Client::run() Line 1700 C++ realm-wrappers.dll!realm::_impl::SyncClient::<lambda>() Line 81 C++ [External Code] realm-wrappers.dll!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter) Line 97 C++ [External Code]
When I inspect this, it looks like it's pointing to garbage memory:
Unfortunately, I don't have more details about how to repro this as it appears to happen sporadically when running the .NET tests - while it happens consistently on my machine, it doesn't appear to be triggered by a specific test.