objective c - Need help understanding "kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid Region" -
Your application (which makes a good bit of custom drawing) I get this error is running (this is a good bit No, there is a noticeable side effect, but I want to understand what is happening)
So I set that breakpoint and this stack get receive. None of the stack frames are my codes, although of course I have underlined the draw of NSVu in some cases.
Has anyone seen this before or seen as what is happening?
# 0x94bee5f2 in CGErrorBreakpoint () # 1 0x94c831d8 in CGSGlobalErrorv () # 2 0x94a64b61 in CGSUnionRegionWithRect () # 3 0x912a2a70 - [NSRegion addRegion:] () # 4 0x912a28c1 in - [NSWindow _setNeedsDisplayInRegion:] () # 5 0x911f3548 - [NSWindow _absorbDeferredNeedsDisplayRegion] () # 6 0x911f2113 - [NSView _sendViewWillDrawInRect: clipRootView: suppressRecursion:] () # 7 0x91154ee9 in - [NSView displayIfNeeded] () # 8 in 0x9111e292 - [NSWindow displayIfNeeded] () # 9 0x9114f764 _handleWindowNeedsDisplay () # 10 0x9408eb02 __CFRunLoopDoObservers in () # 11 0x9404b65d (in __CFRunLoopRun) # 12 CFRunLoopRunSpecific (in 0x9404ad34) # 13 0x9404ab61 (in CFRunLoopRunInMode) # 14 0x97984fec (in RunCurrentEventLoopInMode) # 15 0x97984da3 ReceiveNextEventCommon In () # 16 0x97984c28 BlockUntilNextEventMatchingListInMode () # 17 0x91125c9 In 5 _DPSNextEvent () # 18 0x9112550a - [NSApplication nextE ventMatchingMask: thenDate: inMode: Deed: in] () # 19 0x910e769b - [NSApplication run] () # 20 0x910df735 in NSApplicationMain () # 21 0x00002a4f Main (argc = 0x1 , Argv = 0xbffff4d4) / users / me / code in /myapp/src/main.m19
I did the exact same message in console console
In my case I was updating a progress indicator incorrectly.
My progress indicator was displayed on a sheet and I did not correctly dismiss the sheet. ? Errors are always the second time with me startSheet
You are using an NSSheet for me to work on it - NSSheet has been shown to pop up:
- For a
didEndSelector
for startSheet
- one
[sheet pass];.
Html>
Comments
Post a Comment