Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 10:38:47 +0700 (KRAT)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/46088: inetd(8) segfault
Message-ID:  <200212080338.gB83cl8g089509@gw2.svzserv.kemerovo.su>

next in thread | raw e-mail | index | archive | help

>Number:         46088
>Category:       bin
>Synopsis:       inetd(8) segfault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 07 19:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Svyaz Service JSC
>Environment:
System: FreeBSD gw2.svzserv.kemerovo.su 4.7-STABLE FreeBSD 4.7-STABLE #6: Thu Nov 21 10:54:09 KRAT 2002 sa@gw2.svzserv.kemerovo.su:/usr/obj/usr/src/sys/GW2 i386
	World was built with CPUTYPE=i586, runs on Pentium-II
	No other optimizations.
	
	inetd_flags="-wWl" in /etc/rc.conf

>Description:
	inetd(8) segfaulted yesterday on my router
	It was not compiled with -g so gdb's ouput is short:

Script started on Sun Dec  8 10:25:52 2002
GNU gdb 4.18 (FreeBSD)
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"...
(no debugging symbols found)...
Core was generated by `inetd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libwrap.so.3...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libipsec.so.1...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
done.
#0  0x804ad01 in getsockname ()
(gdb) bt
#0  0x804ad01 in getsockname ()
#1  0x0 in ?? ()
(gdb) quit

Script done on Sun Dec  8 10:26:07 2002

	However, there is only one call to getsockname() in inetd.c
	Also, I have core dump and will suppy any details needed to track
	this down. Anyway, I've recompiled inetd with -O0 -g for now.
	

>How-To-Repeat:
	Don't known

>Fix:

	Unknown for me.

	Eugene Grosbein
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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