From owner-freebsd-bugs Sat Dec 7 19:40: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CB637B401 for ; Sat, 7 Dec 2002 19:40:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9389843E4A for ; Sat, 7 Dec 2002 19:40:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB83e4x3021674 for ; Sat, 7 Dec 2002 19:40:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB83e4GI021673; Sat, 7 Dec 2002 19:40:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A901F37B401 for ; Sat, 7 Dec 2002 19:39:05 -0800 (PST) Received: from gw2.svzserv.kemerovo.su (gw2.svzserv.kemerovo.su [213.184.65.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE62843E4A for ; Sat, 7 Dec 2002 19:39:01 -0800 (PST) (envelope-from sa@gw2.svzserv.kemerovo.su) Received: from gw2.svzserv.kemerovo.su (localhost [127.0.0.1]) by gw2.svzserv.kemerovo.su (8.12.6/8.12.6) with ESMTP id gB83cqpB089513 for ; Sun, 8 Dec 2002 10:38:52 +0700 (KRAT) (envelope-from sa@gw2.svzserv.kemerovo.su) Received: (from root@localhost) by gw2.svzserv.kemerovo.su (8.12.6/8.12.6/Submit) id gB83cl8g089509; Sun, 8 Dec 2002 10:38:47 +0700 (KRAT) Message-Id: <200212080338.gB83cl8g089509@gw2.svzserv.kemerovo.su> Date: Sun, 8 Dec 2002 10:38:47 +0700 (KRAT) From: Eugene Grosbein Reply-To: System Administrator To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/46088: inetd(8) segfault Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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