Open Cheezzhead opened 1 year ago
Observations: Swift version 10.42.0 uses Core v13.17.1. The stack trace points to this line of code: https://github.com/realm/realm-core/blob/v13.17.1/src/realm/group.cpp#L793 which may indicate an invalid atomic is being used.
How frequently does the bug occur?
Sometimes
Description
While retrieving and updating a Realm object, the app intermittently crashes with an
EXC_BAD_ACCESS
exception, pointing to__cxx_atomic_store
. 9 out of 10 times everything works as expected.Below is relevant code for one of the instances of this error. The app throws an exception at the
Realm.object(ofType:forPrimaryKey)
call in the latter helper function.Stacktrace & log output
Can you reproduce the bug?
Sometimes
Reproduction Steps
No response
Version
10.42.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 16.4
Build environment
Xcode version: 14.3 (14E222b) Dependency manager and version: SPM