You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently received a lot of crash reports regarding native realm errors. Unfortunately I can't reproduce the errors. But from the logs I can tell that it happens when doing realm.RemoveAll<T>();.
Can you see from the logs what's causing this?
Also it would be good if you translate such native exceptions to managed ones. Otherwise we don't have a chance to handle them gracefully.
we also see a lot of exceptions like this in our crash reports (might be related):
Realms.Exceptions.RealmFileAccessErrorException: Failed to create ExternalCommitHelper: Invalid argument
at Realms.NativeException.ThrowIfNecessary() in Realm.dll:token 0x600041c+0xf
at Realms.SharedRealmHandle.Open(Configuration configuration) in Realm.dll:token 0x600036d+0x8
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration) in Realm.dll:token 0x6000027+0x0
at Realms.RealmConfigurationBase.CreateRealm() in Realm.dll:token 0x6000040+0x15
at Realms.Realm.GetInstance(RealmConfigurationBase config) in Realm.dll:token 0x6000427+0xa
According to the logs these exceptions occur on concurrent access of a realm db. We tried to delete and recreate the realm when this happens - but for what ever reason the exception reoccurs on the newly created realm as well.
Uh oh!
There was an error while loading. Please reload this page.
What happened?
We recently received a lot of crash reports regarding native realm errors. Unfortunately I can't reproduce the errors. But from the logs I can tell that it happens when doing
realm.RemoveAll<T>();
.Can you see from the logs what's causing this?
Also it would be good if you translate such native exceptions to managed ones. Otherwise we don't have a chance to handle them gracefully.
Repro steps
Didn't manage to reproduce yet.
Version
20.1.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Xamarin
Client OS and version
Android 10 / 13
Code snippets
No response
Stacktrace of the exception/crash you're getting
Relevant log output
The text was updated successfully, but these errors were encountered: