From owner-freebsd-threads@FreeBSD.ORG Tue Sep 16 05:21:52 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 090C216A4B3 for ; Tue, 16 Sep 2003 05:21:52 -0700 (PDT) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C70543FA3 for ; Tue, 16 Sep 2003 05:21:50 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (h81.vuokselantie10.fi [193.64.42.129]) by silver.he.iki.fi (8.12.9/8.11.4) with ESMTP id h8GCLbkO025364; Tue, 16 Sep 2003 15:21:38 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <3F670050.9080208@he.iki.fi> Date: Tue, 16 Sep 2003 15:21:36 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-threads@freebsd.org Subject: Re: malloc debugger X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 12:21:52 -0000 Julian Elischer wrote: >tried mprof? > > If you mean the "really old" one which havenīt seen that many changes in the last 10 years, it dumps core when the command mprof is run. I also found a much more recent one, which claims to support threads, called mpatrol but it seems to suffer from the same issues as does dmalloc, where thread routines call malloc which ends up in infinite recursion and eventual stack exhaustion and core dump. Pete