• 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: FREED(id)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FREED(id)


  • Subject: Re: FREED(id)
  • From: Don Quixote de la Mancha <email@hidden>
  • Date: Fri, 19 Mar 2010 11:09:47 -0700

On Fri, Mar 19, 2010 at 11:00 AM, Nick Zitzmann <email@hidden> wrote:
> Run your app with Instruments with the object alloc tool, and turn on reference counting and zombies. And hope your app doesn't run out of memory before catching the double-free.

You can also try turning on Guard Malloc.  That is a menu option in
Xcode, and can also be enabled on the command-line for programs that
aren't run within Xcode.

What Guard Malloc could do for you is catch the use of memory which
has been freed.  Just using freed memory is likely to occur before
your attempt to free it a second time, and so is more likely to be
closer to the original release.

Don Quixote
--
Don Quixote de la Mancha
email@hidden
http://www.dulcineatech.com

   Dulcinea Technologies Corporation: Software of Elegance and Beauty.
_______________________________________________

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: FREED(id)
      • From: Michael Davey <email@hidden>
    • Re: FREED(id)
      • From: Michael Davey <email@hidden>
References: 
 >FREED(id) (From: Michael Davey <email@hidden>)
 >Re: FREED(id) (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: FREED(id)
  • Next by Date: Re: FREED(id)
  • Previous by thread: Re: FREED(id)
  • Next by thread: Re: FREED(id)
  • Index(es):
    • Date
    • Thread