OS 9.2.2 script application crashes machine
OS 9.2.2 script application crashes machine
- Subject: OS 9.2.2 script application crashes machine
- From: "Donald S. Hall" <email@hidden>
- Date: Sat, 05 Jan 2002 00:50:06 -0700
Hi everyone,
I have a stay open script application, compiled in OS X 10.1, that ran fine
in OS 9.2.1 as well as in 10.1. I upgraded to OS 9.2.2 and now it crashes
the computer. According to Macsbug (about which I am not an expert) I get a
report of a "bus error writing byte 00 to <address> in user space". I must
use rb to get going again, es gives me a frozen machine; presumably the
Finder is hosed. The Macsbug display shows both A and D registers,
indicating the crash took place in 68K code.
I tried taking the source code and recompiling it into a script application
in 0S 9.2.2. It apparently compiled fine, but it crashed the machine in the
same manner as the original compiled-in-10.1 script app. I also tried
compiling in OS X 10.1.2 (AS 1.8) where it ran fine, but in OS 9.2.2 I got
the same crash.
I tried putting in some debug statements (remaining in OS 9.2.2) to see
where things were going wrong, but this only seemed to change where the
crash occurred. I also noticed that a 'choose file with prompt' statement
did not show the prompt, but only "choose file" in the dialog. Note that I
can write to a file, and at least on one try I could also read from a
(different) file.
Are there some AS calls or scripting additions that are broken in OS 9.2.2?
Do idle handlers work? I know from reading the Applescript Sourcebook that
the AS 1.7 in OS 9.2.2 has some serious problems in implementation.
I will keep trying to find out where the problem is, but rebooting every 5
minutes is tedious. I was hoping someone else here might have had a similar
experience.
Thanks in advance for any help,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
email@hidden