develooper Front page | perl.perl5.porters | Postings from October 2017

[perl #132234] use-of-uninitialized-value in Perl_upg_version(vutil.c:669)

Thread Next
Brian Carpenter
October 6, 2017 20:43
[perl #132234] use-of-uninitialized-value in Perl_upg_version(vutil.c:669)
Message ID:
# New Ticket Created by  Brian Carpenter 
# Please include the string:  [perl #132234]
# in the subject line of all future correspondence about this issue. 
# <URL: >

While building 1195d90 with -fsanitize=memory, the process fails during the
miniperl build.

afl-clang-fast [tpcg] 2.51b by <>
./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo
>&2 Failed to build miniperl.  Please run make minitest; exit 1'
==11441==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x560a10786ab7 in Perl_upg_version /root/perl/./vutil.c:669:2
    #1 0x560a107839a2 in Perl_new_version /root/perl/./vutil.c:551:12
    #2 0x560a10acb9f4 in S_require_version /root/perl/pp_ctl.c:3663:10
    #3 0x560a10acb9f4 in Perl_pp_require /root/perl/pp_ctl.c:4291
    #4 0x560a10757a0d in Perl_runops_debug /root/perl/dump.c:2486:23
    #5 0x560a10432f4e in Perl_call_sv /root/perl/perl.c:2921:6
    #6 0x560a10419c56 in Perl_call_list /root/perl/perl.c:5086:6
    #7 0x560a103b2253 in S_process_special_blocks /root/perl/op.c:9061:6
    #8 0x560a1037a348 in Perl_newATTRSUB_x /root/perl/op.c:8990:21
    #9 0x560a1038434b in Perl_utilize /root/perl/op.c:6341:5
    #10 0x560a105c3ee4 in Perl_yyparse /root/perl/perly.y:360:6
    #11 0x560a104296f9 in S_parse_body /root/perl/perl.c:2450:9
    #12 0x560a1041dc2e in perl_parse /root/perl/perl.c:1753:2
    #13 0x560a10e00597 in main /root/perl/miniperlmain.c:127:18
    #14 0x7fa54f9ea82f in __libc_start_main
    #15 0x560a102b4e88 in _start (/root/perl/miniperl+0x2fe88)

SUMMARY: MemorySanitizer: use-of-uninitialized-value
/root/perl/./vutil.c:669:2 in Perl_upg_version
Failed to build miniperl. Please run make minitest
makefile:362: recipe for target 'lib/' failed
make: *** [lib/] Error 1

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About