[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

valgrind reports uninitialized values in dl-reloc.c



Hi everyone. I'm posting this directly to the list, since I'm unsure whether this is a glibc optimization that should be filtered, a valgrind bug or a real glibc bug.

I'm running valgrind 3.5.0 from sid against libc6-2.10.1-3 on amd64 on several executables, and I'm getting these reports:

==7254== Conditional jump or move depends on uninitialised value(s)
==7254==    at 0x400A7ED: _dl_relocate_object (do-rel.h:65)
==7254==    by 0x40117DA: dl_open_worker (dl-open.c:402)
==7254==    by 0x400D135: _dl_catch_error (dl-error.c:178)
==7254==    by 0x4011046: _dl_open (dl-open.c:615)
==7254==    by 0x55D6F65: dlopen_doit (dlopen.c:67)
==7254==    by 0x400D135: _dl_catch_error (dl-error.c:178)
==7254==    by 0x55D72EB: _dlerror_run (dlerror.c:164)
==7254==    by 0x55D6EE0: dlopen@@GLIBC_2.2.5 (dlopen.c:88)
==7254==    by 0x63B5DE: loadLibrary (dynload.c:92)
==7254==    by 0x4EA564: AddDLL (Rdynload.c:532)
==7254==    by 0x4EB176: do_dynload (Rdynload.c:891)
==7254==    by 0x431C51: do_internal (names.c:1165)
==7254==  Uninitialised value was created by a stack allocation
==7254==    at 0x400A690: _dl_relocate_object (dl-reloc.c:155)
==7254== 
==7254== Conditional jump or move depends on uninitialised value(s)
==7254==    at 0x400AD83: _dl_relocate_object (do-rel.h:104)
==7254==    by 0x40117DA: dl_open_worker (dl-open.c:402)
==7254==    by 0x400D135: _dl_catch_error (dl-error.c:178)
==7254==    by 0x4011046: _dl_open (dl-open.c:615)
==7254==    by 0x55D6F65: dlopen_doit (dlopen.c:67)
==7254==    by 0x400D135: _dl_catch_error (dl-error.c:178)
==7254==    by 0x55D72EB: _dlerror_run (dlerror.c:164)
==7254==    by 0x55D6EE0: dlopen@@GLIBC_2.2.5 (dlopen.c:88)
==7254==    by 0x63B5DE: loadLibrary (dynload.c:92)
==7254==    by 0x4EA564: AddDLL (Rdynload.c:532)
==7254==    by 0x4EB176: do_dynload (Rdynload.c:891)
==7254==    by 0x431C51: do_internal (names.c:1165)
==7254==  Uninitialised value was created by a stack allocation
==7254==    at 0x400A690: _dl_relocate_object (dl-reloc.c:155)
==7254== 
==7254== Conditional jump or move depends on uninitialised value(s)
==7254==    at 0x400A9CF: _dl_relocate_object (do-rel.h:117)
==7254==    by 0x40117DA: dl_open_worker (dl-open.c:402)
==7254==    by 0x400D135: _dl_catch_error (dl-error.c:178)
==7254==    by 0x4011046: _dl_open (dl-open.c:615)
==7254==    by 0x55D6F65: dlopen_doit (dlopen.c:67)
==7254==    by 0x400D135: _dl_catch_error (dl-error.c:178)
==7254==    by 0x55D72EB: _dlerror_run (dlerror.c:164)
==7254==    by 0x55D6EE0: dlopen@@GLIBC_2.2.5 (dlopen.c:88)
==7254==    by 0x63B5DE: loadLibrary (dynload.c:92)
==7254==    by 0x4EA564: AddDLL (Rdynload.c:532)
==7254==    by 0x4EB176: do_dynload (Rdynload.c:891)
==7254==    by 0x431C51: do_internal (names.c:1165)
==7254==  Uninitialised value was created by a stack allocation
==7254==    at 0x400A690: _dl_relocate_object (dl-reloc.c:155)

Thanks.



Reply to: