Re: Printing crash
Re: Printing crash
- Subject: Re: Printing crash
- From: "Jeff Hellman" <email@hidden>
- Date: Mon, 12 Feb 2007 23:41:47 -0800
Ok...so when I got this all working, I think, I wind up with these two
outputs to the run log when trying to print:
CoreQuickDraw/HighLevel/Ports.c line 1067: IsPixPatValid: Flipped patType
2007-02-12 23:36:45.239 Planbook[5525]: DebugAssert: HIToolbox:
data->GetStructureControl() == NULL ||
!data->GetStructureControl()->GetNeedsDisplay()
[./Windows/Source/WindowManager.cp:2013]
Sadly, I'm not exactly sure what this means. And this hasn't led me
to a solution, yet. Any thoughts?
Thanks again everyone-
Jeff
On 2/12/07, Chris Suter <email@hidden> wrote:
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
--
Jeff Hellman
email@hidden
_______________________________________________
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