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

[perl #123801] Perl_yylex: Assertion `PL_valid_types_IVX[((svtype)((_svivx)->sv_flags & 0xff)) & 0xf]' failed (toke.c:4550)

Thread Next
From:
Father Chrysostomos via RT
Date:
February 23, 2015 00:41
Subject:
[perl #123801] Perl_yylex: Assertion `PL_valid_types_IVX[((svtype)((_svivx)->sv_flags & 0xff)) & 0xf]' failed (toke.c:4550)
Message ID:
rt-4.0.18-11449-1424652085-1102.123801-15-0@perl.org
On Tue Feb 17 17:10:30 2015, brian.carpenter@gmail.com wrote:
> Slightly different test case points to a different line # in toke.c:
> 
> geeknik@deb7fuzz:/tmp$ ~/perl/perl -e 's##[}#e'
> perl: toke.c:4551: Perl_yylex: Assertion
> `PL_valid_types_IVX[((svtype)((_svivx)->sv_flags & 0xff)) & 0xf]'
> failed.

On non-debugging builds, that example crashes for me in bleadperl, but not 5.20.1.

I have fixed it in f4460c6f7a.

The case in #123802 is not fixed yet.

-- 

Father Chrysostomos


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

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