From owner-freebsd-questions Mon Feb 11 20:58:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 813F537B7EE for ; Mon, 11 Feb 2002 20:44:30 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 2F3152B79D; Tue, 12 Feb 2002 05:44:27 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 2C4C183A; Tue, 12 Feb 2002 15:44:17 +1100 (EST) Date: Tue, 12 Feb 2002 15:44:17 +1100 From: Edwin Groothuis To: Jim Stratus Cc: freebsd-questions@FreeBSD.ORG, orion Subject: Re: Error Message Message-ID: <20020212154417.H494@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Jim Stratus , freebsd-questions@FreeBSD.ORG, orion 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.5.1i 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. No, it's a your-program problem. You are trying to free() a piece of memory which is, like the warning tells you, already freed. Please check your [mc]alloc()s and free()s, they should be balanced. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message