Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4020BA04.1010408@salomon.at>
Date: Wed, 04 Feb 2004 10:23:16 +0100
From: Michael Haubenwallner <michael.haubenwallner@salomon.at>
Organization: Salomon Automation GmbH
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Signal handling problem in 1.5.7 ? - Was: Re: Program randomly hangs.....
Content-Type: multipart/mixed; boundary="------------050700040804000506090903"
X-Virus-Scanned: by AMaViS perl-11

--------------050700040804000506090903
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

 > As for "processes" thats another issue altogether.

Hi,

as i've not found a question for a not so huge test-case,
here's a smaller one, hoping to show the same problem:

I'm using make (not dmake) with SHELL=/bin/sh to build my project,
and it also died unexpectedly on different locations.

So i've attached an extract of my Makefile, where i got the problem.
I did this on a Windows Server 2003, so you might have to change each
"CYGWIN_NT-5.2" in the Makefile to match your `uname`.

When starting make in a loop, i get this output with different numbers
of done-lines in subsequent runs of the loop:

*bash-2.05b$ while make -f Makefile ; do true ; done  *
testing uname ...done
testing uname ...make: *** [testuname] Error 128
bash-2.05b$

When i tried strace to track down the problem, i could not await to
get the error using following command, so i think this might be a
timing-problem:

*bash-2.05b: while strace -o strace.out make -f Makefile ; do rm 
strace.out ; done   *

But then, i switched to SHELL=/bin/bash in the Makefile,
the error did not occur any more.
So, softlinking /bin/bash to /bin/sh did help for now.

Another note: i was one of the unlucky fellows, which got 1.5.6,
and when i saw this problem there first, i immediately switched
back to 1.5.5 being in hurry to get up, but now i'm on 1.5.7.

In the hope to being able to help,
   Michael
-- 
Michael Haubenwallner                    SALOMON Automation GmbH
Forschung & Entwicklung                  A-8114 Friesach bei Graz
mailto:michael.haubenwallner@salomon.at  http://www.salomon.at

--------------050700040804000506090903
Content-Type: application/x-java-vm;
 name="Makefile"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="Makefile"

RUNITwk9IGVjaG8KClNIRUxMCT0gL2Jpbi9zaAoKdGVzdHVuYW1lOjsKCUAk
KEVDSE8pIC1uIHRlc3RpbmcgdW5hbWUgLi4uCglAaWYgWyBgdW5hbWVgICE9
IENZR1dJTl9OVC01LjIgXSA7IHRoZW4gXAoJCSQoRUNITykgTWFrZWZpbGUg
aXMgZm9yIENZR1dJTl9OVC01LjIsIG5vdCBmb3IgYHVuYW1lYCA7IFwKCQll
eGl0IDEgOyBcCglmaQoJQCQoRUNITykgZG9uZQo=


--------------050700040804000506090903
Content-Type: text/plain; charset=us-ascii

--
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/
--------------050700040804000506090903--

