-
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
Realm Crashing on Read/ Write operator bool() const #5781
Comments
Can you either reduce this to a standalone repro case, or share the source to your application which runs into problems? Without that it will be difficult to make any progress. |
Thank you for replay, i can share my modal class . Do you wish me to do so ? As i have mentioned before, it was crashing on some users when the realm version was 3.0.2 , but when i upgraded the realm to version 3.5.0 on same code , with out changing any code/ modal class it is crashing on every attempt. |
Just the model classes are unlikely to reveal anything interesting. |
@tgoyne What is the solution for me then? believe there is some serious issue with library. Could you please provide clue what might be the reason of crash? |
Yes, this probably a Realm bug. If it is crashing every time, then you should be able to reduce it to a standalone piece of code which hits the problem which you could share with us. |
@tgoyne Please have a look |
Thanks, I'll see if I can reproduce the issue. |
@tgoyne Any progress ? My App is in production and facing big loss. |
It looks like the problem is that the While I'm working on a fix for this you should be able to work around it by explicitly telling Realm not to touch the private properties by adding them to |
I downgraded to 3.4.0 its working on same code base. There is some serious issue on lib, Which is not providing actual error to swift wrapper.
And it stoped to crash on
Any way let me try to use ignoredProperties on 3.5.0 , i will update on this soon. |
Hi there, Why is this issue closed? I am facing the same issue in version 3.12.0. |
@ptsiogas Please create a new issue with all details then (and refer to this one). |
Goals
Prevent crash
Expected Results
DB Operates normally
Actual Results
Crahsed
##Screen shots



Steps to Reproduce
Realm data read or write producing this issue, First my realm version was 3.0.2 at that time some users of app were facing this issue (not all users were facing this issue), Now i decided to upgrade library via cocoapod and mad 3.5.0 it is crashing on every build
Code Sample
Version of Realm and Tooling
Realm framework version: ? 3.5.0
Xcode version: Version 9.3 (9E145)
iOS/OSX version: 11.2.1 (iOS)
Dependency manager + version: CocoaPod 1.5.2
The text was updated successfully, but these errors were encountered: