-
Notifications
You must be signed in to change notification settings - Fork 38
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
CFRelease & common_removeAllObjects #103
Comments
The object is being free'd. You need to hold onto the objects for their lifecycle. |
Why it happens only on 10.3.3 and only on iPhone 5 & 5C? What I have to do to avoid this? |
Because every device has different capabilities and memory pressures. So, iOS on smaller devices may wish to cleanup more often than say an iPad Pro 12. They change these things from time to time with certain iOS builds, and SDK versions. To stop it happening make sure you hold onto the results in a strong way, by assignment to a property or an IVar. |
Obviously it might not be that, as it's fairly hard to see what it could be without a full overview of the situation. But the fact that messages are being sent to a deallocated instance leads me to that juncture. |
Can you give me an example? So I'm doing: Transaction ({ And after this insertOrUpdate, I'm just reading with queries, never more update.. |
@editfmah Another update... |
No solution for this? It crashes every time if I use an iPhone 5 simulator (or real device iPhone 5) with iOS 10.3 (or less). No crash in iPhone 5s simulator (or real device iPhone 5s) with iOS 10.3 @editfmah |
Hi @stefanosisto, I have just tried one of our products on an iPhone 5, iOS 10.0.2 and I could not replicate your issue. That said, we are not driving much from table views so it is not a particularly accurate test. Could you enable Zombie objects in the schema and see if you hit any zombie objects before the point you normally get this crash. Thanks |
If you have skype, we can talk on Skype and I can share my screen. But only if you have 5 minute. So I can show you better what ( and when ) happens |
Sure thing, I will be available in around an hour if that's okay. My skype handle (*installs skype), is/was adrian_herridge |
Ok, i will be online :) |
Hello. I have 2.1.0 version of pod and I'm having a lot of crash reported with Fabric.
Iphone 5 and 5C, not other iphone.
I've send to you the crash reports in your email. I'm waiting for a solution. Thanks
The text was updated successfully, but these errors were encountered: