Subject: kern/37603: ctrl-z handling problem: processes afterwards also stopped
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: netbsd-bugs
Date: 12/23/2007 19:55:01
>Number:         37603
>Category:       kern
>Synopsis:       ctrl-z handling problem: processes afterwards also stopped
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 23 19:55:01 +0000 2007
>Originator:     Thomas Klausner
>Release:        NetBSD 4.99.42/amd64; also on NetBSD 4.99.44/i386 (gson@gson.org)
>Organization:
>Environment:
System: NetBSD hiro 4.99.42 NetBSD 4.99.42 (HIRO64) #5: Wed Dec 19 09:28:31 CET 2007 wiz@hiro:/usr/obj/src.amd64/sys/arch/amd64/compile/HIRO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
When I stop an emacs21 process on the console, all processes started
later in the same shell (while emacs is suspended) also immediately seem
to get a stop signal.

>How-To-Repeat:
E.g. boot single user, shell=/bin/ksh
export TERM=vt100
emacs -nw a <ctrl-z>
man man

The man process will suspend itself after about half a second -- it's
not immediate, but very quick.
Putting it in the foreground again doesn't help -- the behaviour
repeats (man is suspended again immediately).

Looks like the stop signal sending is stuck :)
>Fix:
Not known.