Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 17:52:52 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Jim Stratus <stratus@swcempire.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Error Message
Message-ID:  <20020212175252.D5160@grimoire.chen.org.nz>
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.

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 <jonc@chen.org.nz>
----------------------------------------------------------------------
          "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




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