From owner-freebsd-hackers Mon Aug 14 14:41: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id A66ED37B612 for ; Mon, 14 Aug 2000 14:40:59 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 35F861C70; Mon, 14 Aug 2000 17:40:58 -0400 (EDT) Date: Mon, 14 Aug 2000 17:40:58 -0400 From: Bill Fumerola To: Chris Ptacek Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: code question... Message-ID: <20000814174058.Q65562@jade.chc-chimes.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from ptacek@dashmail.net on Mon, Aug 14, 2000 at 02:10:16PM -0700 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Aug 14, 2000 at 02:10:16PM -0700, 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. From 'man free', which you did read twice, right? (in reference to malloc.conf...) A All warnings (except for the warning about unknown flags being set) become fatal. The process will call abort(3) in these cas- es. -- Bill Fumerola - Network Architect, BOFH / Chimes, Inc. billf@chimesnet.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message