Snapshot 20040221: make hangs on XP

Rolf Campbell Endlisnis@mailc.net
Wed Feb 25 20:08:00 GMT 2004


Christopher Faylor wrote:
>>>--- t.sh ---
>>>#!/bin/bash
>>>export C=1
>>>while make -j ; do C=$(($C+1)) ; done
>>>echo Failed after $C runs 1>&2
>>>--- end of t.sh ---
>>>
>>>The script failed with:
>>>
>>>$ ./t.sh > freeze.out
>>>/bin/sh: line 1: sleep: No such file or directory
>>>make: *** [12.pp] Error 127
>>>make: *** Waiting for unfinished jobs....
>>>Failed after 1499 runs
>>
>>I ran a variation of the above for three days without fail so I think I
>>can safely say that I can't reproduce this problem.
> 
> And, by the way: http://cygwin.com/ml/cygwin/2004-02/msg00923.html
> 
> cgf

I tried running that script again, here were my results:

Feb14: more than 10,000 iterations  (never failed, just got bored of 
watching it)
Feb17: more than 270 (still running)
Feb18: Froze after 12, 41, 6
Feb20: Froze after 9, 2, 4
Feb21: Froze after 1, 5, 4


My un-educated guess is:
2004-02-17  Corinna Vinschen  <corinna@vinschen.de>

	* fork.cc (fork_child): Move fixup_shms_after_fork so that
	signal_arrived is initialized when calling it.


In every case of freezing, the make process gobbled up all the CPU it could.

-Rolf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040225/e55111a2/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list