-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 when initializing Realm #7777
Comments
Hi @ayush-ttn, like mentioned before this crashes may be caused by a file corruption. Make sure to update to our latest version |
Thanks for responding @dianaafanador3. I added 10.25.2 to podfile but looks like it is not yet available for pods? This is how I am doing it pod 'RealmSwift', '10.25.2' |
Did you run |
Let me try that as well... |
We are having the exact same issue - never crashed on our side, and the app got past app review; We were on Realm 10.24, and can't even cause the app to crash on our end. It's happening for <1% of users, but it's enough to be a big problem... Does 10.25 fix it? |
@ritesh-kanchi responded to you on the linked issue. |
@ayush-ttn hi, do you have any updates on that issue? |
@pavel-ship-it reponded you on the other thread |
Thank you @ayush-ttn. In that case I close the issue. |
How frequently does the bug occur?
Sometimes
Description
So this crash is happening for some of our users at the app launch. We are yet to reproduce it on our side. The getter where the app is crashing is written like so:
var realm: Realm { return try! Realm() }
The strange part about this crash is, that it is happening for some users regardless of their devices or OS versions. One point to mention is, that we were getting a crash, that is reported here and to try to fix this we rolled back our realm version from 10.24 to 10.20 but the crash is still the same. Any help or guidance in this issue will be very much appreciated.
Stacktrace & log output
Can you reproduce the bug?
Not yet
Reproduction Steps
No response
Version
10.20
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS 10.15.4
Build environment
Xcode version: 13.2.1
Dependency manager and version: Cocoapods 1.10.2
The text was updated successfully, but these errors were encountered: