From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 1 13:40:02 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D89CF16A4CE for ; Sun, 1 May 2005 13:40:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C3C943D41 for ; Sun, 1 May 2005 13:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j41De2rJ023610 for ; Sun, 1 May 2005 13:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j41De2Bk023609; Sun, 1 May 2005 13:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 1 May 2005 13:40:02 GMT Resent-Message-Id: <200505011340.j41De2Bk023609@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B10016A4CE for ; Sun, 1 May 2005 13:32:31 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16EC043D41 for ; Sun, 1 May 2005 13:32:31 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j41DWUfH001487 for ; Sun, 1 May 2005 13:32:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j41DWUcH001460; Sun, 1 May 2005 13:32:30 GMT (envelope-from nobody) Message-Id: <200505011332.j41DWUcH001460@www.freebsd.org> Date: Sun, 1 May 2005 13:32:30 GMT From: Alex To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/80503: portmanager dumps core X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 13:40:03 -0000 >Number: 80503 >Category: ports >Synopsis: portmanager dumps core >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 01 13:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alex >Release: 4.11 >Organization: >Environment: FreeBSD cartman 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Sat Mar 26 17:12:50 GMT 2005 alex@cartman:/usr/obj/usr/src/sys/CARTMAN i386 >Description: Portmanager dumps code when I try portmanager -sl I've never used this package before, and was just trying it out. I just went into /usr/ports/sysutils/portmanager and did a make install. Now done with DEBUG on and have a core dump. If you need more info, please email. Info from gdb included below. 31 {root @ cartman} # portmanager -sl ======================================================================== portmanager 0.2.9_4 is running in DEBUG mode multiple instances of portmanager is now possible, a second instance will damage data bases so use caution ======================================================================== ======================================================================== PMGRrShowLeaves 0.2.9_4 info: Creating inital data bases ------------------------------------------------------------------------ Segmentation fault (core dumped) 32 {root @ cartman} # ktrace portmanager -sl ======================================================================== portmanager 0.2.9_4 is running in DEBUG mode multiple instances of portmanager is now possible, a second instance will damage data bases so use caution ======================================================================== ======================================================================== PMGRrShowLeaves 0.2.9_4 info: Creating inital data bases ------------------------------------------------------------------------ Segmentation fault (core dumped) 37 {root @ cartman} # gdb `which portmanager` portmanager.core GNU gdb 4.18 (FreeBSD) Copyright 1998 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"...(no debugging symbols found)... Core was generated by `portmanager'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMG.1...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dwarf2read.c line 3049 in dwarf2_read_section done. Reading symbols from /usr/local/lib/libPMGR.1...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x280d4eac in strstr () from /usr/lib/libc.so.4 (gdb) bt #0 0x280d4eac in strstr () from /usr/lib/libc.so.4 #1 0x2806f82a in PMGRrAddDependencies (property=0xbfbff1a8, portName=0x804b780 "netscape-wrapper-2000.07.07") at PMGRrAddDependencies.c:125 #2 0x2806fd82 in PMGRrDbCreate (property=0xbfbff1a8) at PMGRrDbCreate.c:173 #3 0x28073dae in PMGRrShowLeaves (property=0xbfbff1a8) at PMGRrShowLeaves.c:39 #4 0x8049277 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 #5 0x8048a34 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 #6 0x8048986 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: