HI Graham

I am seeing the exact same issue with NSPopover on 10.11.
The stack trace is identical.
Did you manage to make any further progress with this?

Thanks

Jonathan

> On 9 Dec 2015, at 22:42, Graham Cox <graham....@bigpond.com> wrote:
> 
> I’m getting this message logged when I show a popover sometimes:
> 
> Dec 10 09:33:47  ##myApp##[4602] <Error>: Error: this application, or a 
> library it uses, has passed an invalid numeric value (NaN, or not-a-number) 
> to CoreGraphics API and this value is being ignored.Please fix this problem.
> 
> 
> Stack trace:
> 
> #0    0x00007fff946b2073 in CGPostError ()
> #1    0x00007fff9468c55e in CGFloatValidateWithLog ()
> #2    0x00007fff943b4a26 in CGPathAddLineToPoint ()
> #3    0x00007fff925600d7 in _CUICreateNewPopoverPathWithArrowPosition ()
> #4    0x00007fff925605cc in _CUICreateNewPopoverPath ()
> #5    0x00007fff9258d792 in CUICoreThemeRenderer::DrawPopover(CUIDescriptor 
> const*) ()
> #6    0x00007fff9251d065 in CUIRenderer::Draw(CGRect, CGContext*, 
> __CFDictionary const*, __CFDictionary const**) ()
> #7    0x00007fff9251f9c4 in CUIDraw ()
> #8    0x00007fff8d04156d in __44-[NSAppearance 
> _drawInRect:context:options:]_block_invoke ()
> #9    0x00007fff8cfb5af3 in -[NSCompositeAppearance _callCoreUIWithBlock:] ()
> #10   0x00007fff8d041526 in -[NSAppearance _drawInRect:context:options:] ()
> #11   0x00007fff8d943e93 in -[NSPopoverFrame _drawFrameMaskInRect:] ()
> #12   0x00007fff8d943b06 in -[NSPopoverFrame _frameMask] ()
> #13   0x00007fff8d226dcd in -[NSPopoverFrame shapeWindow] ()
> #14   0x00007fff8d227e3d in -[NSPopoverFrame 
> tileAndSetWindowShape:updateContentView:] ()
> #15   0x00007fff8d2279b8 in -[NSPopover _updateAnchorPointForFrame:reshape:] 
> ()
> #16   0x00007fff8d227855 in -[_NSPopoverWindow setFrame:display:] ()
> #17   0x00007fff8d2251e1 in -[NSPopover _makePopoverWindowIfNeeded] ()
> #18   0x00007fff8d224ae5 in -[NSPopover 
> showRelativeToRect:ofView:preferredEdge:] ()
> 
> 
> As far as I can see the parameters I’m passing to 
> -showRelativeToRect:ofView:preferredEdge: are sane and sensible:
> 
> _cmd  SEL     "showRelativeToRect:ofView:preferredEdge:"
> positioningRect       NSRect  (origin = (x = 20, y = 74), size = (width = 55, 
> height = 19))   
> positioningView       NSView *        0x600000334fa0
> preferredEdge NSRectEdge      2
> 
> Anyone else seen this? Seems to be arsing deep in the internals of drawing 
> the popover frame.
> 
> It’s not happening on all popovers, but frequently enough that it’s causing 
> me concern.
> 
> —Graham
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/jonathan%40mugginsoft.com
> 
> This email sent to jonat...@mugginsoft.com














_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to