From owner-freebsd-bugs Wed Mar 27 17:50: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8F70C37B41B for ; Wed, 27 Mar 2002 17:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S1o1n01138; Wed, 27 Mar 2002 17:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4997437B41E for ; Wed, 27 Mar 2002 17:40:16 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2S1eGE99269; Wed, 27 Mar 2002 17:40:16 -0800 (PST) (envelope-from nobody) Message-Id: <200203280140.g2S1eGE99269@freefall.freebsd.org> Date: Wed, 27 Mar 2002 17:40:16 -0800 (PST) From: "George V. Neville-Neil" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets 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: 36400 >Category: bin >Synopsis: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 17:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: George V. Neville-Neil >Release: 4.5-STABLE (CVSupped March 17th) >Organization: Neville-Neil Consulting >Environment: FreeBSD jchurch.neville-neil.com 4.5-STABLE FreeBSD 4.5-STABLE #3: Sun Mar 17 23:00:31 PST 2002 gnn@jchurch.neville-neil.com:/usr/local/src-STABLE/src/sys/compile/JCHURCH i386 >Description: After I have started xdm and X11 (XFree86 4.2) on my machine I can no longer get information on LOCAL (i.e. UNIX) domain sockets because netstat seg faults. I have built a version with debugging and traced this down to the printf() call on line 149 of unix.c in -STABLE (the same line occurs in -CURRENT). It would seem that the xsocket data structure passed to printf causes it to barf. >How-To-Repeat: Run XFree86 4.2 Run netstat by itself See sparks fly. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message