malloc.conf and malloc debugging

Niclas Zeising lothrandil at n00b.apagnu.se
Sat Oct 16 14:19:16 PDT 2004


Kris Kennaway wrote:
> On Sat, Oct 16, 2004 at 08:06:35AM +0200, Niclas Zeising wrote:
> 
>>Hi list!
>>
>>I know you can turn malloc debugging on and of by symlinking 
>>/etc/malloc.conf, i.e. ln -s AJ /etc/malloc.conf. But how do i check if 
>>the debugging is on or not? I can't find a /etc/malloc.conf in my 
>>system, niether can i find a AJ symlink.
>>I'm running 5.3-BETA7 now, but are planning to upgrade to HEAD. Will 
>>malloc debugging be turned on in the upgrade?
> 
> 
> Yes.  You have to check the malloc sources to see the default value.
> Typically debugging is enabled in HEAD and disabled everywhere else.
> 
> Kris

Thanks!

//Niclas


More information about the freebsd-questions mailing list