• 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: Cococa-Dev : was [coredata count not fulfill fault after object delete]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]


  • Subject: Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 13 Jan 2013 12:32:24 -0800

You've established previously that this is definitely a bug in Mac OS 10.6.  Your mission is to find a workaround.

On 2013 Jan 12, at 23:29, Martin Hewitson <email@hidden> wrote:

> 2) Whenever I do [NSTreeController selectedObjects] I seem to end with an additional reference count. Is that expected?

If you mean that there is an additional reference count long after the time when the object is no longer in use, which apparently prevents its deallocation, definitely not.  Furthermore, if you are saying that the excess reference count is proportional to the number of times that [NSTreeController selectedObjects] is invoked, maybe the bug in Mac OS 10.6 is a memory leak in -[NSTreeController selectedObjects].  Try doing a Method Replacement on that method.  In your replacement implementation, invoke the original method, then invoke -autorelease.

I'm not sure how this would cause a "Core Data could not fulfill a fault" exception, except that allowing dead managed objects to hang around is not a good thing.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
      • From: Martin Hewitson <email@hidden>
References: 
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Mike Abdullah <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Mike Abdullah <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Peter <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Peter <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)
 >Re: Cococa-Dev : was [coredata count not fulfill fault after object delete] (From: Martin Hewitson <email@hidden>)

  • Prev by Date: delegate method both "required" and "deprecated"?
  • Next by Date: Re: delegate method both "required" and "deprecated"?
  • Previous by thread: Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
  • Next by thread: Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
  • Index(es):
    • Date
    • Thread