From owner-freebsd-questions@FreeBSD.ORG Fri Aug 27 13:55:05 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 DA3E516A4CE for ; Fri, 27 Aug 2004 13:55:04 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 728C943D5C for ; Fri, 27 Aug 2004 13:55:03 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i7RDswxc046855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Aug 2004 14:54:58 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i7RDswdE046854; Fri, 27 Aug 2004 14:54:58 +0100 (BST) (envelope-from matthew) Date: Fri, 27 Aug 2004 14:54:58 +0100 From: Matthew Seaman To: Gerard Seibert Message-ID: <20040827135458.GA46593@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Gerard Seibert , FreeBSD Questions References: <200408270526.47348.gerard-seibert@rcn.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <200408270526.47348.gerard-seibert@rcn.com> User-Agent: Mutt/1.5.6i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 27 Aug 2004 14:54:58 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Questions Subject: Re: Portmanager Crash 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: Fri, 27 Aug 2004 13:55:05 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 27, 2004 at 05:26:47AM -0400, Gerard Seibert wrote: > I followed Matthew Seaman's instructions, except that there was no=20 > 'portmanager.core' file created. The file that was created was=20 > 'pmStatus.core'. I assume that is the file that I am to work with. >=20 > In any event, I ran 'portmanager' to create the core dump, Next I ran 'gd= b'=20 > which produced the following output: >=20 > root@rcn=20 > $gdb /usr/ports/sysutils/portmanager/work/portmanager-0.2.0/portmanager/p= ortmanager=20 > -c pmStatus.core > GNU gdb 5.2.1 (FreeBSD) > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain conditi= ons. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-unknown-freebsd"... >=20 > warning: core file may not match specified executable file. > Core was generated by `pmStatus'. > Program terminated with signal 11, Segmentation fault. Well, knowing which program is actually dumping core is progress of a sort. However, you do need to match the binary being debugged aganinst the generated core file, or the backtrace will unfortunately be meaningless. There should be a pmStatus binary somewhere under /usr/ports/sysutils/portmanager/work/portmanager-0.2.0 that you can use. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLz0xiD657aJF7eIRAiRHAKCR+Baw0D9BfzWqAe/CIwWk7EU9bwCfSvPL lisRWaSI7VyxgpK9SfKzuFc= =GTuP -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--