-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix crashes for RealmAny on ARM 32 bit architectures #7627
Conversation
This fix isn't verified by CI, but I have executed our full test suite as 32-bit tests on an arm devices. Dump of important output is:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great find 🥇 ... but would still be interesting to understand the root cause.
realm/realm-library/src/androidTest/kotlin/io/realm/RealmAnyCollectionTests.kt
Show resolved
Hide resolved
…llectionTests.kt Co-authored-by: Christian Melchior <christian@ilios.dk>
Guess the pointer size that can differ based on compiler/platform, etc, so forcing it into I have tried to reach out to the core team if anybody has some insight. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great find ⭐️!
The cast is needed due to https://en.cppreference.com/w/cpp/language/reinterpret_cast point 2 and 3 (thanks James) |
Closes #7626