• 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
New CGContext warning in Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New CGContext warning in Yosemite


  • Subject: New CGContext warning in Yosemite
  • From: Graham Cox <email@hidden>
  • Date: Tue, 18 Nov 2014 13:19:17 +1100

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



_______________________________________________

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


  • Follow-Ups:
    • Re: New CGContext warning in Yosemite
      • From: Roland King <email@hidden>
  • Prev by Date: UILongPressGestureRecognizer in simulator
  • Next by Date: Re: New CGContext warning in Yosemite
  • Previous by thread: UILongPressGestureRecognizer in simulator
  • Next by thread: Re: New CGContext warning in Yosemite
  • Index(es):
    • Date
    • Thread