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
Recently we've migrated from realm-java to realm-kotlin 1.16.0 and I see new kind of crashes.
Google reports it like this:
terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
I've found link to unstripped symbols, uploaded them to our sentry and now we have symbolicated version. See below. As I understand error is thrown during operation processing, but due to rethrow code we can't see exact line where original exception was thrown.
### Can you reproduce the bug?
-- select --
### Reproduction Steps
Unfortunately I have to reproduction steps. I need your assistance with that.
### Version
1.16.0
### What Atlas App Services are you using?
Atlas Device Sync
### Are you using encryption?
No
### Platform OS and version(s)
Android 10 - Android 14
### Build environment
Android Studio version: Jellyfish | 2023.3.1
Android Build Tools version: 34.0.0
Gradle version: 8.6
The text was updated successfully, but these errors were encountered:
How frequently does the bug occur?
Sometimes
Description
Recently we've migrated from realm-java to realm-kotlin 1.16.0 and I see new kind of crashes.
Google reports it like this:
terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
I've found link to unstripped symbols, uploaded them to our sentry and now we have symbolicated version. See below. As I understand error is thrown during operation processing, but due to rethrow code we can't see exact line where original exception was thrown.
MultipleSyncAgents error means that second session tries to open database that is already sync_agent_present = true. https://github.com/realm/realm-core/blob/970c4fd89f3c9b18ffd26f075534992e2fd8fa51/src/realm/db.cpp#L2865
Could you suggest how is that could be triggered from realm-kotlin?
Stacktrace & log output
stacktrace from sentry:
The text was updated successfully, but these errors were encountered: