Subject: misc/11355: 'w' coredumps
To: None <gnats-bugs@gnats.netbsd.org>
From: None <charlie@rubberduck.com>
List: netbsd-bugs
Date: 11/01/2000 00:47:15
>Number:         11355
>Category:       misc
>Synopsis:       'w' coredumps
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 01 00:47:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     charlie allom
>Release:        1.5ALPHA2
>Organization:
>Environment:
NetBSD vulcanised.rubberduck.com 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (VULCANISED) #1: W
ed Oct 25 15:45:32 EST 2000     yeled@vulcanised.rubberduck.com:/usr/src/sys/arc
h/macppc/compile/VULCANISED macppc
>Description:
after i killed something (not sure what it does exactly :) that was part of a login on ttyp4, `w' now cores when it get's to ttyp4.. i killed this process:

23897 root sshd: yeled@ttyp4

for example, after the killing:

 root@vulcanised:~# w
 7:43PM  up 6 days, 16:15, 2 users, load averages: 0.48, 0.28, 0.31
USER TTY FROM              LOGIN@  IDLE WHAT
yeled p0 squeaky           7:28PM     0 w
Segmentation fault (core dumped)

when, really:

 root@vulcanised:~# who
yeled    ttyp0    Nov  1 19:28  (squeaky)
yeled    ttyp3    Nov  1 19:41  (squeaky)
>How-To-Repeat:
follow my 'instructions' in the desc.
>Fix:
keep opening up connections till you get to the tty (ttyp4)

and `w' seems to refresh itself or something so it doesn't core anymore.

:)
>Release-Note:
>Audit-Trail:
>Unformatted: