Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 15:44:17 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Jim Stratus <stratus@swcempire.com>
Cc:        freebsd-questions@FreeBSD.ORG, orion <orion@swcombine.com>
Subject:   Re: Error Message
Message-ID:  <20020212154417.H494@k7.mavetju.org>
In-Reply-To: <006201c1b373$ff3d4160$489a0d82@qwest.net>; from stratus@swcempire.com on Mon, Feb 11, 2002 at 08:18:51PM -0700
References:  <006201c1b373$ff3d4160$489a0d82@qwest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212154417.H494>