Skip Menu |
Report information
Id: 129037
Status: pending release
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: brian.carpenter [at] gmail.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



Subject: Assertion Failure: Perl_yylex (toke.c:4890)
Download (untitled) / with headers
text/plain 216b
The attached script triggers an assertion failure in Perl v5.25.5 (v5.25.4-5-g92d73bf). ./perl test247 perl: toke.c:4890: int Perl_yylex(): Assertion `((((U8)((*(((U8*)s)+1 )) | 0)) & 0xC0) == 0x80)' failed. Aborted
Subject: test247
Download test247
application/octet-stream 18b

Message body not shown because it is not plain text.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 522b
On Sun Aug 21 14:58:41 2016, brian.carpenter@gmail.com wrote: Show quoted text
> The attached script triggers an assertion failure in Perl v5.25.5 > (v5.25.4-5-g92d73bf). > > ./perl test247 > perl: toke.c:4890: int Perl_yylex(): Assertion `((((U8)((*(((U8*)s)+1 > )) | 0)) & 0xC0) == 0x80)' failed. > Aborted
This is the same issue as #129036 pretty much, but a different code path is falling on the same problem. This time you’ve enabled utf8 (and every other pragma) with $^H=-1, which is rather neat. :-) -- Father Chrysostomos
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 363b
Thanks for finding and reporting this. It turns out that it was fixed by this: commit 75219bacf5aacd315b96083de24e82cd8238e99a Author: Karl Williamson <khw@cpan.org> Date: Fri Dec 9 08:45:18 2016 -0700 Use fnc to force out malformed warnings Commit 16a07156bec367e245074eb7448892c5f81feeef adds the script from this ticket as a test -- Karl Williamson


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org