Re: New CGContext warning in Yosemite
Re: New CGContext warning in Yosemite
- Subject: Re: New CGContext warning in Yosemite
- From: Roland King <email@hidden>
- Date: Tue, 18 Nov 2014 10:33:43 +0800
> On 18 Nov 2014, at 10:19 am, Graham Cox <email@hidden> wrote:
>
> When my app enters the Versions Browser, I get a stream of warnings logged like this:
>
> Nov 18 13:12:28 Grahams-iMac.local xxxxx[23685] <Error>: CGContextClipToRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
>
> This wasn't happening on 10.9, but is on 10.10. The function name varies, it's not always CGContextClipToRects, but many different CGxxx functions.
>
> I have a breakpoint set on _NSWarnForDrawingImageWithNoCurrentContext, but it's not triggered for these. Is there another breakpoint I can set? The error message doesn't mention one, rather unhelpfully.
>
> --Graham
>
Try breakpointing on CGPostError - that used to work although I don’t recall whether it was iOS only or OSX as well.
Chances it’s your bug are about 1%, that message has been popping up for years as various bits of iOS and OSX are broken, I don’t think it will ever become a fatal error because it would be too destructive if it ever did.
_______________________________________________
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