Bug#537996: More details
Niko Tyni
ntyni at debian.org
Wed Jul 29 21:05:48 UTC 2009
clone 537996 -1
reassign -1 perl 5.10.0-19
retitle -1 segfault calling SvIV() after perl_run()
tag 537996 patch
thanks
On Sun, Jul 26, 2009 at 05:01:39PM +0200, Tomaž Šolc wrote:
> >> Somebody with deeper knowledge of Perl guts will have to tell if it just
> >> fixes the symptoms or the cause of the bug.
> With some trial-and-error I came up with the attached script - that's
> the shortest script I can get to crash.
I'm attaching a core-only version of the test script and a short C program
that embeds Perl and crashes in the same way on i386 when running the
test script with '-w'.
I'll apply your SvTRUE workaround for speedy-cgi-perl, but I'm cloning
a separate bug against perl. If the C program is doing something wrong,
I suppose perlembed.pod should have a note about it.
FWIW, I see the crashing code in the Perl core was briefly changed not
to crash as a workaround for another bug.
Resetting PL_op works here too, but should it be needed?
http://perl5.git.perl.org/perl.git/commitdiff/d4f41c0196a61a9d6f38ee42fc192ebf28ef6420
http://perl5.git.perl.org/perl.git/commitdiff/cecbe0108c1c5a1c170a53b486232d7a592e3312
http://perl5.git.perl.org/perl.git/commitdiff/30c8d9e411f7375ddf81a32aa625d6c0e0c39091
Cheers,
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.pl
Type: text/x-perl
Size: 51 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20090730/e02b8416/attachment.pl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 582 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20090730/e02b8416/attachment.c>
More information about the Perl-maintainers
mailing list