develooper Front page | perl.perl5.porters | Postings from September 2016

[perl #129157] Assertion `((((U8)((*(((constU8*)(PL_parser->oldoldbufptr))+1 )) | 0)) & 0xC0) == 0x80)' failed(toke.c:525)

Thread Previous
From:
Brian Carpenter
Date:
September 1, 2016 04:51
Subject:
[perl #129157] Assertion `((((U8)((*(((constU8*)(PL_parser->oldoldbufptr))+1 )) | 0)) & 0xC0) == 0x80)' failed(toke.c:525)
Message ID:
rt-4.0.24-30382-1472705493-1646.129157-75-0@perl.org
# New Ticket Created by  Brian Carpenter 
# Please include the string:  [perl #129157]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129157 >


v5.25.4-25-g109ac34*

Minimizing this testcase with afl-tmin caused this assertion to be replaced with the one from bug #129037.

./perl assert556
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3) at assert556 line 2.
Malformed UTF-8 character (unexpected non-continuation byte 0x74, immediately after start byte 0xc3) at assert556 line 2.
Bareword found where operator expected at assert556 line 2, near ""9 "Y"
        (Missing operator before Y?)
Wide character in print at assert556 line 86.
Bareword found where operator expected at assert556 line 86, near "▒▒▒▒▒▒▒▒tprotobyname"; "9 "Y=n {pop and-p[p };shmread $^H LLLLL_'_"
perl: toke.c:525: void S_no_op(const char *const, char *): Assertion `((((U8)((*(((const U8*)(PL_parser->oldoldbufptr))+1 )) | 0)) & 0xC0) == 0x80)' failed.
Aborted.

#0  0x00007ffff6cf2067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6cf3448 in __GI_abort () at abort.c:89
#2  0x00007ffff6ceb266 in __assert_fail_base (fmt=0x7ffff6e24238 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0xd5ae80 <.str1033> "((((U8)((*(((const U8*)(PL_parser->oldoldbufptr))+1 )) | 0)) & 0xC0) == 0x80)",
    file=file@entry=0xd66637 "toke.c", line=line@entry=525,
    function=function@entry=0xd5ace0 <__PRETTY_FUNCTION__.S_no_op> "void S_no_op(const char *const, char *)") at assert.c:92
#3  0x00007ffff6ceb312 in __GI___assert_fail (
    assertion=0xd5ae80 <.str1033> "((((U8)((*(((const U8*)(PL_parser->oldoldbufptr))+1 )) | 0)) & 0xC0) == 0x80)", file=0xd66637 "toke.c",
    line=525, function=0xd5ace0 <__PRETTY_FUNCTION__.S_no_op> "void S_no_op(const char *const, char *)") at assert.c:101
#4  0x0000000000693c81 in S_no_op (what=<optimized out>, s=<optimized out>) at toke.c:525
#5  0x00000000006224f0 in Perl_yylex () at toke.c:6958
#6  0x00000000006ad346 in Perl_yyparse (gramtype=<optimized out>) at perly.c:334
#7  0x000000000059c392 in S_parse_body (env=<optimized out>, xsinit=<optimized out>) at perl.c:2373
#8  0x000000000059272d in perl_parse (my_perl=<optimized out>, xsinit=<optimized out>, argc=<optimized out>, argv=<optimized out>,
    env=<optimized out>) at perl.c:1689
#9  0x00000000004de6a6 in main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>) at perlmain.c:121
Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About