develooper Front page | perl.perl5.porters | Postings from May 2003

Re: Seg fault in dying from XS

Thread Previous
From:
Ken Williams
Date:
May 26, 2003 21:00
Subject:
Re: Seg fault in dying from XS
Message ID:
AA9A411E-8FF7-11D7-A682-003065F6D85A@mathforum.org

On Monday, May 26, 2003, at 10:33  PM, Dave Rolsky wrote:
>
> For reference, I've tested this quite a bit and it works fine under 
> 5.8.0,
> but 5.6.1.
>
> In _some_ cases, 5.6.1 appears to be ok.  In others it dies.

For instance, if I make the call to throw() be:

   throw( sub { die bless {}, 'foo' } );

then it craps out somewhere inside croak(Nullch), but if I change it to:

   throw( sub { die 'foo' } );

then it continues on its merry way as if the croak(Nullch) never 
happened.

  -Ken


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About