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.