Bug#538757: panic:restartop and segfault in perl interpreter

Niko Tyni ntyni at debian.org
Tue Jul 28 11:59:29 UTC 2009


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
> 
> asuffield at 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   ntyni at debian.org






More information about the Perl-maintainers mailing list