portmanager (pmStatus) crash

Gerard Seibert gerard-seibert at rcn.com
Fri Aug 27 15:13:21 PDT 2004


OK, I think I have it right this time. The following is the output from using 
'gdb' with the 'pmStatus' binary.

root at rcn / $ 
gdb /usr/ports/sysutils/portmanager/work/portmanager-0.2.0/pmStatus/pmStatus 
-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"...
Core was generated by `pmStatus'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libMG.0...done.
Loaded symbols for /usr/local/lib/libMG.0
Reading symbols from /usr/local/lib/libPMGR.0...done.
Loaded symbols for /usr/local/lib/libPMGR.0
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x28128a4e in strchr () from /lib/libc.so.5
(gdb) where
#0  0x28128a4e in strchr () from /lib/libc.so.5
#1  0x2807d7d4 in __JCR_LIST__ () from /usr/local/lib/libPMGR.0
#2  0x08048abf in main () at pmStatus.c:60
#3  0x080489a2 in _start ()
(gdb) quit

I hope this proves to be of some help in solving the problem.

Gerard Seibert
gerard-seibert at rcn.com


More information about the freebsd-questions mailing list