-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
After upgrading to Core 13, Kotlin is now crashing in this test: https://github.com/realm/realm-kotlin/blob/e6b3136b0f659d406ddb51fc4d76be09f71afec7/packages/test-sync/src/androidAndroidTest/kotlin/io/realm/kotlin/test/mongodb/shared/SyncClientResetIntegrationTests.kt#L267
It crashes with:
[5]: Wrong transactional state (no active transaction, wrong type of transaction, or transaction already in progress)
After the Client Reset has happened and we try to freeze the SharedRealkm it crashes with the above in this line: https://github.com/realm/realm-core/blob/master/src/realm/object-store/shared_realm.cpp#L430
This root cause seems to be this PR: https://github.com/realm/realm-core/pull/5784
TODO:
- [x] Check if https://github.com/realm/realm-core/pull/6137 fixed the problem