develooper Front page | perl.perl5.porters | Postings from November 2015

[perl #123710] Segmentation fault in Perl_sv_setpvn()

From:
Tony Cook via RT
Date:
November 25, 2015 00:37
Subject:
[perl #123710] Segmentation fault in Perl_sv_setpvn()
Message ID:
rt-4.0.18-6192-1448411845-1286.123710-15-0@perl.org
On Tue Sep 01 07:14:27 2015, davem wrote:
> On Wed, Aug 26, 2015 at 01:17:04PM -0700, Dan Collins via RT wrote:
> > [perl #125840] was fixed in blead, however is only a symptom of this
> > larger bug. To aid anyone attempting to resolve this, an odd
> > testcase, in that it actually throws an assert fail on perls built
> > with -DDEBUGGING.
> >
> > Testcase:
> > $0*=$=*=*==$$=0
> >
> > Perl 5.10 exits with an error message:
> > Modification of a read-only value attempted at -e line 1.
> >
> > Blead segfaults with no output
> >
> > A -DDEBUGGING blead throws the following assert fail:
> > miniperl: sv.c:1792: Perl_sv_setnv: Assertion
> > `PL_valid_types_NV_set[((svtype)((sv)->sv_flags & 0xff)) & 0xf]'
> > failed.
> 
> Presumably my bigger fix for [perl #125840], 3c62f09f418b63bd, which
> was
> applied on Aug 30, fixes that too? Certainly I don't see the
> assertion.

Yes, your fix also fixed this. Closing.

Tony


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=123710



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