This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/22226] New: valgrind issues with static binaries
- From: "markus at trippelsdorf dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 28 Sep 2017 13:36:32 +0000
- Subject: [Bug malloc/22226] New: valgrind issues with static binaries
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22226
Bug ID: 22226
Summary: valgrind issues with static binaries
Product: glibc
Version: 2.28
Status: NEW
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: markus at trippelsdorf dot de
CC: dj at redhat dot com
Target Milestone: ---
~ % echo "int main(){}" | gcc -x c - -static
~ % valgrind ./a.out
==22776== Memcheck, a memory error detector
==22776== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22776== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22776== Command: ./a.out
==22776==
==22776== Conditional jump or move depends on uninitialised value(s)
==22776== at 0x41EAE9: __libc_malloc (malloc.c:3032)
==22776== by 0x41EAE9: malloc_hook_ini (hooks.c:32)
==22776== by 0x45FA09: _dl_get_origin (dl-origin.c:50)
==22776== by 0x42E34E: _dl_non_dynamic_init (dl-support.c:309)
==22776== by 0x42FA62: __libc_init_first (init-first.c:74)
==22776== by 0x400C28: (below main) (libc-start.c:242)
==22776==
==22776== Conditional jump or move depends on uninitialised value(s)
==22776== at 0x41EBE1: tcache_init (malloc.c:2981)
==22776== by 0x41EBE1: __libc_malloc (malloc.c:3032)
==22776== by 0x41EBE1: malloc_hook_ini (hooks.c:32)
==22776== by 0x45FA09: _dl_get_origin (dl-origin.c:50)
==22776== by 0x42E34E: _dl_non_dynamic_init (dl-support.c:309)
==22776== by 0x42FA62: __libc_init_first (init-first.c:74)
==22776== by 0x400C28: (below main) (libc-start.c:242)
==22776==
==22776== Conditional jump or move depends on uninitialised value(s)
==22776== at 0x41DEA8: _int_malloc (malloc.c:3673)
==22776== by 0x41DEA8: tcache_init.part.9 (malloc.c:2985)
==22776== by 0x41EBEB: tcache_init (malloc.c:2981)
==22776== by 0x41EBEB: __libc_malloc (malloc.c:3032)
==22776== by 0x41EBEB: malloc_hook_ini (hooks.c:32)
==22776== by 0x45FA09: _dl_get_origin (dl-origin.c:50)
==22776== by 0x42E34E: _dl_non_dynamic_init (dl-support.c:309)
==22776== by 0x42FA62: __libc_init_first (init-first.c:74)
==22776== by 0x400C28: (below main) (libc-start.c:242)
==22776==
==22776==
==22776== HEAP SUMMARY:
==22776== in use at exit: 0 bytes in 0 blocks
==22776== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==22776==
==22776== All heap blocks were freed -- no leaks are possible
==22776==
==22776== For counts of detected and suppressed errors, rerun with: -v
==22776== Use --track-origins=yes to see where uninitialised values come from
==22776== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
--
You are receiving this mail because:
You are on the CC list for the bug.