From owner-freebsd-hackers Mon Aug 14 14:18: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id D73CD37B528 for ; Mon, 14 Aug 2000 14:17:56 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id QAA19389; Mon, 14 Aug 2000 16:17:52 -0500 (CDT) (envelope-from dan) Date: Mon, 14 Aug 2000 16:17:52 -0500 From: Dan Nelson To: Chris Ptacek Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: code question... Message-ID: <20000814161752.B18912@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.7i In-Reply-To: ; from "Chris Ptacek" on Mon Aug 14 14:10:16 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 14), Chris Ptacek said: > I am getting a warning from a program I wrote: > > lined in free(): warning: chunk is already free. > > Is there anyway I can figure out where exactly this is happening, maybe > cause a core or something. Man malloc, see the "DEBUGGING MALLOC PROBLEMS" section. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message