Re: Core Data fetch request crashes the app
Re: Core Data fetch request crashes the app
- Subject: Re: Core Data fetch request crashes the app
- From: "Joshua Pennington" <email@hidden>
- Date: Tue, 1 May 2007 19:28:57 -0500
could be a memory management issue, but so far, all I know is the
fact that my app crashes
when the method is called right after a managed object is removed.
If an object isn't retained properly and is released while other
objects still have references to it, when those other objects attempt
to access it, the program may crash. So, like Savant said, although
the debugger is telling you that your application is crashing at the
executeFetchRequest:error: method, the crash itself probably resulted
because of some memory management problem earlier on.
Simple memory management rules:
<http://www.stepwise.com/Articles/Technical/2001-03-11.01.html>
Apple's Docs on memory management:
<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden