Skip site navigation (1)Skip section navigation (2)
Date:      7 Jun 2000 20:46:16 -0000
From:      vladimir-bsd-stable@math.uic.edu
To:        freebsd-stable@freebsd.org
Subject:   inetd problems
Message-ID:  <20000607204616.14893.qmail@math.uic.edu>

next in thread | raw e-mail | index | archive | help
Dear -STABLE users, 
our inetd has been coredumping lately.
Can anyone give more hints on how 
to debug this?   The system is 
4.0-STABLE built on May 20th.

I recompiled inetd with -g flag and ran a 
debugger:

<galileo:src># gdb /usr/sbin/inetd
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 "i386-unknown-freebsd"...
(gdb) core /inetd.core.old
Core was generated by `inetd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libutil.so.3...done.
Reading symbols from /usr/lib/libwrap.so.3...done.
Reading symbols from /usr/lib/libipsec.so.0...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280c2846 in freehostent () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280c2846 in freehostent () from /usr/lib/libc.so.4
#1  0x280c3f50 in freehostent () from /usr/lib/libc.so.4
#2  0x280c4308 in freehostent () from /usr/lib/libc.so.4
#3  0x280c2408 in _catclose () from /usr/lib/libc.so.4
#4  0x280c254a in _getipnodebyname_multi () from /usr/lib/libc.so.4
#5  0x280c2631 in getipnodebyname () from /usr/lib/libc.so.4
#6  0x28075dd6 in sock_hostname () from /usr/lib/libwrap.so.3
#7  0x28078355 in eval_hostname () from /usr/lib/libwrap.so.3
#8  0x28077e2f in hosts_access () from /usr/lib/libwrap.so.3
#9  0x28077b4e in hosts_access () from /usr/lib/libwrap.so.3
#10 0x280779f4 in hosts_access () from /usr/lib/libwrap.so.3
#11 0x280778bc in hosts_access () from /usr/lib/libwrap.so.3
#12 0x28077740 in hosts_access () from /usr/lib/libwrap.so.3
#13 0x804a715 in main (argc=2, argv=0xbfbff8e8, envp=0xbfbff8ec) at inetd.c:659
#14 0x8049a2d in _start ()

Thanks
	Vladimir


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000607204616.14893.qmail>