delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/04/04:24:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4020BA04.1010408@salomon.at>
Date: Wed, 04 Feb 2004 10:23:16 +0100
From: Michael Haubenwallner <michael DOT haubenwallner AT salomon DOT 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 AT cygwin DOT com
Subject: Re: Signal handling problem in 1.5.7 ? - Was: Re: Program randomly hangs.....
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 DOT haubenwallner AT salomon DOT 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--

- Raw text -


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