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

Re: [ #88341] Pad corruption under threaded 5.18

Thread Next
September 21, 2013 17:59
Re: [ #88341] Pad corruption under threaded 5.18
Message ID:
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);
$ 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.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About