• 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
OS 9.2.2 script application crashes machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: OS 9.2.2 script application crashes machine
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Setting Properties or Globals of a compiled Script
  • Next by Date: Re: OS 9.2.2 script application crashes machine
  • Previous by thread: Re: applescript-users digest, Vol 2 #1456 - 16 msgs
  • Next by thread: Re: OS 9.2.2 script application crashes machine
  • Index(es):
    • Date
    • Thread