From owner-freebsd-questions@FreeBSD.ORG Fri Aug 27 09:26:49 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 4EE5316A4CE for ; Fri, 27 Aug 2004 09:26:49 +0000 (GMT) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A23643D62 for ; Fri, 27 Aug 2004 09:26:49 +0000 (GMT) (envelope-from gerard-seibert@rcn.com) Received: from 207-237-110-41.c3-0.crm-ubr4.crm.ny.cable.rcn.com ([207.237.110.41] helo=[192.168.0.2]) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1C0d0S-000303-00 for freebsd-questions@freebsd.org; Fri, 27 Aug 2004 05:26:48 -0400 From: Gerard Seibert To: FreeBSD Questions Date: Fri, 27 Aug 2004 05:26:47 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408270526.47348.gerard-seibert@rcn.com> Subject: Portmanager Crash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gerard-seibert@rcn.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 09:26:49 -0000 I followed Matthew Seaman's instructions, except that there was no 'portmanager.core' file created. The file that was created was 'pmStatus.core'. I assume that is the file that I am to work with. In any event, I ran 'portmanager' to create the core dump, Next I ran 'gdb' which produced the following output: root@rcn $gdb /usr/ports/sysutils/portmanager/work/portmanager-0.2.0/portmanager/portmanager -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 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... warning: core file may not match specified executable file. Core was generated by `pmStatus'. Program terminated with signal 11, Segmentation fault. #0 0x28128a4e in ?? () (gdb) where #0 0x28128a4e in ?? () #1 0x08048abf in rPkgAdd (port=0x1
) at portmanager.c:146 #2 0x080489a2 in main (argc=-1077940776, argv=0x1) at portmanager.c:95 (gdb) quit I hope that this proves to be of some use. Gerard Seibert gerard-seibert@rcn.com