• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreData: sporadically messages zombie when adding persistent xml store?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData: sporadically messages zombie when adding persistent xml store?


  • Subject: CoreData: sporadically messages zombie when adding persistent xml store?
  • From: Jim Correia <email@hidden>
  • Date: Wed, 17 Aug 2005 14:36:54 -0400

I have a CoreData application which (for the time being) is using XML stores.

Recently (with the last day) I've noticed that a deallocated object is sporadically messaged at startup. It doesn't happen with any reproducibility (perhaps it is timing sensitive, but when I catch it in the debugger, thread 1 is adding the persistent store to the coordinator, and thread 2 is reading the URL.

In case it is relevant, the app starting linking in WebKit (but that has been there for about a week and this just started happening.)

Has anyone seen this before? Hints? Reproducible case so I can write a bug?

Thread 1

#0 0x9000a778 in mach_msg_trap
#1 0x9000a6bc in mach_msg
#2 0x9074b338 in __CFRunLoopRun
#3 0x9074ac3c in CFRunLoopRunSpecific
#4 0x928b35d4 in -[NSSynchronousURLConnectionDelegate run:]
#5 0x928b3448 in +[NSURLConnection sendSynchronousRequest:returningResponse:error:]
#6 0x929ceeb8 in -[NSXMLDocument initWithContentsOfURL:options:error:]
#7 0x9400df5c in -[NSXMLObjectStore initWithRootStore:configurationName:options:url:]
#8 0x93ff5150 in -[NSPersistentStoreCoordinator addPersistentStoreWithType:configuration:URL:options:error:]


Thread 2

#0 0x92950b24 in -[_NSZombie retain]
#1 0x9073f1c8 in CFDictionarySetValue
#2 0x92864244 in -[NSCFDictionary setObject:forKey:]
#3 0x929aa34c in -[NSURLResponse(NSURLResponsePrivate) _downloadInfoWithInitialData:]
#4 0x929aa394 in -[NSURLResponse(NSURLResponsePrivate) _downloadAssessmentWithInitialData:]
#5 0x928b4ae4 in -[NSURLConnection(NSURLConnectionInternal) _sniffForContentType]
#6 0x928b4908 in -[NSURLConnection(NSURLConnectionInternal) _didLoadData:lengthReceived:]
#7 0x928b3fbc in -[NSFileURLProtocol didLoadData:]
#8 0x928b3cfc in -[NSFileURLProtocol startLoading]
#9 0x928ac5cc in -[NSURLConnection(NSURLConnectionInternal) _performOriginLoad]
#10 0x928aa680 in _resourceLoaderPerform
#11 0x9074bc8c in __CFRunLoopDoSources0
#12 0x9074b1bc in __CFRunLoopRun
#13 0x9074ac3c in CFRunLoopRunSpecific
#14 0x928aa3e0 in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
#15 0x92882f34 in forkThreadForFunction
#16 0x9002c3d4 in _pthread_body


Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Dependent Keys
  • Next by Date: Re: Core Data SQL store looses data that XML store does not
  • Previous by thread: Re: Should I set Core Data dependent key in the primary's setter?
  • Next by thread: Authorization error -60031
  • Index(es):
    • Date
    • Thread