Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2005 13:32:30 GMT
From:      Alex <xfb52@dial.pipex.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/80503: portmanager dumps core
Message-ID:  <200505011332.j41DWUcH001460@www.freebsd.org>
Resent-Message-ID: <200505011340.j41De2Bk023609@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505011332.j41DWUcH001460>