Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
- Subject: Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
- From: Jonathan Taylor <email@hidden>
- Date: Thu, 05 Sep 2013 11:37:18 +0100
> You can't do any UI-related updates from a secondary thread, you must ask the main thread to do it.
>
> It might not be progress bars but anything at all that's being drawn from a secondary thread. The error itself could indicate that an internal data structure was used or updated by another thread while in an inconsistent state.
Yes, I understand that. I am not aware of doing any drawing from secondary threads, although evidently it appears that somewhere in the program this is happening. My question is whether I can do anything to help track down the problem, because right now I am limited to code reading and/or the very slow process of disabling sections of code (slow because it's an intermittent problem and each time I would need to run for long enough that I can be reasonably sure I would have hit the error if I was going to...).
_______________________________________________
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