-
Notifications
You must be signed in to change notification settings - Fork 560
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
S_sublex_done: Assertion `(PL_parser->lex_inwhat) == OP_SUBST || (PL_parser->lex_inwhat) == OP_TRANS' failed (toke.c:2448) #14548
Comments
From @geeknikBuilt v5.21.10 (v5.21.9-43-g2c3f32a) with the following command line: ./Configure -des -Dusedevel -DDEBUGGING -Dcc=afl-gcc -Doptimize=-O2\ -g && AFL_HARDEN=1 make -j12 test-prep Bug found with AFL (http://lcamtuf.coredump.cx/afl) Valgrind: GDB: Program received signal SIGABRT, Aborted. Test case is 21 bytes, here is a hexdump: Debian 7, Kernel 3.2.65-1+deb7u1 x86_64, GCC 4.9.2, libc 2.13-38+deb7u7 |
From @geeknik |
From @cpansproutOn Sat Feb 28 18:12:37 2015, brian.carpenter@gmail.com wrote:
Based on where the assertion is coming from, I’m guessing this has been fixed by 479ae48, but I have not yet confirmed. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Sat Feb 28 22:14:51 2015, sprout wrote:
Actually, no, it’s not fixed. -- Father Chrysostomos |
From @cpansproutOn Sun Mar 01 11:26:01 2015, sprout wrote:
It’s related to #123617. It’s not only PL_lex_stuff that needs localisation, but also PL_sublex_info.repl. When we evaluate "@0{0s 000";eval"$" the ‘s 000’ is a substitution that causes both PL_lex_stuff and PL_sublex_info.repl to be set. Since the s comes after a 0, the parser immediately sees the syntax error and pops some tokens, causing PL_lex_stuff to be reset to NULL, since it is now localised as of eabab8b. PL_sublex_info.repl is still set, so the double quote that follows is treated as a two-part quote-like operator; hence the assertion failure. This is now fixed in ce7c414. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for submitting this ticket. The issue should now be resolved with the release today of Perl v5.22, which is available at http://www.perl.org/get.html |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#123955 (status was 'resolved')
Searchable as RT123955$
The text was updated successfully, but these errors were encountered: