Skip navigation.
 
mlRe: Core Data fetch request crashes the app
FROM : I. Savant
DATE : Tue May 01 12:45:25 2007

On May 1, 2007, at 12:37 AM, Chataka wrote:
> I am trying to fetch an array of managed objects but sometimes it 
> crashes my app.


  I'm *guessing* the problem is elsewhere in your code. Without more 
information, it's only a guess. It seems like a memory management 
problem somewhere "upstream". Suggestions:

1 - When posting an "it's crashing" thread, never forget to include 
the type of crash (basically, anything in your run log at the time).

2 - You seem to be leaking your fetch request (you're not releasing 
it) in your example; hopefully there's a release or autorelease 
somewhere after the lines you pasted.

3 - Have you stepped through this code with the debugger to see if 
everything's being handled correctly and that objects you expect to 
be there really are there? The debugger is your friend.

--
I.S.

Related mailsAuthorDate
mlCore Data fetch request crashes the app Chataka May 1, 06:37
mlRe: Core Data fetch request crashes the app I. Savant May 1, 12:45
mlRe: Core Data fetch request crashes the app Chataka May 1, 13:47
mlRe: Core Data fetch request crashes the app Joshua Pennington May 2, 02:28