[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MPW crashes when running an AppleScript from



On 4:43 AM 4/6/00 Jan Erik Moström <lists@mostrom.pp.se> wrote:

> In order to be able to use command line arguments with Perl I've
> installed MPW and everything works except that it crashes 8-)
> 
> The first time I run the script, the files are modified and a message
> is created in Mailsmith. BUT the second time I run it MPW crashes. I
> tried it three times and the first time it didn't even drop into
> Macsbug, it just frooze my Mac. The second time I got this message
> from Macsbug:

I beleive this happens with all tools that use the OSA Component.  I
forget the details, but I think the OSA Component allocates and uses
some stuff in the application heap when you initialize the component but
because tools are a special case and MPW does some funny things with
memory management on their behalf, things get confused. (It doesn't do
all that wierd of a thing, but it isn't what a "normal" application
would do.)

If I am not halucinating, Jon Pugh did explain once what was going on
and why it was that way.  Unfortunately I've long forgotten the details
and no longer have said email message, if it ever did exist.
-- 
Jim Correia                                Bare Bones Software, Inc.
correia@barebones.com                     <http://web.barebones.com>

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org