I have an ASS app with two windows. The window “main” opens the window “settings”. When I use the red round button on the top left corner of the “settings” win it closes and I still see my “main”.
But when I use
close window "settings"
the app crashes and I get this in the log:
myApp has exited due to signal 11 (SIGSEGV).
This seems pretty basic to me, but I didn’t find any hint on this problem in the forum nor anywhere else on the web - so any hint is appreciated!
Thanks,
jaco
PS: I also tried to close the window from the “main” script, but with the same result.
Is it really a window, or is it a panel (NSPanel)?
Did you happen to mess around with any of the attributes of this “settings” window in the Interface Builder inspector? For example, “Release when closed” shouldn’t be checked, while “Deferred” and “One shot” should be.
This sounds like an autorelease problem.
Model: Dual 2.7 GHz PowerPC G5; 2.5 GB RAM
Browser: Safari 412
Operating System: Mac OS X (10.4)