• 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: Error (1000) creating CGSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error (1000) creating CGSWindow


  • Subject: Re: Error (1000) creating CGSWindow
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 2 Nov 2007 12:24:43 +0100

Am 01.11.2007 um 21:00 schrieb David Duncan:
On Nov 1, 2007, at 10:32 AM, Dave Benvenuti wrote:
Another thing that might help - I'm using eggplant, which is a VNC- based automation tool, which runs on a remote machine and basically runs scripts which interact with the UI. I noticed the Apple VNC Server process was pretty pegged, along with my app.

I don't suppose something in these interactions is creating a larger number of windows? Typically these types of failures are due to just having too many windows around. You might want to check the window listing from Quartz Debug for your application to see how many windows you have created.

I had such an error in two cases, IIRC:

1) I had an accidental endless recursion that always caused one window to be created, and then accidentally triggered the same code again during set-up of this window.

2) I was doing some GUI thing from a thread other than the main thread, which royally confused AppKit.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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


References: 
 >Error (1000) creating CGSWindow (From: Dave Benvenuti <email@hidden>)
 >Re: Error (1000) creating CGSWindow (From: David Duncan <email@hidden>)
 >Re: Error (1000) creating CGSWindow (From: Dave Benvenuti <email@hidden>)
 >Re: Error (1000) creating CGSWindow (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Collection was mutated while being enumerated
  • Next by Date: Re: Is NSXMLParser really a streaming parser?
  • Previous by thread: Re: Error (1000) creating CGSWindow
  • Next by thread: Core Animation: Layer vs NSTextView
  • Index(es):
    • Date
    • Thread