Re: odd make/build output on ^Z / fg

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Sat, 10 Oct 2009 12:26:26 +0100
Pavo Banicevic wrote:
> On 7/9/09, Robert Watson <rwatson_at_freebsd.org> wrote:
>> Today I suspended a kernel build with ^Z to free up a bit of I/O bandwidth
>> on
>> a box.  When I re-foregrounded, all appeared fine for a bit, but later when
>> I
>> switched back to the xterm I found this:
>>
>> ototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
>> -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I../../..
>> -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
>> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
>> --param large-function-growth=1000  -mno-align-long-strings
>> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
>> -mno-sse3
>> -ffreestanding -fstack-protector -Werror  ../../../i386/acpica/acpi_wakeup.c
>> couldn't resume mac_pipe.o: No such process
>> *** Signal 1
>> couldn't resume audit_arg.o: No such process
>> *** Signal 1
>> couldn't resume nlm_prot_impl.o: No such process
>> *** Signal 1
>> couldn't resume nfs_serv.o: No such process
>> *** Signal 1
>> couldn't resume nfs_vnops.o: No such process
>> *** Signal 1
>> couldn't resume modules-obj: No such process
>> ===> usb/uether (obj)
>> ===> usb/aue (obj)
>> ...
>> ===> xfs (obj)
>> ===> xl (obj)
>> ===> zfs (obj)
>> ===> zlib (obj)
>> *** Signal 1
>> 6 errors
>>
>> I've never seen that before, but I also don't suspend builds all that
>> frequently.  New bug?  Old bug?
> 
> Today I got this when building kernel:
> 
> # fg
> make -j6 buildkernel
> *** Stopped -- signal 18
> Child (49737) not in table?
> couldn't resume aicasm_macro_gram.o: No such process
> *** Signal 1
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> 
> 
> I have kern.randompid=777, and I did stopped buildworld just before
> building kernel. Maybe this is (tcsh) shell issue?

It's a very old bug.  I first saw it after changes made by phk to the 
way make communicates with its child processes several years ago, but 
it's not clear where the problem lies.

Kris
Received on Sat Oct 10 2009 - 09:26:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC