-
Notifications
You must be signed in to change notification settings - Fork 168
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 on app startup #5947
Comments
@sedwo , I think your crash is different than @DavideCeresola 's. |
@nicola-cab Is there a way to tell where in realm::Array::move this could be crashing from the stacktrace? |
@ericjordanmossman Looks to be similar to #5937. I'll move my comment content there. |
I think both issues are suffering from the same bug, the database got corrupted. @sedwo on #5937 you are trying to open a database that initially got corrupted by realm 11.15 (which displays this corruption bug). Realm core 12.9 should be fine, but since the file got corrupted, there is nothing to prevent that crash to be happening when opening the file with any version of realm. |
@nicola-cab I haven't really touched my database layer code in years but do run |
Internal note: Error when erasing entry in StringIndex |
Closed by #5993 |
How frequently does the bug occur?
Sometimes
Description
Our app seems to crash on startup due to realm.
We are performing some deletions with the filter operator at the app startup in a background thread that seems to cause the crash.
We are not able to reproduce it at the moment but some users is complaining about it.
Stacktrace & log output
Can you reproduce the bug?
Not yet
Reproduction Steps
No response
Version
10.31.0
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS
Build environment
Xcode version: XCode 14.0.1
Dependency manager and version: Cocoapods 1.11.3
The text was updated successfully, but these errors were encountered: