-
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
Our app is crashing on launch #7775
Comments
@ironage Perhaps this is related to the first stack trace in this comment (#7703). Where is a good place to start on this? |
@ericjordanmossman without a reproduction it is difficult to say what the cause is of a stack trace like this. To me, it looks like the assertion is about an array index out of bounds while updating from a parent which can be caused by corruption which has happened some time in the past. Perhaps the underlying issue is fixed by realm/realm-core#5334 but it is hard to say. |
@ericjordanmossman @ironage One point to mention is to try to fix this we rolled back our realm version from 10.24 to 10.20 but the crash is still the same. We just thought maybe there is any bug introduced in the new version so rollback may fix that. I forgot to mention it in the issue description above. |
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 It may be too early for me to report if this worked but we released a new build with 10.25 and some of our users are reporting that the crash is fixed but they had to uninstall/install the new build. We are monitoring the release to see how many users are reporting the fix and based on that I can say anything with certainty. |
@ayush-ttn We thought our problem was with Realm, but really had to do with type initializers and data type conversions... Some devices weren't unable to unwrap the conversions, thus crashing the app. Your error seemed familiar to mine, so I assumed Realm - but it wasn't the case. |
@ritesh-kanchi That's an interesting find. I'll keep an eye on such a thing on our side as well if the update turns out to be a downer. |
Hi @ayush-ttn, do you have any updates on the issue? Does info from @ritesh-kanchi helps you? |
Hey @pavel-ship-it , no the info by @ritesh-kanchi was not the case with my code. I updated to the most recent version(10.25.2) though and it seems to have fix the problem |
Thank you @ayush-ttn. I close the issue then. |
How frequently does the bug occur?
Sometimes
Description
We were using Realm version 10.24 and getting the same crash then we reverted back to 10.20 and the crash was consistent. We are not able to reproduce this issue on our side but our customers are reporting the crash. Any help or suggestion will be appreciated. This is happening on almost all of the devices and OS versions so it is hard to guess the reason on our side. Also, not all of our users are facing the crash though.
Stacktrace & log output
Can you reproduce the bug?
Not yet
Reproduction Steps
Not able to reproduce on our side.
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: