• 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
How to track down a double release?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to track down a double release?


  • Subject: How to track down a double release?
  • From: Brant Sears <email@hidden>
  • Date: Wed, 15 Oct 2003 17:48:11 -0700

I have a situation (totally repeatable) where my app blows up when an
autorelease pool gets cycled. It is a multi-threaded app (I don't know that
it matters.)

It looks to me like some object is being released when it is already in the
autorelease pool.

There's got to be an easy way to track this down. It happens when I put my
app in a very specific state and press a certain button (which invokes a
hell of a lot of code across multiple threads) and at the cycle of the
autorelease pool in the main thread, we die.

Is there some env variable I should be setting to track releases? Can I set
something up post launch when I have the app in the right state?

Thanks.

Brant Sears
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to track down a double release?
      • From: Sascha Matzke <email@hidden>
    • Re: How to track down a double release?
      • From: publiclook <email@hidden>
  • Prev by Date: Re: More on dictionaries
  • Next by Date: Re: How to track down a double release?
  • Previous by thread: Re: Restraining window movement + gridding
  • Next by thread: Re: How to track down a double release?
  • Index(es):
    • Date
    • Thread