delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/04/16:15:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: 4 Mar 2001 16:14:55 -0500
Message-ID: <20010304211455.5961.qmail@lizard.curl.com>
From: Jonathan Kamens <jik AT curl DOT com>
To: cygwin AT cygwin DOT com
In-reply-to: <20010302193602.22711.qmail@lizard.curl.com> (message from
Jonathan Kamens on 2 Mar 2001 14:36:02 -0500)
Subject: An easy (but possibly time-consuming) test case for Make
hanging (was: Re: Make hung in WaitForMultipleObjects inside Cygwin)
References: <20010228155722 DOT 21696 DOT qmail AT lizard DOT curl DOT com>
<20010228162324 DOT 21997 DOT qmail AT lizard DOT curl DOT com>
<20010228163528 DOT 22101 DOT qmail AT lizard DOT curl DOT com>
<20010301210358 DOT 31563 DOT qmail AT lizard DOT curl DOT com>
<20010302185213 DOT 19881 DOT qmail AT lizard DOT curl DOT com> <22288145100 DOT 20010302222958 AT logos-m DOT ru> <20010302193602 DOT 22711 DOT qmail AT lizard DOT curl DOT com>

I've found that if you put the Makefile shown below into an empty
directory on a dual-processor machine running Cygwin 1.1.8-2 and Make
3.79.1-2 and run "while true; do make -j2; done", you'll eventually
get a Make process hung as I described in my messages last week
(although it may take a couple of days).  You know things are hung
when output stops in the window in which you run the "while" loop.

I've reach the limit of my ability to debug this further.  Could
someone with more knowledge of Cygwin internals try to duplicate this,
using this test case?

  jik

                      *************************

SUBDIRS=recurse1 recurse2 recurse3 recurse4 recurse5 recurse6
LEVELS=6
MAKEFLAGS += --no-print-directory

all: $(SUBDIRS)

$(SUBDIRS):
	@set -e; \
	if [ $(MAKELEVEL) -lt $(LEVELS) ]; then \
	    mkdir -p $@; \
	    cp Makefile $@; \
	    $(MAKE) -C $@; \
	    rm -rf $@; \
	else \
	    echo "At the bottom for $@."; \
	fi

.PHONY: all $(SUBDIRS)

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019