From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 16:29:00 2005 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 EDF2E16A4CF for ; Tue, 8 Feb 2005 16:29:00 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 960D543D45 for ; Tue, 8 Feb 2005 16:29:00 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (rwcrmhc13) with ESMTP id <20050208162854015009ga8ue>; Tue, 8 Feb 2005 16:29:00 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id B9A4F6115; Tue, 8 Feb 2005 11:28:53 -0500 (EST) Message-ID: <4208E8C5.7060307@trini0.org> Date: Tue, 08 Feb 2005 11:28:53 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 1.0 (X11/20050122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Miguel Mendez References: <4208D71C.7000207@trini0.org> <20050208163936.6c2877b2.flynn@energyhq.es.eu.org> In-Reply-To: <20050208163936.6c2877b2.flynn@energyhq.es.eu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Generating Backtrace on FBSD 5.3 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: Tue, 08 Feb 2005 16:29:01 -0000 Miguel Mendez wrote: >On Tue, 08 Feb 2005 10:13:32 -0500 >Gerard Samuel wrote: > > > >>Im trying to figure out how to generate a >>backtrace from a core dump of subversion, to send >>to subversion developers. >>What tools are available to read a core dump file, >>to generate this backtrace on FreeBSD 5.3? >>I'm trying to understand gdb, but Im not sure if >>this is what I'm looking for. >>$ gdb -c svn.core >> >> > >gdb /path/to/svn svn.core is what you want. But for that to be useful >you need a svn executable built with debugging info. This can be done by >building the port with CFLAGS having the '-g' option and STRIP set to >null, so you don't lose that info while installing. > >(deinstall svn first) >e.g.: cd /usr/ports/devel/subversion && env CFLAGS="-g" STRIP="" make >install > >Then try to reproduce the error and run gdb. Once in gdb use the command >'bt' to get a backtrace. > I'll give that a shot. Thanks