From owner-freebsd-questions@FreeBSD.ORG Sat Oct 16 21:19:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB5DA16A4CE for ; Sat, 16 Oct 2004 21:19:15 +0000 (GMT) Received: from av5-1-sn3.vrr.skanova.net (av5-1-sn3.vrr.skanova.net [81.228.9.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE1EF43D41 for ; Sat, 16 Oct 2004 21:19:15 +0000 (GMT) (envelope-from lothrandil@n00b.apagnu.se) Received: by av5-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 174E737FF3; Sat, 16 Oct 2004 23:19:15 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av5-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 08C9937F82; Sat, 16 Oct 2004 23:19:15 +0200 (CEST) Received: from [217.208.32.63] (h63n2fls31o926.telia.com [217.208.32.63]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id D09A83800A; Sat, 16 Oct 2004 23:19:14 +0200 (CEST) Message-ID: <41719049.3000407@n00b.apagnu.se> Date: Sat, 16 Oct 2004 23:19:05 +0200 From: Niclas Zeising User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <4170BA6B.5060707@n00b.apagnu.se> <20041016200638.GA42131@xor.obsecurity.org> In-Reply-To: <20041016200638.GA42131@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: malloc.conf and malloc debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 21:19:16 -0000 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