Subject: lib/8797: login(1) mysterious behaviour
To: None <gnats-bugs@gnats.netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: netbsd-bugs
Date: 11/14/1999 09:10:54
>Number: 8797
>Category: lib
>Synopsis: login gets stuck if sent control-characters
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 14 09:00:01 1999
>Last-Modified:
>Originator: Antti Kantee
>Organization:
>Release: NetBSD-current around Nov 6th
>Environment:
NetBSD/i386 1.4M, wscons
>Description:
Sending control characters to a getty gets login wedged quite bad.
Even killing login is of no use and the tty is useless until the
next reboot.
I am not sure weather this is a bin-bug or lib-bug or whatever-bug,
but I'm taking a lucky guess.
>How-To-Repeat:
Go to ttyE?, press ctrl-uparrow a few times (four or five should
be enough) and see what there is to be seen (absolutely nothing!)
>Fix:
Beats me. I tried using a little gdb on login, but the problem got
really weird. Login seemed to stop at row 169 which is:
169 (void)signal(SIGALRM, timedout);
After that gdb was pretty much useless also and stopped responding
to anything short of SIGSTOP or SIGKILL.
Once I managed to get to row 173 by stepi:n row 169.
>Audit-Trail:
>Unformatted: