I have been having problem lately quitting from my AS Studio application. I never had this problem before…using the keyboard Command-Q to quit from it. But since I upgrade to Xcode 2.2, this problem came up. But then again, I have added some more codes so it’s hard to tell where the problem lies.
When I use Command-Q on the keyboard, the AS Studio application takes some time to close. Then that dreadful message “The application … quit unexpectedly” comes up.
My app is “stay-open” with idler handler in it. How can I quit cleanly? Do I need a quit handler? I never had this before so I assume that’s not the problem.
I checked to make sure I have no infinite repeat loops and I don’t, so the problem must be somewhere else.
Incidentally, I tried to recompile and it succesfully recompiled. However, when I quit the application using Command-Q, I get AppleScript Error No. -1762 (while in Xcode).
Any idea what this error is? It might have something to do with my problem.
I haven’t experienced this behavior in the idle handler. Did you try cleaning it? Some people wrote that this helps. I think error 1700s is an Apple event error. It’s hard without seeing the script.
Please note that I have moved over this issue to another thread by jamdr (On SIGSEGV error signal) in this same forum in view of their uncanny similarities.
Hopefully, we can draw and focus all the scripter guru’s attention on this problem when they are integrated in a single thread.