tag 538757 fixed-upstream
thanks

On Sun, Jul 26, 2009 at 08:21:45PM +0100, Andrew Suffield wrote:
> Package: perl
> Version: 5.10.0-24
> 
> asuffi...@cyclone:~/work/perl-bug$ perl -MOne
> panic: restartop
> Segmentation fault (core dumped)

A more minimal test case is

% cat One.pm 
BEGIN {
 *{"P::(" . q{""}} = \&overload::nil;
 *{"P::()"} = sub {}; 
 bless {}, 'P';
}

This crashes the 5.8 series too. It was recently fixed in bleadperl with

 
http://perl5.git.perl.org/perl.git/commitdiff/242f8760e6ec383f070c854a602d038abeaf355a

which changes the signature of Perl_Gv_AMupdate so it's not good for the
5.10 branch.

I'll see if I can come up with a binary-compatible fix.

Cheers,
-- 
Niko Tyni   [email protected]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to