From owner-freebsd-current Sat Nov 9 8:45:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B0B437B401 for ; Sat, 9 Nov 2002 08:45:38 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 725AB43E3B for ; Sat, 9 Nov 2002 08:45:37 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA9GjXOr043161; Sat, 9 Nov 2002 17:45:33 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Aurelien Nephtali Cc: current@FreeBSD.ORG Subject: Re: Value 0xd0d0d0d0 ? In-Reply-To: Your message of "Sat, 09 Nov 2002 13:49:30 +0100." <20021109124930.GA1429@nebula.wanadoo.fr> Date: Sat, 09 Nov 2002 17:45:33 +0100 Message-ID: <43160.1036860333@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021109124930.GA1429@nebula.wanadoo.fr>, Aurelien Nephtali writes: > >--lrZ03NoBR/3+SXJZ >Content-Type: text/plain; charset=iso-8859-15 >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >Hi, > >I would like to know where/when the value 0xd0d0d0d0 is assigned to a point= >er ? >Sometimes I have some pointers which have a correct value before and sudden= >ly >they got this odd 0xd0d0d0d0 value :/ When you have mistakes in your malloc(3)/free(3) handling. See the malloc(3) manual page. Try using electric-fence from the ports collection. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message