man core dumps todays build

Sean McNeil sean at mcneil.com
Thu Oct 21 16:47:25 PDT 2004


amd64 system:

server# gdb /usr/bin/man man.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...
Core was generated by `man'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libz.so.2...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000002007f70c6 in strcmp (
    s1=0x636f6c2f7273752f <Address 0x636f6c2f7273752f out of bounds>,
    s2=0x50d0b1 "usr/share/man") at /usr/src/lib/libc/string/strcmp.c:54
54                              return (0);
(gdb) bt
#0  0x00000002007f70c6 in strcmp (
    s1=0x636f6c2f7273752f <Address 0x636f6c2f7273752f out of bounds>,
    s2=0x50d0b1 "usr/share/man") at /usr/src/lib/libc/string/strcmp.c:54
#1  0x00000000004051de in add_dir_to_list (lp=0x52b1a0,
    dir=0x50d0b0 "/usr/share/man", perrs=0)
    at /usr/src/gnu/usr.bin/man/man/../manpath/manpath.c:535
#2  0x0000000000404f96 in get_manpath (perrs=0,
    path=0x636f6c2f7273752f <Address 0x636f6c2f7273752f out of bounds>)
    at /usr/src/gnu/usr.bin/man/man/../manpath/manpath.c:444
#3  0x0000000000404775 in manpath (perrs=0)
    at /usr/src/gnu/usr.bin/man/man/../manpath/manpath.c:195
#4  0x000000000040220c in man_getopt (argc=1, argv=0x7fffffffec88)
    at /usr/src/gnu/usr.bin/man/man/man.c:479
#5  0x00000000004019cc in main (argc=1, argv=0x7fffffffec88)
    at /usr/src/gnu/usr.bin/man/man/man.c:153

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041021/7abb7d5b/attachment.bin


More information about the freebsd-current mailing list