Subject: bin/12734: make -jN freezes if suspended with ^Z
To: None <gnats-bugs@gnats.netbsd.org>
From: Ross Harvey <ross@diy-3-dec-pci-alpha.hrh>
List: netbsd-bugs
Date: 04/24/2001 01:00:25
>Number:         12734
>Category:       bin
>Synopsis:       make -jN freezes if suspended with ^Z
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 24 01:15:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ross Harvey
>Release:        NetBSD-current
>Organization:
Getting better.
>Environment:
	
System: NetBSD a3 1.5U NetBSD 1.5U (a3kb) #50: Mon Apr 23 14:22:03 PDT 2001 ross@a3:/u2/ross/a3kb alpha
Architecture: alpha
Machine: alpha
>Description:
	Some unknown amount of time ago, it was possible to suspend
	a running make -j3 and then fg it and have it continue.
	Now that doesn't work, it prints stuff like:

a3--make -j3
[ ... typical make output ... ]
cc -g -O2 -Werror -Wall ...
^Z
Suspended
a3--fg
make -j3
*** Suspended
--- machdep.o ---
*** Suspended
--- interrupt.o ---
*** Suspended
^C6.5u 3.2s 0:17.72 55.1% 0+0k 3+197io 422pf+0w
a3--

>How-To-Repeat:
	Easy, start `make -j3', let it crank up, suspend it with ^Z.  It
	dies every single time.  (Am I the only one that does this?)
	Furthermore, when eventually ^C'ed, it does not print ``*** thing.o
	removed'', like it would if ^C'ed without a previous ^Z..fg.

	 I'm using /bin/csh, if that matters.
>Fix:
	Beats me.
>Release-Note:
>Audit-Trail:
>Unformatted: