-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with +[RLMRealm realmWithConfiguration:confinedTo:error:] + 3608 (RLMRealm.mm:433) #8709
Comments
➤ PM Bot commented: Jira ticket: RCOCOA-2453 |
Is there any updates on this issue? Also to supplement more information -
So I assume there are some bad memory allocation happened in the SDK.
Unsure if this might cause any race conditions / resource contentions. Hope these information would be useful, and I am looking for any quick resolution / workaround to stabilize this app. Thanks in advance! |
I know you shouldn't need to, but for me it helped to make sure only one thread at a time is accessing my realm. Related? |
Interesting - I tried to upgrade Realm to v20.0.0 and pushed it to production. Will see if the huge user base can reproduce this issue. From #8692, it seemed the issue was solved by upgrading Realm to 10.54.0. Not sure if the fix was included in 20.0.0, which is just one version before 10.54.0. |
There shouldn't be any functional differences between v10.54.0 and v20.0.0 other than the sync functionality not being present. |
How frequently does the bug occur?
Sometimes
Description
After upgrading the compilation to Xcode Version 16.0 (16A242d), I noticed that a couple of my app user is reporting the following crash point from realmDB (10.45.2).
I made very incremental/cautious changes in the previous app release and just upgraded Xcode alone. And this happened with a very small chance but due to the huge installation base, the problem is still collected in the crash report. I have a free threads using the ReamDB concurrently but with different table. Not sure if this would increase the chance the bug is reported.
Stacktrace & log output
Can you reproduce the bug?
Sometimes
Reproduction Steps
No specific steps. As I mentioned, my app have a few threads accessing RealmDB at the same time, but to different databases. Also this issue seemed to only happen after I upgraded the Xcode to Version 16.0 (16A242d)has
Version
10.45.2
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 18.1, iOS 18.0, iOS 17.7, iOS 17.5, iOS 17.4...
Build environment
Xcode version: Xcode Version 16.0 (16A242d)
Dependency manager and version: Cocoapod 1.14.3
The text was updated successfully, but these errors were encountered: