From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 07:30:20 2003 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 9D79E37B405 for ; Mon, 2 Jun 2003 07:30:20 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 238AC43FB1 for ; Mon, 2 Jun 2003 07:30:19 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h52EUD6B028716; Mon, 2 Jun 2003 09:30:13 -0500 (CDT) (envelope-from dan) Date: Mon, 2 Jun 2003 09:30:13 -0500 From: Dan Nelson To: Anurag Chaudhary Message-ID: <20030602143013.GB66202@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: memory profiling 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: Mon, 02 Jun 2003 14:30:21 -0000 In the last episode (Jun 02), Anurag Chaudhary said: > I am porting a daemon form linux to freebsd. It works fine on linux > but crashes giving segmentation fault in freebsd can some one suggest > me some good memory profiling tool that works fine with freebsd and > available in binary format. "memory profiling" sounds like a tool to optimize memory accesses, which is not what you want. Just make sure you have coredumps enabled and run gdb on the corefile to determine where your program is crashing. -- Dan Nelson dnelson@allantgroup.com