develooper Front page | perl.perl5.porters | Postings from September 2013

Re: [rt.cpan.org #88341] Pad corruption under threaded 5.18

Thread Next
From:
Zefram
Date:
September 21, 2013 17:59
Subject:
Re: [rt.cpan.org #88341] Pad corruption under threaded 5.18
Message ID:
20130921175909.GA13195@fysh.org
Father Chrysostomos via RT wrote:
>The following snippet shows a bad interaction between
>Devel::CallParser and the padrange optimisation:
...
>Perl commit 7601007 fixes this.

I think it's introduced a related bug.  With Perl 5.19.4 and D:CP 0.001
I see this crash:

$ cat t1
use Devel::CallParser;
my($a, $b, $c, $d);
my($e, $f, $g, $h);
1;
$ perl5.19.4 t1
zsh: segmentation fault  perl5.19.4 t1

This does not crash with earlier Perl versions.  Interestingly, the change
to D:CP that you propose to work around the pre-5.19.4 padrange bug
(saving and restoring PL_comppad's fill index) also avoids this crash.
So I'm using the workaround with no upper $] bound for now.

-zefram

Thread Next


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