From owner-freebsd-hackers Mon Aug 14 16: 0:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 15E7F37BEC4 for ; Mon, 14 Aug 2000 15:58:11 -0700 (PDT) (envelope-from gollucci@wam.umd.edu) Received: from rac1.wam.umd.edu (rac1.wam.umd.edu [128.8.10.141]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id SAA04937; Mon, 14 Aug 2000 18:58:07 -0400 (EDT) Received: from rac1.wam.umd.edu (localhost [127.0.0.1]) by rac1.wam.umd.edu (8.9.3/8.9.3) with SMTP id SAA13291; Mon, 14 Aug 2000 18:58:06 -0400 (EDT) Received: from localhost (gollucci@localhost) by rac1.wam.umd.edu (8.9.3/8.9.3) with ESMTP id SAA13287; Mon, 14 Aug 2000 18:58:06 -0400 (EDT) X-Authentication-Warning: rac1.wam.umd.edu: gollucci owned process doing -bs Date: Mon, 14 Aug 2000 18:58:06 -0400 (EDT) From: "Philip M. Gollucci" To: Chris Ptacek Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: code question... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is happening in a call to free() ;; the memory being freed is either not actually allocated or is somewhere that your programs memory does not contain (ie address out of range). Use mxgdb, ddd, or gdb to show all things things and step through the executiong. ***************************************************************************** Philip M. Gollucci E-mail : gollucci@wam.umd.edu Philip@p6m7g8.com Phone : 301.249.6261 Major : Computer Science Electrical Engineering Current Job : Co Science, Discovery, & the Universe Webmaster ***************************************************************************** On Mon, 14 Aug 2000, Chris Ptacek wrote: > 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. > > - Chris > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message