[ macperl-Bugs-471867 ] crash when running a droplet

[email protected]
Newsgroups perl.macperl.porters
Message-ID <[email protected]>
Bugs item #471867, was opened at 2001-10-16 14:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=471867&group_id=7940

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Rose (axelrose)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash when running a droplet

Initial Comment:
I observe crashes when a normal error should occur.
This happens only with a droplet.

To repeat use this little script:

#!perl -w
use strict;
use Mac::Conversions;

my $testfile = "adisk:where:the folder:and:filename:probably:wont:exist.txt";
my $conv = Mac::Conversions->new;
$conv->macbinary( $testfile );


__END__

save as droplet

sometimes the result is understandable:
# Can't call method "ioFlFndrInfo" on an undefined value.
File 'Festplatte:Projekte:MacPerl5.6.1b1:lib:Mac:Conversions.pm'; Line 159

mostly though there is a crash:
(I thought it was only if MacPerl wasn't already running but
couldn't reproduce)

PowerPC unmapped memory exception
 Return addresses on the stack
  Stack Addr  Frame Addr   ISA   Caller
   08B62D78                PPC   07A789D8 perl_construct+00368
   08B62C7C                PPC   07A7A620 perl_run+0005C
   08B62C58    08B62C50    PPC   07AD8900 Perl_sv_upgrade+002E4
   08B62C48                PPC   07A7A67C perl_run+000B8
   08B62BF8                68K   07A7AB2A S_run_body+001EA
   08B62BC8    08B62BC0    PPC   07AFE6FC Perl_safesysmalloc+00048
   08B62BB8    08B62BB0    PPC   07A40210 pool_malloc+0002C
   08B62BA8    08B62BA0    PPC   07B05170 Perl_runops_debug+00144
   08B62B68    08B62B60    PPC   07A95E38 Perl_pp_nextstate+00060
   08B62B58    08B62B50    PPC   07A969E0 Perl_pp_padsv+00028
   08B62B28    08B62B20    PPC   07A48F60 Perl_free_tmps+0005C
   08B62B18    08B62B10    PPC   07A9E774 Perl_pp_entersub+00610
   08B62AF8    08B62AF0    PPC   07A48D04 Perl_pop_scope+00030
   08B62AE8    08B62AE0    PPC   07AE06D4 Perl_sv_free+001B8
   08B62A88    08B62A80    PPC   0A64789C XS_Mac__Files_FSpGetCatInfo+00338
   08B62A78                PPC   07ADD8EC Perl_sv_setsv+01100
   08B62A70                PPC   00B62ADC kermit::CSettings::getDoubleClickTime() const+01D9C
   08B62A54                68K   0022A006
   08B62A48    08B62A40    PPC   0A64FA68
   08B62A28                68K   07E29D46
   08B62A08    08B62A00    PPC   0A64F6C8
   08B629E8    08B629E0    PPC   07AFE8C8 Perl_safesysrealloc+00074

Kermit ???

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=471867&group_id=7940
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.