From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nup68-0004sW-3I for garchives@archives.gentoo.org; Thu, 25 Mar 2010 15:35:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29C5FE0B88; Thu, 25 Mar 2010 15:35:42 +0000 (UTC) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by pigeon.gentoo.org (Postfix) with ESMTP id E9653E0B88 for ; Thu, 25 Mar 2010 15:35:41 +0000 (UTC) Received: by pzk1 with SMTP id 1so954595pzk.10 for ; Thu, 25 Mar 2010 08:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=dMHXLogM3o7D6Bzi1eRwpy88A/tnQDBaBsr5hagLE0w=; b=U5vgATOuZMSJnsOu3ZtwcaC+BtLQh/VfIT7AkbulLV0tVg4V1rR4SGePrWoDGnNFh4 +QQSnn9ywJoEic8oEovA1vcWcyWU7C3AmvxN171ixcxe7htjaegB4UWjhK6N1tNdtPKD RhBwQM/9Z4wU6ah/mF6z5+jfPAmeva6hKrKHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=DU76M6CB+e9AVjTCJFCtH7McoaBJM5kBmNIWqit7IDiZ9ahgfPBZ/1/E4AfCvjZJom htkzF0v9GMme6jS8MRZpu9EFtAaw/pwaN/lDYWufj6+LPWwETuy+yjZ32gXHeim+JGJT M/Qi6RqflNBBeumupry8364Dq2qjnF9HB720Y= Received: by 10.141.23.15 with SMTP id a15mr3086322rvj.202.1269531341414; Thu, 25 Mar 2010 08:35:41 -0700 (PDT) Received: from zoidberg.hsd1.mi.comcast.net (c-68-42-226-192.hsd1.mi.comcast.net [68.42.226.192]) by mx.google.com with ESMTPS id 22sm1136296iwn.8.2010.03.25.08.35.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Mar 2010 08:35:40 -0700 (PDT) Date: Thu, 25 Mar 2010 06:33:22 -0400 From: Jacob Todd To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] valgrind showing glibc warnings Message-ID: <20100325103322.GA2328@zoidberg.hsd1.mi.comcast.net> References: <92ad22481003250709u7442a4f6pa90b3b665f86b49a@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <92ad22481003250709u7442a4f6pa90b3b665f86b49a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: c2220dac-862d-43fc-8060-2db418c417a4 X-Archives-Hash: c96988b84be0875aabb64bcfd385828f --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2010 at 11:09:36AM -0300, Cr=EDstian Viana wrote: > hi, >=20 > when I use valgrind, it shows hundreds of warnings related to glibc. here= 's > one example, from "valgrind ls": >=20 > =3D=3D10023=3D=3D Use of uninitialised value of size 8 > =3D=3D10023=3D=3D at 0x55605A4: (within /lib64/libc-2.10.1.so) > =3D=3D10023=3D=3D by 0x5560111: (within /lib64/libc-2.10.1.so) > =3D=3D10023=3D=3D by 0x4A1E62C: _vgnU_freeres (in > /usr/lib64/valgrind/amd64-linux/vgpreload_core.so) > =3D=3D10023=3D=3D by 0x548CE84: (within /lib64/libc-2.10.1.so) > =3D=3D10023=3D=3D by 0x548CEF4: exit (in /lib64/libc-2.10.1.so) > =3D=3D10023=3D=3D by 0x40864D: (within /bin/ls) > =3D=3D10023=3D=3D by 0x5476A25: (below main) (in /lib64/libc-2.10.1.so) >=20 > while that happens, I can't use valgrind because there's too much noise > besides my program's [possible] memory errors. >=20 > any idea of why is this happening? I reemerged =3Dsys-libs/glibc-2.10.1-r= 1 but > nothing has changed. >=20 > cheers, > Cr=EDstian. You may want to look into supressions. There's an option called --gen-suppr= essions. See the man page for details. --=20 I am a man who does not exist for others. --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkurO/IACgkQdg8JTBUsaI7EfACaAttPeKDrSaFuRbaneR68FkM5 MkgAn2NZnlkbBarKVNtzpuOUTdtPe+dI =0pRE -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--