Bug#579537: perl: seg-fault when calling write in sub called via constant reference

Niko Tyni ntyni at debian.org
Wed Apr 28 19:52:36 UTC 2010


forwarded 579537 http://rt.perl.org/rt3/Public/Bug/Display.html?id=22977
tag 579537 fixed-upstream
fixed 579537 5.12.0-1
thanks

On Wed, Apr 28, 2010 at 01:31:35PM +0100, Jeremy Sowden wrote:
> Subject: perl: seg-fault when calling write in sub called via constant reference
> Package: perl
> Version: 5.10.1-12
> Severity: normal
 
> The following script:

> causes Perl to seg-fault:

Thanks for the report. 

The crash becomes an assertion failure with debugperl:

Assertion ((XPVCV*)((void *) ((outside)->sv_any)))->xcv_padlist failed: file "pad.c", line 1482 at f.pl line 14.

This is upstream ticket [perl #22977] (and [perl #50528]) and it was fixed
for 5.12.0 by change 421f30ed1e95009450bdc7905bf3433ee806ea4f.

 http://rt.perl.org/rt3/Public/Bug/Display.html?id=22977
 http://rt.perl.org/rt3/Public/Bug/Display.html?id=50528

 http://perl5.git.perl.org/perl.git/commit/421f30ed1e95009450bdc7905bf3433ee806ea4f

I'll look at backporting this for 5.10.1.
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list