Your message dated Sun, 13 Jun 2010 04:48:39 -0500
with message-id <20100613094839.ga21...@burratino>
and subject line Re: Bug#583856: valgrind: suppressions need to be updated for 
glibc 2.11
has caused the Debian Bug report #583856,
regarding valgrind: Memcheck:Cond in _dl_relocate_object
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
583856: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583856
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: valgrind
Version: 1:3.5.0-3

Hi,

With the default suppressions, even a simple “hello world” program
appears to have errors:

$ cat hello.c
#include <stdio.h>

int main(void)
{
        puts("hello");
        return 0;
}
$ gcc -Wall -W -o hello hello.c
$ valgrind ./hello
==22017== Memcheck, a memory error detector
==22017== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et
al.
==22017== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for
copyright info
==22017== Command: ./hello
==22017== 
==22017== Conditional jump or move depends on uninitialised value(s)
==22017==    at 0x400C561: _dl_relocate_object (do-rel.h:104)
==22017==    by 0x4003402: dl_main (rtld.c:2234)
==22017==    by 0x4015030: _dl_sysdep_start (dl-sysdep.c:243)
==22017==    by 0x4000C7F: _dl_start (rtld.c:338)
==22017==    by 0x4000856: ??? (in /lib/ld-2.11.1.so)
==22017== 
==22017== Conditional jump or move depends on uninitialised value(s)
==22017==    at 0x400ADBC: _dl_relocate_object (do-rel.h:117)
==22017==    by 0x4003402: dl_main (rtld.c:2234)
==22017==    by 0x4015030: _dl_sysdep_start (dl-sysdep.c:243)
==22017==    by 0x4000C7F: _dl_start (rtld.c:338)
==22017==    by 0x4000856: ??? (in /lib/ld-2.11.1.so)
[ and so on ]

Probably ld.so is using some optimization that involves reading
uninitialized data.  I work around this by using a suppression file
to ignore everything from ld.so.

Is this a known problem?  How can I help to fix it?

$ COLUMNS=72 dpkg -l libc6 libc6-dbg  | tail -2
ii  libc6          2.11-0exp4     Embedded GNU C Library: Shared libraries
ii  libc6-dbg      2.11-0exp4     Embedded GNU C Library: detached debugging s
$ uname -r
2.6.33-2-686
$



--- End Message ---
--- Begin Message ---
Version: 1:3.5.0+3.6.0svn20100609-1

Török Edwin wrote:

> Upgrading to the valgrind version in experimental
> (1:3.5.0+3.6.0svn20100609-1) makes all these warnings go away, if used
> with eglibc 2.11.

*checks*

Thanks!


--- End Message ---

Reply via email to