On Thu Jan 16 01:22:26 2020, TEAM wrote:
Show quoted text> With 0.35, a single undeclared variable under `strict` is fine - the
> error is displayed, things fail to compile and everything exits
> cleanly. So far so good.
>
> With *two* undeclared variables, we're back to segfaults:
So; good news, bad news.
Good news: I can reproduce it:
Program received signal SIGSEGV, Segmentation fault.
Bad news: the stack trace in gdb doesn't go through AsyncAwait.xs:
#0 0x00005555555a8140 in Perl_newCVREF (my_perl=my_perl@entry=0x5555558a9260,
flags=flags@entry=0, o=0x0) at op.c:11081
#1 0x00005555555f6043 in Perl_yyparse (my_perl=my_perl@entry=0x5555558a9260,
gramtype=gramtype@entry=258) at perly.y:957
#2 0x0000555555697927 in S_doeval_compile (my_perl=my_perl@entry=0x5555558a9260,
gimme=gimme@entry=2 '\002', outside=outside@entry=0x5555558ac688,
seq=<optimized out>, hh=hh@entry=0x55555608c028) at pp_ctl.c:3502
#3 0x00005555556a294a in Perl_pp_entereval (my_perl=0x5555558a9260) at pp_ctl.c:4478
#4 0x0000555555652016 in Perl_runops_standard (my_perl=0x5555558a9260) at run.c:42
#5 0x00005555555c662c in S_run_body (oldscope=<optimized out>, my_perl=<optimized out>)
at perl.c:2716
#6 perl_run (my_perl=0x5555558a9260) at perl.c:2639
#7 0x000055555559c462 in main (argc=<optimized out>, argv=<optimized out>,
env=<optimized out>) at perlmain.c:127
This is going to require some more subtle trickery...
--
Paul Evans