develooper Front page | perl.perl5.porters | Postings from December 2017

[perl #132554] Assertion failure in S_maybe_multiconcat (op.c:2727)

Thread Next
From:
Brian Carpenter
Date:
December 9, 2017 18:28
Subject:
[perl #132554] Assertion failure in S_maybe_multiconcat (op.c:2727)
Message ID:
rt-4.0.24-3793-1512844106-611.132554-75-0@perl.org
# New Ticket Created by  Brian Carpenter 
# Please include the string:  [perl #132554]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132554 >


This assertion failure was triggered in Perl v5.27.6-156-g5d4548b73b,
compiled with Clang 6.0.0-trunk and -fsanitize=address.

 ./perl -e 'H.-w.w.=0'
perl: op.c:2727: void S_maybe_multiconcat(OP *): Assertion `!(o->op_private
& ~(OPpARG2_MASK|OPpTARGET_MY))' failed.
Aborted

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1  0x00007ffff6cc837a in __GI_abort () at abort.c:89
#2  0x00007ffff6cbeb47 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion@entry=0xbf9020 <.str> "!(o->op_private &
~(OPpARG2_MASK|OPpTARGET_MY))", file=file@entry=0xbed660 <.str> "op.c",
line=line@entry=2727,
    function=function@entry=0xbf8f40 <__PRETTY_FUNCTION__.S_maybe_multiconcat>
"void S_maybe_multiconcat(OP *)") at assert.c:92
#3  0x00007ffff6cbebf2 in __GI___assert_fail (assertion=0xbf9020 <.str>
"!(o->op_private & ~(OPpARG2_MASK|OPpTARGET_MY))", file=0xbed660 <.str>
"op.c", line=2727, function=0xbf8f40 <__PRETTY_FUNCTION__.S_maybe_multiconcat>
"void S_maybe_multiconcat(OP *)") at assert.c:101
#4  0x000000000058b77a in S_maybe_multiconcat (o=<optimized out>) at
op.c:2727
#5  0x0000000000512f9b in S_optimize_op (o=0x619000002200) at op.c:3472
#6  0x0000000000513082 in S_optimize_op (o=<optimized out>) at op.c:3488
#7  0x0000000000512c9c in Perl_optimize_optree (o=0x619000002158) at
op.c:3443
#8  0x0000000000526dc1 in S_process_optree (cv=0x0, optree=0x619000002158,
start=0x619000002120) at op.c:3411
#9  0x000000000052626a in Perl_newPROG (o=0x619000002158) at op.c:5317
#10 0x00000000006a8067 in Perl_yyparse (gramtype=<optimized out>) at
perly.y:124
#11 0x00000000005a3c22 in S_parse_body (env=<optimized out>,
xsinit=<optimized out>) at perl.c:2447
#12 0x000000000059ea24 in perl_parse (my_perl=<optimized out>,
xsinit=0x5036f0 <xs_init>, argc=2, argv=<optimized out>, env=0x0) at
perl.c:1750
#13 0x0000000000503486 in main (argc=0, argv=0x7ffff6cc677f
<__GI_raise+159>, env=0x7fffffffe380) at perlmain.c:121


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