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

[perl #123954] Perl_pp_substcont: Assertion `((sv)->sv_flags & 0x00000400)' failed (pp_ctl.c:318)

Thread Next
From:
Father Chrysostomos via RT
Date:
March 1, 2015 22:11
Subject:
[perl #123954] Perl_pp_substcont: Assertion `((sv)->sv_flags & 0x00000400)' failed (pp_ctl.c:318)
Message ID:
rt-4.0.18-25987-1425247874-317.123954-15-0@perl.org
On Sat Feb 28 15:45:33 2015, brian.carpenter@gmail.com wrote:
> perl: pp_ctl.c:318: Perl_pp_substcont: Assertion `((sv)->sv_flags &
> 0x00000400)' failed.
...
> Test case that causes this failure is 22 bytes, here's a hexdump:
> 0000000 7730 6968 656c 7320 2f2f 6863 2872 5f24
>                          0000010 2b2b 2f29 6567
> 0000016

On a non-debugging build, I see:

$ perl5.20.1 -e '0while s//chr($_++)/ge'
Substitution loop at -e line 1.

all the way back to 5.8.7.  ‘Substitution loop’ is one of those errors that is not supposed to happen.

-- 

Father Chrysostomos


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

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