Core data crashing while loading
Core data crashing while loading
- Subject: Core data crashing while loading
- From: Todd Freese <email@hidden>
- Date: Fri, 16 Feb 2007 19:00:52 -0600
I have a doc style application that is using Core data and an XML
store. It is intermittently crashing while opening the XML document.
I have recreated the XML document several times thinking there was
corruption in the file. Looking at the file, everything looks fine.
It is crashing before even getting to awakeFromNib, so I am not sure
how to debug this. In the system log, I am getting a "FREED(id):
message retain sent to freed object...". What is strange is that I
don't have any code running before awakeFromNib.
Here is the back trace:
#0 0x90a48ca0 in _objc_trap
#1 0x90a48c18 in _objc_error
#2 0x90a48ba4 in __objc_error
#3 0x907d099c in CFDictionarySetValue
#4 0x929424a4 in -[NSCFDictionary setObject:forKey:]
#5 0x92a88c60 in -[NSURLResponse(NSURLResponsePrivate)
_downloadInfoWithInitialData:]
#6 0x92a88ca8 in -[NSURLResponse(NSURLResponsePrivate)
_downloadAssessmentWithInitialData:]
#7 0x92a878e8 in -[NSURLConnection(NSURLConnectionInternal)
_sniffForContentTypeWithData:]
#8 0x92992af4 in -[NSURLConnection(NSURLConnectionInternal)
_didLoadData:lengthReceived:]
#9 0x9299208c in -[NSFileURLProtocol didLoadData:]
#10 0x92991dd4 in -[NSFileURLProtocol startLoading]
#11 0x9298a888 in -[NSURLConnection(NSURLConnectionInternal)
_performOriginLoad]
#12 0x9298893c in _resourceLoaderPerform
#13 0x907dd4cc in __CFRunLoopDoSources0
#14 0x907dc9fc in __CFRunLoopRun
#15 0x907dc47c in CFRunLoopRunSpecific
#16 0x9298869c in +[NSURLConnection(NSURLConnectionInternal)
_resourceLoadLoop:]
#17 0x92961194 in forkThreadForFunction
#18 0x9002b508 in _pthread_body
Any ideas?
Todd Freese
The Filmworkers Club
_______________________________________________
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