Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 17:40:16 -0800 (PST)
From:      "George V. Neville-Neil" <gnn@neville-neil.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/36400: netstat crashes when trying to display AF_LOCAL (i.e UNIX) sockets
Message-ID:  <200203280140.g2S1eGE99269@freefall.freebsd.org>

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

>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




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