• 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: NSMutableArray contract
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableArray contract


  • Subject: Re: NSMutableArray contract
  • From: Andy Lee <email@hidden>
  • Date: Fri, 01 Apr 2011 09:55:23 -0400

On Apr 1, 2011, at 9:49 AM, Carlos Eduardo Mello wrote:
> It all works fine most of the time, but every once in a while (can't figure out why...) the object seems to be "pulled from under my feet" and I get BAD ACCESS crashes in apparently random places. I tried to debug it but the BAD ACCESS only happens after my code yelds control to system code.

Classic symptoms of a memory management bug -- specifically, overreleasing an object. Use Instruments and/or Google NSZombieEnabled.

--Andy


_______________________________________________

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

References: 
 >NSMutableArray contract (From: Carlos Eduardo Mello <email@hidden>)
 >Re: NSMutableArray contract (From: "Hank Heijink (Mailinglists)" <email@hidden>)
 >Re: NSMutableArray contract (From: Carlos Eduardo Mello <email@hidden>)

  • Prev by Date: Re: NSMutableArray contract
  • Next by Date: Re: NSMutableArray contract
  • Previous by thread: Re: NSMutableArray contract
  • Next by thread: Re: NSMutableArray contract
  • Index(es):
    • Date
    • Thread