Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 05:26:47 -0400
From:      Gerard Seibert <gerard-seibert@rcn.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Portmanager Crash
Message-ID:  <200408270526.47348.gerard-seibert@rcn.com>

next in thread | raw e-mail | index | archive | help
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 <Address 0x1 out of bounds>)
    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



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