Re: Printing crash
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