Subject: | t/73mop-create-slot.t SEGV on perls 5.18 to 5.22 |
Often seen in cpantesters matrix. 5.16, and 5.22 onwards seems to be fine.
Example:
http://www.cpantesters.org/cpan/report/b6ad6476-8847-11ea-ab2c-73181f24ea8f
An initial gdb attempt showed:
ok 1 - $slotmeta->name
ok 2 - Failure from ->add_slot undef
ok 3 - Failure from ->add_slot on empty string
ok 4 - Failure from ->add_slot without sigil
ok 5 - Failure from ->add_slot duplicate
Program received signal SIGSEGV, Segmentation fault.
0x0000000000460538 in S_cv_clone ()
(gdb) bt
#0 0x0000000000460538 in S_cv_clone ()
#1 0x00000000004bbf18 in Perl_pp_anoncode ()
#2 0x000000000049eb73 in Perl_runops_standard ()
#3 0x00000000004356d7 in Perl_call_sv ()
#4 0x000000000043750e in Perl_call_list ()
#5 0x000000000041e90b in S_process_special_blocks ()
#6 0x000000000042fb24 in Perl_newATTRSUB_x ()
#7 0x000000000045fda2 in Perl_yyparse ()
#8 0x00000000004431dd in S_parse_recdescent_for_op ()
#9 0x000000000045cad4 in Perl_parse_stmtseq ()
#10 0x00007ffff7fca036 in my_keyword_plugin ()
from /home/leo/src/perl/Object-Pad/blib/arch/auto/Object/Pad/Pad.so
#11 0x000000000044cfd4 in Perl_yylex ()
#12 0x000000000045da25 in Perl_yyparse ()
#13 0x000000000043af3d in perl_parse ()
#14 0x000000000041dde0 in main ()
--
Paul Evans