From owner-freebsd-questions Mon Feb 11 21:13:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 018E637B422 for ; Mon, 11 Feb 2002 21:13:13 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g1C4qqM05337; Tue, 12 Feb 2002 17:52:52 +1300 (NZDT) (envelope-from jonc) Date: Tue, 12 Feb 2002 17:52:52 +1300 From: Jonathan Chen To: Jim Stratus Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Error Message Message-ID: <20020212175252.D5160@grimoire.chen.org.nz> References: <006201c1b373$ff3d4160$489a0d82@qwest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006201c1b373$ff3d4160$489a0d82@qwest.net>; from stratus@swcempire.com on Mon, Feb 11, 2002 at 08:18:51PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 11, 2002 at 08:18:51PM -0700, Jim Stratus wrote: > When we go to run one of our programs, ./services, we get the following > error: > > free(): warning: chunk is already free > > It is believed to be a freebsd problem, as after 1 reboot it works fine, but > after we kill the process and run it again it has a problem. We are running > 4.5, and we did not ever have this problem with version 4.4. It's more likely a bug with the program you're using. free()'ing a malloc'd pointer multiple times will cause the error to occur. Why don't you try tracking it with the ports/devel/dmalloc package? -- Jonathan Chen ---------------------------------------------------------------------- "You can get farther with a kind word and a gun than you can with a kind word alone" - Al Capone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message