We're updating the issue view to help you get more done. 

ARM debian raspberrypi memcheck suppression (dll exception uninitialized data)

Description

running helgrind on debian raspberrypi

==9019== Conditional jump or move depends on uninitialised value(s)
==9019== at 0x40122B4: index (strchr.S:96)
==9019== by 0x400DFB5: dl_open_worker (dl-open.c:210)
==9019== by 0x4A2BE91: _dl_catch_exception (dl-error-skeleton.c:196)
==9019== by 0x400DCF3: _dl_open (dl-open.c:605)
==9019== by 0x4A2B6CD: do_dlopen (dl-libc.c:96)
==9019== by 0x4A2BE91: _dl_catch_exception (dl-error-skeleton.c:196)
==9019== by 0x4A2BF0D: _dl_catch_error (dl-error-skeleton.c:215)
==9019== by 0x4A2B79F: dlerror_run (dl-libc.c:46)
==9019== by 0x4A2B815: __libc_dlopen_mode (dl-libc.c:195)
==9019== by 0x4988BC7: __gconv_find_shlib (gconv_dl.c:115)
==9019== by 0x49885C9: find_module (gconv_cache.c:192)
==9019== by 0x4988991: __gconv_lookup_cache (gconv_cache.c:386)

just added suppression

AND similarly:
=9102== Conditional jump or move depends on uninitialised value(s)
==9102== at 0x40122B4: index (strchr.S:96)
==9102== by 0x4005B8D: _dl_dst_count (dl-load.c:233)
==9102== by 0x4005D07: expand_dynamic_string_token (dl-load.c:385)
==9102== by 0x4006459: _dl_map_object (dl-load.c:2394)
==9102== by 0x4000DB5: map_doit (rtld.c:591)
==9102== by 0x40110BD: _dl_catch_exception (dl-error-skeleton.c:196)
==9102== by 0x4011103: _dl_catch_error (dl-error-skeleton.c:215)
==9102== by 0x4000D5B: do_preload (rtld.c:762)
==9102== by 0x40016F9: handle_ld_preload (rtld.c:860)
==9102== by 0x4002A07: dl_main (rtld.c:1618)
==9102== by 0x4010737: _dl_sysdep_start (dl-sysdep.c:253)
==9102== by 0x400125F: _dl_start_final (rtld.c:414)
==9102== by 0x400125F: _dl_start (rtld.c:521)
==9102== Uninitialised value was created by a stack allocation
==9102== at 0x40016A4: handle_ld_preload (rtld.c:837)
==9102==
==9102==
==9102== ---- Print suppression ? — [Return/N/n/Y/y/C/c] ---- y
{
<insert_a_suppression_name_here>
Memcheck:Cond
fun:index
fun:_dl_dst_count
fun:expand_dynamic_string_token
fun:_dl_map_object
fun:map_doit
fun:_dl_catch_exception
fun:_dl_catch_error
fun:do_preload
fun:handle_ld_preload
fun:dl_main
fun:_dl_sysdep_start
fun:_dl_start_final
fun:_dl_start
}
etc

valgrind --gen-suppressions=yes -q --track-origins=yes --tool=memcheck --leak-check=full --suppressions=Valgrind-MemCheck-Common.supp /tmp/Test32
==9104== Conditional jump or move depends on uninitialised value(s)
==9104== at 0x4005B90: _dl_dst_count (dl-load.c:236)
==9104== by 0x4005D07: expand_dynamic_string_token (dl-load.c:385)
==9104== by 0x4006459: _dl_map_object (dl-load.c:2394)
==9104== by 0x4000DB5: map_doit (rtld.c:591)
==9104== by 0x40110BD: _dl_catch_exception (dl-error-skeleton.c:196)
==9104== by 0x4011103: _dl_catch_error (dl-error-skeleton.c:215)
==9104== by 0x4000D5B: do_preload (rtld.c:762)
==9104== by 0x40016F9: handle_ld_preload (rtld.c:860)
==9104== by 0x4002A07: dl_main (rtld.c:1618)
==9104== by 0x4010737: _dl_sysdep_start (dl-sysdep.c:253)
==9104== by 0x400125F: _dl_start_final (rtld.c:414)
==9104== by 0x400125F: _dl_start (rtld.c:521)
==9104== by 0x4000B8F: ??? (in /lib/arm-linux-gnueabihf/ld-2.27.so)
==9104== Uninitialised value was created by a stack allocation
==9104== at 0x40016A4: handle_ld_preload (rtld.c:837)
=

Environment

None

Status

Assignee

Lewis Pringle

Reporter

Lewis Pringle

Labels

None

Priority

Lowest