• 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: Michael Davey <email@hidden>
  • Date: Fri, 19 Mar 2010 18:55:37 +0000

Thanks, I have managed to find and fix my error, just by using Zombies - I turned on Guard Malloc and it didn't do anything, and I tried instruments and found myself in a whole new world of things I have no idea how to use :o)


On 19 Mar 2010, at 18:09, Don Quixote de la Mancha wrote:

> 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

_______________________________________________

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: Greg Parker <email@hidden>
References: 
 >FREED(id) (From: Michael Davey <email@hidden>)
 >Re: FREED(id) (From: Nick Zitzmann <email@hidden>)
 >Re: FREED(id) (From: Don Quixote de la Mancha <email@hidden>)

  • Prev by Date: Re: Printing an NSDocument
  • Next by Date: Re: -validateMenuItem: like crazy, hogs CPU for 1st minute
  • Previous by thread: Re: FREED(id)
  • Next by thread: Re: FREED(id)
  • Index(es):
    • Date
    • Thread