Re: New CGContext warning in Yosemite
Re: New CGContext warning in Yosemite
- Subject: Re: New CGContext warning in Yosemite
- From: Graham Cox <email@hidden>
- Date: Tue, 18 Nov 2014 13:42:56 +1100
> On 18 Nov 2014, at 1:33 pm, Roland King <email@hidden> wrote:
> 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.
Thanks, that caught it.
The stack trace is:
#0 0x00007fff8d54ca60 in handle_invalid_context ()
#1 0x00007fff82211c50 in -[NSView _drawRect:clip:] ()
#2 0x00007fff8221067a in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#3 0x00007fff8220e516 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#4 0x00007fff8231d070 in -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#5 0x00007fff8220a7cb in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#6 0x00007fff821e91ca in -[NSView displayIfNeeded] ()
#7 0x00007fff87623fe8 in -[NSWindowCentricRemoteView _ensureMirroredServiceWindowContents] ()
#8 0x00007fff876270cd in __70-[NSWindowCentricRemoteView maintainAssociationForcingDisassociation:]_block_invoke_22857 ()
#9 0x00007fff8762d73b in withScreenUpdatesDisabled ()
#10 0x00007fff87627095 in __70-[NSWindowCentricRemoteView maintainAssociationForcingDisassociation:]_block_invoke2854 ()
#11 0x00007fff876217cb in -[NSRemoteViewBase _disassociate:] ()
#12 0x00007fff87626d58 in -[NSWindowCentricRemoteView maintainAssociationForcingDisassociation:] ()
#13 0x00007fff87614209 in -[NSRemoteViewBase _finishAdvanceToConfigPhase:] ()
#14 0x00007fff87614a53 in -[NSRemoteViewBase advanceToConfigPhase:awaitingWindowRights:] ()
#15 0x00007fff87622f7b in -[NSWindowCentricRemoteView advanceToConfigPhase] ()
#16 0x00007fff87615223 in -[NSRemoteViewBase viewServiceMarshalProxy:withErrorHandler:] ()
#17 0x00007fff8760b8a8 in -[NSRemoteViewBase bridge] ()
#18 0x00007fff8298fd3e in -[NSDocumentRevisionsView _createTimelineWindow] ()
#19 0x00007fff829907b4 in -[NSDocumentRevisionsView _createUI] ()
#20 0x00007fff829858f5 in -[NSDocumentRevisionsController _prepareForStartAnimation] ()
#21 0x00007fff82987100 in __85-[NSDocumentRevisionsController startVisualizationWithDocument:options:thenContinue:]_block_invoke ()
#22 0x00007fff82986ec0 in -[NSDocumentRevisionsController startVisualizationWithDocument:options:thenContinue:] ()
#23 0x00007fff8251cd3b in __29-[NSDocument _browseVersions]_block_invoke ()
#24 0x00007fff824f6ca8 in -[NSDocument _processActivity:blockingMainThread:] ()
#25 0x00007fff824f7c68 in -[NSDocument performActivityWithSynchronousWaiting:usingBlock:cancellationHandler:] ()
#26 0x00007fff8251cca1 in -[NSDocument _browseVersions] ()
Which suggests you're right, it's not my bug. You'd think Apple would deal with these before a major OS release.
--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