-
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 in realm core code due to non-strict ordering comparator #8028
Comments
➤ PM Bot commented: Jira ticket: RCORE-2259 |
I can confirm that downgrading to |
@jadar I have found the root cause of this issue, but I am not able to reproduce it. Can you tell what kind of query you are performing? |
I'm really not sure. The exception happens in a Realm run loop. It doesn't appear that my app is doing any work. It happens during the launch phase of the app, before everything finished setting up. That's why I thought it happened during schema validation or something. Do you have any debugging tricks that I could use to figure out what Realm might be doing or responding to? |
I can tell you that it doesn't crash on Xcode 15.4, but it does crash on 16.0 (16A242d). |
You might be able to enable some logging. |
SDK and version
SDK : Cocoa/Swift (Cocoa, Java, etc)
Version: v10.53.1
Observations
Crash log / stacktrace
Steps & Code to Reproduce
I'm not sure what exactly is causing this, since the code crashes in Realm's internals. The context of the crashed code seems to be in sorting columns, which indicates to me it's a problem with something in our schema that is outside of the norm (unsure what that would be, we only just bumped the version to the latest non-v20 release.) It looks like the codepath goes through some code that was recently changed (thus would be the source of the different behavior, since the last time we updated was in April.) Suspected commit is eef7fcf#diff-251da97dc2f3dad702887aa32c15789820ee0c88eb5fc9db7be4b91e65e5f45aR2231
The text was updated successfully, but these errors were encountered: