https://bugzilla.redhat.com/show_bug.cgi?id=1470030 --- Comment #4 from Paul Howarth <paul@xxxxxxxxxxxx> --- (In reply to Mark Wielaard from comment #3) > It would be good to run the testcase by hand under valgrind with > glibc-debuginfo installed so we get precise source code lines in the > backtrace and using valgrind --track-origins=yes to see where exactly the > issue comes from. Here we go: $ make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Valgrind.bs blib/arch/auto/Test/Valgrind/Valgrind.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'bl ib/arch')" t/*.t # Testing Test::Valgrind 1.19, Perl 5.026000, /usr/bin/perl t/00-load.t ................... ok # Using valgrind 3.13.0 located at /builddir/build/BUILD/Test-Valgrind-1.19/bin/valgrind # Generating suppressions... # Suppressions for this perl stored in /builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.13.0-248e36fee3eae24de9070610cdef29ec.supp # Using suppressions from /builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.13.0-248e36fee3eae24de9070610cdef29ec.supp # 1..1 # not ok 1 - dummy test in the child, should not interfere with the actual TAP stream # # # Failed test 'dummy test in the child, should not interfere with the actual TAP stream' # # at t/10-good.t line 30. # # Looks like you failed 1 test of 1. # Conditional jump or move depends on uninitialised value(s) # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:701] # dcgettext (/usr/lib64/power8/libc-2.25.90.so) [dcgettext.c:47] # strerror_r (/usr/lib64/power8/libc-2.25.90.so) [_strerror.c:71] # Perl_my_strerror (/usr/lib64/libperl.so.5.26.0) [locale.c:2597] # Perl_magic_get (/usr/lib64/libperl.so.5.26.0) [mg.c:925] # Perl_mg_get (/usr/lib64/libperl.so.5.26.0) [mg.c:201] # Perl_sv_setsv_flags (/usr/lib64/libperl.so.5.26.0) [sv.c:4461] # Perl_pp_sassign (/usr/lib64/libperl.so.5.26.0) [pp_hot.c:226] # Perl_runops_standard (/usr/lib64/libperl.so.5.26.0) [run.c:41] # Perl_call_sv (/usr/lib64/libperl.so.5.26.0) [perl.c:2848] # Perl_call_list (/usr/lib64/libperl.so.5.26.0) [perl.c:5016] # perl_destruct (/usr/lib64/libperl.so.5.26.0) [perl.c:610] # main (/usr/bin/perl) [perlmain.c:134] # Uninitialised value was created by a stack allocation # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:490] # Conditional jump or move depends on uninitialised value(s) # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:701] # dcgettext (/usr/lib64/power8/libc-2.25.90.so) [dcgettext.c:47] # strerror_r (/usr/lib64/power8/libc-2.25.90.so) [_strerror.c:71] # Perl_my_strerror (/usr/lib64/libperl.so.5.26.0) [locale.c:2597] # Perl_magic_get (/usr/lib64/libperl.so.5.26.0) [mg.c:925] # Perl_mg_get (/usr/lib64/libperl.so.5.26.0) [mg.c:201] # Perl_sv_setsv_flags (/usr/lib64/libperl.so.5.26.0) [sv.c:4461] # Perl_pp_sassign (/usr/lib64/libperl.so.5.26.0) [pp_hot.c:226] # Perl_runops_standard (/usr/lib64/libperl.so.5.26.0) [run.c:41] # Perl_call_sv (/usr/lib64/libperl.so.5.26.0) [perl.c:2848] # Perl_call_list (/usr/lib64/libperl.so.5.26.0) [perl.c:5016] # perl_destruct (/usr/lib64/libperl.so.5.26.0) [perl.c:610] # main (/usr/bin/perl) [perlmain.c:134] # Uninitialised value was created by a stack allocation # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:490] # Failed test 'UninitCondition' # at /builddir/build/BUILD/Test-Valgrind-1.19/blib/lib/Test/Valgrind/Session.pm line 598. # got: 2 # expected: 0 # Looks like your test exited with 1 just after 15. t/10-good.t ................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/15 subtests # Using valgrind 3.13.0 located at /builddir/build/BUILD/Test-Valgrind-1.19/bin/valgrind # Using suppressions from /builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.13.0-248e36fee3eae24de9070610cdef29ec.supp # dummy run-time exception, should not cause the test to fail at t/12-good-run-exception.t line 20. # Conditional jump or move depends on uninitialised value(s) # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:701] # dcgettext (/usr/lib64/power8/libc-2.25.90.so) [dcgettext.c:47] # strerror_r (/usr/lib64/power8/libc-2.25.90.so) [_strerror.c:71] # Perl_my_strerror (/usr/lib64/libperl.so.5.26.0) [locale.c:2597] # Perl_magic_get (/usr/lib64/libperl.so.5.26.0) [mg.c:925] # Perl_mg_get (/usr/lib64/libperl.so.5.26.0) [mg.c:201] # Perl_sv_setsv_flags (/usr/lib64/libperl.so.5.26.0) [sv.c:4461] # Perl_pp_sassign (/usr/lib64/libperl.so.5.26.0) [pp_hot.c:226] # Perl_runops_standard (/usr/lib64/libperl.so.5.26.0) [run.c:41] # Perl_call_sv (/usr/lib64/libperl.so.5.26.0) [perl.c:2848] # Perl_call_list (/usr/lib64/libperl.so.5.26.0) [perl.c:5016] # perl_destruct (/usr/lib64/libperl.so.5.26.0) [perl.c:610] # main (/usr/bin/perl) [perlmain.c:134] # Uninitialised value was created by a stack allocation # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:490] # Conditional jump or move depends on uninitialised value(s) # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:701] # dcgettext (/usr/lib64/power8/libc-2.25.90.so) [dcgettext.c:47] # strerror_r (/usr/lib64/power8/libc-2.25.90.so) [_strerror.c:71] # Perl_my_strerror (/usr/lib64/libperl.so.5.26.0) [locale.c:2597] # Perl_magic_get (/usr/lib64/libperl.so.5.26.0) [mg.c:925] # Perl_mg_get (/usr/lib64/libperl.so.5.26.0) [mg.c:201] # Perl_sv_setsv_flags (/usr/lib64/libperl.so.5.26.0) [sv.c:4461] # Perl_pp_sassign (/usr/lib64/libperl.so.5.26.0) [pp_hot.c:226] # Perl_runops_standard (/usr/lib64/libperl.so.5.26.0) [run.c:41] # Perl_call_sv (/usr/lib64/libperl.so.5.26.0) [perl.c:2848] # Perl_call_list (/usr/lib64/libperl.so.5.26.0) [perl.c:5016] # perl_destruct (/usr/lib64/libperl.so.5.26.0) [perl.c:610] # main (/usr/bin/perl) [perlmain.c:134] # Uninitialised value was created by a stack allocation # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:490] # Conditional jump or move depends on uninitialised value(s) # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:701] # dcgettext (/usr/lib64/power8/libc-2.25.90.so) [dcgettext.c:47] # strerror_r (/usr/lib64/power8/libc-2.25.90.so) [_strerror.c:71] # Perl_my_strerror (/usr/lib64/libperl.so.5.26.0) [locale.c:2597] # Perl_magic_get (/usr/lib64/libperl.so.5.26.0) [mg.c:925] # Perl_mg_get (/usr/lib64/libperl.so.5.26.0) [mg.c:201] # Perl_sv_setsv_flags (/usr/lib64/libperl.so.5.26.0) [sv.c:4461] # Perl_pp_sassign (/usr/lib64/libperl.so.5.26.0) [pp_hot.c:226] # Perl_runops_standard (/usr/lib64/libperl.so.5.26.0) [run.c:41] # Perl_call_sv (/usr/lib64/libperl.so.5.26.0) [perl.c:2848] # Perl_call_list (/usr/lib64/libperl.so.5.26.0) [perl.c:5016] # perl_destruct (/usr/lib64/libperl.so.5.26.0) [perl.c:610] # main (/usr/bin/perl) [perlmain.c:134] # Uninitialised value was created by a stack allocation # __dcigettext (/usr/lib64/power8/libc-2.25.90.so) [dcigettext.c:490] # Failed test 'UninitCondition' # at /builddir/build/BUILD/Test-Valgrind-1.19/blib/lib/Test/Valgrind/Session.pm line 598. # got: 3 # expected: 0 # Looks like your test exited with 1 just after 15. t/12-good-run-exception.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/15 subtests # Using valgrind 3.13.0 located at /builddir/build/BUILD/Test-Valgrind-1.19/bin/valgrind # Using suppressions from /builddir/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.13.0-248e36fee3eae24de9070610cdef29ec.supp # # leaking some bytes! # The subsequent report was correctly caught: # 10,000 bytes in 1 blocks are still reachable in loss record 20 of 20 # malloc (/usr/lib64/valgrind/vgpreload_memcheck-ppc64be-linux.so) [vg_replace_malloc.c:299] # 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.26.0) [pp_hot.c:4231] # Perl_runops_standard (/usr/lib64/libperl.so.5.26.0) [run.c:41] # S_run_body (/usr/lib64/libperl.so.5.26.0) [perl.c:2524] # perl_run (/usr/lib64/libperl.so.5.26.0) [perl.c:2447] # main (/usr/bin/perl) [perlmain.c:123] t/20-bad.t .................... ok # Using IO::Handle 1.36 # Using IO::Select 1.22 # Using IPC::Open3 1.20 t/30-skip.t ................... ok t/60-version.t ................ ok t/70-session.t ................ ok t/71-session-command.t ........ ok # The default suppression file contains 25 suppressions, of which 25 are not empty and 25 apply to perl t/80-suppressions.t ........... ok t/81-suppressions-demangle.t .. ok Test Summary Report ------------------- t/10-good.t (Wstat: 256 Tests: 15 Failed: 1) Failed test: 8 Non-zero exit status: 1 t/12-good-run-exception.t (Wstat: 256 Tests: 15 Failed: 1) Failed test: 8 Non-zero exit status: 1 Files=10, Tests=200, 35 wallclock secs ( 0.05 usr 0.01 sys + 34.00 cusr 0.34 csys = 34.40 CPU) Result: FAIL Failed 2/10 test programs. 2/200 subtests failed. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx