Fix FTBFS in Fedora 39 due to failing t/20-bad.t (rhbz#2222854)
The test is failing to spot that this trace report is the one it's
interested in:
# 10,000 bytes in 1 blocks are still reachable in loss record 18 of 18
# malloc (/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) [vg_replace_malloc.c:431]
# tv_leak (/builddir/build/BUILD/Test-Valgrind-1.19/blib/arch/auto/Test/Valgrind/Valgrind.so) [Valgrind.xs:34]
# XS_Test__Valgrind_leak (/builddir/build/BUILD/Test-Valgrind-1.19/blib/arch/auto/Test/Valgrind/Valgrind.so) [Valgrind.xs:54]
# ? (/usr/lib64/libperl.so.5.38.0) [?:?]
# Perl_runops_standard (/usr/lib64/libperl.so.5.38.0) [?:?]
# perl_run (/usr/lib64/libperl.so.5.38.0) [?:?]
# ? (/usr/bin/perl) [?:?]
# (below main) (/usr/lib64/libc.so.6) [?:?]
By way of comparison, it successfully identifies this one:
# 10,000 bytes in 1 blocks are still reachable in loss record 17 of 17
# malloc (/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) [vg_replace_malloc.c:431]
# tv_leak (/builddir/build/BUILD/Test-Valgrind-1.19/blib/arch/auto/Test/Valgrind/Valgrind.so) [Valgrind.xs:34]
# XS_Test__Valgrind_leak (/builddir/build/BUILD/Test-Valgrind-1.19/blib/arch/auto/Test/Valgrind/Valgrind.so) [Valgrind.xs:54]
# Perl_pp_entersub (/usr/lib64/libperl.so.5.36.1) [?:?]
# Perl_runops_standard (/usr/lib64/libperl.so.5.36.1) [?:?]
# perl_run (/usr/lib64/libperl.so.5.36.1) [?:?]
# ? (/usr/bin/perl) [?:?]
# (below main) (/usr/lib64/libc.so.6) [?:?]
It is looking for the 'Perl_pp_entersub' symbol and does not find it.
Workaround is to look for the 'XS_Test__Valgrind_leak' and
'Perl_runops_standard' symbols surrounding where 'Perl_pp_entersub' was
expected.