• 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
Re: coredata framework daemon-safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coredata framework daemon-safe?


  • Subject: Re: coredata framework daemon-safe?
  • From: Bill Bumgarner <email@hidden>
  • Date: Wed, 17 May 2006 01:06:35 -0700

On May 17, 2006, at 12:51 AM, P Smith wrote:
While saving to a file for the first time, my daemon crashes at [ moc save]

OK -- that indicates that one of your managed objects is hosed -- corrupted or over-released --prior to the save.


What does the backtrace look like at the point of the crash?

Also, the code you posted includes references to locking/unlocking the managed object context. That indicates that there is potential threading going on? What are the other threads doing?

(relatively straightforward code example deleted)

 Entity *entity = [[[Entity alloc] initWithEntity:myEntity
          insertIntoManagedObjectContext:moc] autorelease];

[ myEntity setName : [NSString stringWithCString: fileName]];

This looks a bit odd. entity then myEntity?

b.bum
_______________________________________________
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


  • Follow-Ups:
    • Re: coredata framework daemon-safe?
      • From: "P Smith" <email@hidden>
References: 
 >coredata framework daemon-safe? (From: "P Smith" <email@hidden>)
 >Re: coredata framework daemon-safe? (From: Bill Bumgarner <email@hidden>)
 >Re: coredata framework daemon-safe? (From: "P Smith" <email@hidden>)

  • Prev by Date: Re: coredata framework daemon-safe?
  • Next by Date: Re: Using SenTestingKit for testing a framework
  • Previous by thread: Re: coredata framework daemon-safe?
  • Next by thread: Re: coredata framework daemon-safe?
  • Index(es):
    • Date
    • Thread