Subject: | Assertion with 5.11.5 and evaling dumped code. |
The attached code causes an assertion in 5.11.5. The problem occurs
when Perl tries to eval a code dump that is inside autovivification.pm's
scope. This is something that happens with perl5i's autoboxed perl()
method.
Assertion failed: (SvTYPE(_svuvx) == SVt_IV || SvTYPE(_svuvx) >=
SVt_PVIV), function a_hint, file autovivification.xs, line 133.
And here is the stack trace.
#0 0x92a30732 in kill$UNIX2003 ()
#1 0x92ac398d in raise ()
#2 0x92ad9a44 in abort ()
#3 0x92ac65ec in __assert_rtn ()
#4 0x00439ace in a_hint (my_perl=0x800000) at autovivification.xs:133
#5 0x0043bd31 in a_ck_deref (my_perl=0x800000, o=0x573060) at
autovivification.xs:642
#6 0x0000c89a in Perl_newUNOP (my_perl=0x800000, type=15, flags=0,
first=0x5c9570) at op.c:3109
#7 0x0001f680 in Perl_newSVREF (my_perl=0x800000, o=0x5c9570) at op.c:6408
#8 0x000ba5e8 in Perl_yyparse (my_perl=0x800000) at perly.y:1330
#9 0x0027dcd0 in S_doeval (my_perl=0x800000, gimme=3, startop=0x0,
outside=0x803b10, seq=159) at pp_ctl.c:3089
#10 0x0028778b in Perl_pp_entereval (my_perl=0x800000) at pp_ctl.c:3763
#11 0x001118e1 in Perl_runops_debug (my_perl=0x800000) at dump.c:2049
#12 0x000382cd in S_run_body (my_perl=0x800000, oldscope=1) at perl.c:2308
#13 0x00037366 in perl_run (my_perl=0x800000) at perl.c:2233
#14 0x0000236d in main (argc=2, argv=0xbffff4d0, env=0xbffff4dc) at
perlmain.c:117
I've also reported this as a perlbug.
Subject: | test.plx |
Message body not shown because it is not plain text.