• 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
Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
      • From: Graham Cox <email@hidden>
References: 
 >Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region (From: Jonathan Taylor <email@hidden>)
 >Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
  • Next by Date: Re: Threadsafe copy of objective c object
  • Previous by thread: Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
  • Next by thread: Re: Debugging kCGErrorIllegalArgument: CGSUnionRegionWithRect : Invalid region
  • Index(es):
    • Date
    • Thread