[16922] in Athena Bugs
8.3.8 sun: named debugging borken
daemon@ATHENA.MIT.EDU (John Hawkinson)
Sun Jun 27 00:11:31 1999
Date: Sun, 27 Jun 1999 00:11:19 -0400 (EDT)
Message-Id: <199906270411.AAA28770@x15-cruise-basselope.mit.edu>
To: bugs@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
If you turn on too much debugging under named
(SIGUSR1, etc., etc.) it crashes in while
logging debugging information.
See below.
Core available upon request, or you can grab it from xcb if you wish.
--jhawk
[x15-cruise-basselope!jhawk] ~> cd /etc
[x15-cruise-basselope!jhawk] /etc> ls -ld *core*
-rw-r--r-- 1 root root 1160656 Jun 27 00:01 core.named.jhawk.27Jun99
[x15-cruise-basselope!jhawk] /etc> which named
named: Command not found.
[x15-cruise-basselope!jhawk] /etc> grep named /etc/init.d/bind
if [ -f /etc/athena/named -a -f /etc/named.conf ]; then
/etc/athena/named; echo "starting internet domain name server."
if [ -s /var/athena/named.pid ]; then
kill `cat /var/athena/named.pid`
[x15-cruise-basselope!jhawk] /etc> gdb /etc/athena/named core.named.jhawk.27Jun99
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2.6"...
(no debugging symbols found)...
Core was generated by `/etc/athena/named'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libsocket.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/libdl.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...
(no debugging symbols found)...done.
#0 0xef624614 in strlen () from /usr/lib/libc.so.1
(gdb) where
#0 0xef624614 in strlen () from /usr/lib/libc.so.1
#1 0xef65a50c in _doprnt () from /usr/lib/libc.so.1
#2 0xef6638d4 in vsprintf () from /usr/lib/libc.so.1
#3 0x983b4 in __log_vwrite ()
#4 0x6e108 in ns_debug ()
#5 0x3a6e8 in db_set_update ()
#6 0x696cc in add_data ()
#7 0x5f234 in ns_resp ()
#8 0x4b068 in tcp_send ()
#9 0x4ade4 in tcp_send ()
#10 0x9d440 in __evDispatch ()
#11 0x49550 in main ()
(gdb)