[3231] in testers
sparc 8.1.4: man can dump core
daemon@ATHENA.MIT.EDU (John Hawkinson)
Mon Jun 16 05:06:47 1997
Date: Mon, 16 Jun 1997 03:41:15 -0400
To: testers@MIT.EDU
Cc: cygnus-users@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
[gdb is suspect, see below]
[bobbi-harlow!jhawk] ~> man strerror
Segmentation fault (core dumped)
[bobbi-harlow!jhawk] ~> ls -l core
-rw-r--r-- 1 jhawk mit 124876 Jun 16 03:35 core
[bobbi-harlow!jhawk] ~> cd /var/tmp
[bobbi-harlow!jhawk] /var/tmp> ls -l core
core: No such file or directory
[bobbi-harlow!jhawk] /var/tmp> man strerror
strerror(3C) C Library Functions strerror(3C)
...
[bobbi-harlow!jhawk] /var/tmp> cd
[bobbi-harlow!jhawk] ~> file core
core: ELF 32-bit MSB core file SPARC Version 1, from 'apropos'
[bobbi-harlow!jhawk] ~> adb `which apropos` core
core file = core -- program ``apropos'' on platform SUNW,SPARCstation-4
SIGSEGV: Segmentation Fault
invalid ELF header for man
$c
mandir(0x0,0x26d30,0xeffffb30,0x0,0xffffffff,0x0) + 7c
manual(0x25e18,0xeffffb30,0x14974,0x0,0x0,0x2d000000) + 150
__cg89_used(0x2,0xeffffa3c,0x2506c,0x25500,0x2516c,0x25de8) + 7cc
[bobbi-harlow!jhawk] ~> attach cygnus
attach: Filesystem "cygnus" is already attached (authenticating)
[bobbi-harlow!jhawk] ~> /mit/cygnus/sun4bin/gdb -nw `which apropos` core
attach: /afs/athena.mit.edu/software/cygnus/cygnus-96q3 linked to /mit/cygnus-96q3 for filesystem cygnus-96q3
GDB is free software and you are welcome to 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.
GDB 4.15.2-96q3 (sparc-sun-solaris2),
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)...
Core was generated by `man strerror'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libintl.so.1...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libw.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
#0 0x130c0 in mandir ()
(gdb) where
#0 0x130c0 in mandir ()
#1 0x12f88 in manual ()
#2 0x11df4 in __cg89_used ()
(gdb) q
Note that gdb does not detect the problem w/ the core that adb does.
It's possible that the core is truncated for quota reasons:
[bobbi-harlow!jhawk] ~> ls -l core
-rw-r--r-- 1 jhawk mit 124876 Jun 16 03:35 core
[bobbi-harlow!jhawk] ~> fs lq
Volume Name Quota Used % Used Partition
user.jhawk 12500 12577 101%<< 85% <<WARNING
Moving the core aside, the problem is not replicable:
[bobbi-harlow!jhawk] ~> mv core /var/tmp/core.jhawk
[bobbi-harlow!jhawk] ~> man strerror
strerror(3C) C Library Functions strerror(3C)
...
I've placed a copy of the core in /mit/coredumps/jhawk/apropos.814.core.
--jhawk