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:

$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
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to