From owner-freebsd-hackers@FreeBSD.ORG Sun May 23 01:27:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ABA316A4CE for ; Sun, 23 May 2004 01:27:32 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4382F43D45 for ; Sun, 23 May 2004 01:27:32 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i4N8PEHO067201; Sun, 23 May 2004 02:25:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 23 May 2004 02:25:21 -0600 (MDT) Message-Id: <20040523.022521.70796984.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200405231445.07562.doconnor@gsoft.com.au> References: <000701c4402b$a54e73d0$4206000a@stalker> <200405231445.07562.doconnor@gsoft.com.au> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Memory Leak X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 08:27:32 -0000 In message: <200405231445.07562.doconnor@gsoft.com.au> "Daniel O'Connor" writes: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA1 : : On Sun, 23 May 2004 04:06, Cole wrote: : > I just wanted to know what programs any of you have used to track down a : > memory leak in your programs? : > Also wondering if there is maybe a good tutorial on the subject under : > FreeBSD or even linux if possible. : > : > Im running FreeBSD 4.9 so just looking for something try to help me track : > it down. : > : > Unless there is someone willing to help me with this since ive never really : > had to do anything like this, else i can easily read something, just kinda : > need to know a good memory tracing program or something of the sorts. : : There is valgrind.. : http://www.rabson.org/#valgrind : : I thought it was in ports but I can't see it. Has anybody gotten valgrind to work with non-trivial threaded programs? We've had some issues with that... Warner