Re: CGContextSetStyle console log error?
Re: CGContextSetStyle console log error?
- Subject: Re: CGContextSetStyle console log error?
- From: Keith Blount <email@hidden>
- Date: Mon, 27 Aug 2007 13:34:18 -0700 (PDT)
Thanks for your reply, Uli.
The frameworks are definitely all getting loaded and
I'm not using ZeroLink - users are occasionally seeing
this error message on the Console in the release
version.
Also, I'm not doing anything particular fancy with
threads - my app is pretty much single-threaded.
Certainly there are no extra threads concerned with
any of my (very few calls to the current graphics
context.
It doesn't seem to be memory related because there is
no crash or hang. In all cases where this error has
appeared it has seemed benign - it appears in the log
but has no effect over the running of the program.
Thanks again for your reply.
All the best,
Keith
--- Uli Kusterer <email@hidden> wrote:
> On 24.08.2007, at 10:29, Keith Blount wrote:
> > Moreover, I do
> > nothing with CGContext at all in my code. My app
> > includes the Quartz framework only for use of the
> > PDFView.
>
> Have you checked you're actually adding all
> frameworks to your
> project that you need? With ZeroLink on, missing
> frameworks can get
> "half-loaded" if some OS code loads one of their
> sub-frameworks, and
> thus you might see weird behaviour. Try doing a
> release build, and
> see if you get any missing frameworks there.
>
> More likely, you're screwing up some graphics
> state. Are you doing
> any threading? Are you perhaps handing a
> CGContext/NSGraphicsContext
> pointer off to another thread? Are you calling
> AppKit methods from
> anything else than the main thread that directly do
> drawing? Have you
> checked for double-releases and other errors that
> may result in
> memory smashers? Are you doing *anything* with
> drawing on that same
> window, or are you doing something special like
> redirecting drawing
> intended for one place to another?
>
> Cheers,
> -- M. Uli Kusterer
> http://www.zathras.de
>
>
>
>
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
_______________________________________________
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