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

Re: Printing crash


  • Subject: Re: Printing crash
  • From: Chris Suter <email@hidden>
  • Date: Tue, 13 Feb 2007 18:00:58 +1100


On 13/02/2007, at 5:38 PM, Jeff Hellman wrote:

Hmmm...

Thanks for the ideas.  I have essentially no leaked memory when the
print operation is initiated (after plugging a few holes tonight) and
yet I still get crashes. NSZombieEnabled results in no interesting
exceptions.

Any other thoughts?

Jeff

Unfortunately, NSZombieEnabled won't catch over-releases for all objects. For things like NSMutableDictionary (and presumably others that are toll-free bridged with CF) you need to set CFZombieLevel. Unfortunately, CFZombieLevel isn't quite as helpful as NSZombieLevel, but you might make progress by setting CFZombieLevel to 17 (don't free & scribble). That will at least cause a fault when the over- release occurs rather than later but it probably won't help you much if it's an auto-release.


http://developer.apple.com/technotes/tn2004/tn2124.html

- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Printing crash
      • From: "Jeff Hellman" <email@hidden>
References: 
 >Printing crash (From: "Jeff Hellman" <email@hidden>)
 >Re: Printing crash (From: Daniel Jalkut <email@hidden>)
 >Re: Printing crash (From: "Jeff Hellman" <email@hidden>)
 >Re: Printing crash (From: Brian Smith <email@hidden>)
 >Re: Printing crash (From: "Jeff Hellman" <email@hidden>)

  • Prev by Date: Re: Printing crash
  • Next by Date: NSTableView and Releasing window controllers
  • Previous by thread: Re: Printing crash
  • Next by thread: Re: Printing crash
  • Index(es):
    • Date
    • Thread