|
From: Bart V. A. <bar...@gm...> - 2008-12-04 07:30:14
|
Hello Julian,
One of the commits of the last 24 hours has changed the behavior of
memcheck. Was this expected ?
$ /lib/libc.so.6
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20070626 (Red Hat 4.1.2-13).
Compiled on a Linux 2.6.9 system on 2007-07-04.
Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
$ perl tests/vg_regtest drd/tests/drd_bitmap_test
drd_bitmap_test: valgrind -q --tool=memcheck ./drd_bitmap_test -s 93 -t 97 -q
*** drd_bitmap_test failed (stderr) ***
== 1 test, 1 stderr failure, 0 stdout failures, 0 post failures ==
drd/tests/drd_bitmap_test (stderr)
$ cat drd/tests/drd_bitmap_test.stderr.diff
0a1,41
> Syscall param mprotect(len) contains uninitialised byte(s)
> at 0x........: mprotect (in /lib64/ld-2.5.so)
> by 0x........: _dl_relocate_object (in /lib64/ld-2.5.so)
> by 0x........: dl_main (in /lib64/ld-2.5.so)
> by 0x........: _dl_sysdep_start (in /lib64/ld-2.5.so)
> by 0x........: _dl_start (in /lib64/ld-2.5.so)
> by 0x........: (within ld-?.?.so)
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
>
> Syscall param mprotect(len) contains uninitialised byte(s)
> at 0x........: mprotect (in /lib64/ld-2.5.so)
> by 0x........: _dl_relocate_object (in /lib64/ld-2.5.so)
> by 0x........: dl_main (in /lib64/ld-2.5.so)
> by 0x........: _dl_sysdep_start (in /lib64/ld-2.5.so)
> by 0x........: _dl_start (in /lib64/ld-2.5.so)
> by 0x........: (within ld-?.?.so)
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
>
> Syscall param munmap(length) contains uninitialised byte(s)
> at 0x........: munmap (in /lib64/ld-2.5.so)
> by 0x........: _dl_unload_cache (in /lib64/ld-2.5.so)
> by 0x........: dl_main (in /lib64/ld-2.5.so)
> by 0x........: _dl_sysdep_start (in /lib64/ld-2.5.so)
> by 0x........: _dl_start (in /lib64/ld-2.5.so)
> by 0x........: (within ld-?.?.so)
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
> by 0x........: ???
Bart.
|