Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 19:25:41 +0100
From:      Bartosz Fabianowski <freebsd@chillt.de>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: malloc() debugging flags broken on RELENG_5
Message-ID:  <423F11A5.40502@chillt.de>
In-Reply-To: <20050321181209.GG5243@dan.emsphone.com>
References:  <423F0418.3050702@chillt.de> <20050321181209.GG5243@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> You're not running as root, are you?  The A flag is always set for
> root or setuid processes as a security measure.

No, I am running as a normal user.

> There hasn't been any changes to the malloc code in 5.x since 5.3.

I realize there shouldn't have been any changes and I also cannot find everything in the CVS logs. But when I run Kopete, I get the following:

kopete in free(): error: modified (chunk-) pointer
                  ^^^^^
According to the man page, this word should read "warning" instead of "error" and the application should not be aborted.

> File a bugreport; a program must pass the same pointer to free() that
>  it received from malloc().

Obviously, there is a bug in Kopete. But it runs for other people with earlier versions of RELENG_5. I am currently downgrading to 1st March to see whether that fixes the issue for me.

- Bartosz



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