Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Failure: Perl_yylex (toke.c:4890) #15542

Closed
p5pRT opened this issue Aug 21, 2016 · 8 comments
Closed

Assertion Failure: Perl_yylex (toke.c:4890) #15542

p5pRT opened this issue Aug 21, 2016 · 8 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 21, 2016

Migrated from rt.perl.org#129037 (status was 'resolved')

Searchable as RT129037$

@p5pRT
Copy link
Author

p5pRT commented Aug 21, 2016

From @geeknik

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

@p5pRT
Copy link
Author

p5pRT commented Aug 21, 2016

From @geeknik

test247

@p5pRT
Copy link
Author

p5pRT commented Aug 22, 2016

From @cpansprout

On Sun Aug 21 14​:58​:41 2016, brian.carpenter@​gmail.com wrote​:

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

@p5pRT
Copy link
Author

p5pRT commented Aug 22, 2016

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Feb 7, 2017

From @khwilliamson

Thanks for finding and reporting this. It turns out that it was fixed by this​:

commit 75219ba
Author​: Karl Williamson <khw@​cpan.org>
Date​: Fri Dec 9 08​:45​:18 2016 -0700

  Use fnc to force out malformed warnings

Commit 16a0715 adds the script from this ticket as a test

--
Karl Williamson

@p5pRT
Copy link
Author

p5pRT commented Feb 7, 2017

@khwilliamson - Status changed from 'open' to 'pending release'

@p5pRT
Copy link
Author

p5pRT commented May 30, 2017

From @khwilliamson

Thank you for filing this report. You have helped make Perl better.

With the release today of Perl 5.26.0, this and 210 other issues have been
resolved.

Perl 5.26.0 may be downloaded via​:
https://metacpan.org/release/XSAWYERX/perl-5.26.0

If you find that the problem persists, feel free to reopen this ticket.

@p5pRT
Copy link
Author

p5pRT commented May 30, 2017

@khwilliamson - Status changed from 'pending release' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant