delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/02/17:30:13

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
To: cygwin AT cygwin DOT com
From: Rolf Campbell <Endlisnis AT mailc DOT net>
Subject: Re: Snapshot 20040225: make hangs/errors out
Date: Tue, 02 Mar 2004 17:29:53 -0500
Lines: 32
Message-ID: <c231t2$4oq$1@sea.gmane.org>
References: <c1j55u$kah$1 AT sea DOT gmane DOT org> <403E07A4 DOT 1010309 AT scytek DOT de> <20040226150318 DOT GC23139 AT redhat DOT com> <403E1400 DOT 7010704 AT scytek DOT de> <20040226163404 DOT GA25941 AT redhat DOT com> <403E245F DOT 40101 AT scytek DOT de> <403E72B7 DOT 9050305 AT scytek DOT de> <403FD3AC DOT 7010300 AT scytek DOT de> <c205f3$jel$1 AT sea DOT gmane DOT org> <4044E025 DOT 2060501 AT scytek DOT de> <20040302204752 DOT GA11909 AT redhat DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: ottgw.tropicnetworks.com
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
In-Reply-To: <20040302204752.GA11909@redhat.com>

Christopher Faylor wrote:
> On Tue, Mar 02, 2004 at 02:27:33PM -0500, Volker Quetschke wrote:
> 
>>>I can reproduce with that snapshot, but I get slightly different
>>>results.  Here is the stderr output from 1052 runs, but the strange
>>>thing is that even when I get errors, the task continues to run.  It
>>>seems somehow that the return code of the errored run gets lost or
>>>something.
>>
>>Are you still using this script:
>>
>>export C=1 while strace -o strace.$C.txt make -j ; do C=$(($C+1)) ;
>>done echo Failed after $C runs
>>
>>If yes: The strace catches the errors.  I use a script without strace
>>and the while catches the error of the make command.
> 
> 
> Do you actually have an strace which demonstrates the problem?  I
> don't any indication that you've duplicated this problem running
> strace with a "modern" snapshot.

I have reproduced the problem with a recent snapshot ('25), and strace, 
but I am only using a single strace output file, so it keeps going and 
over-writes the errored strace with the next run.  I will run it tonight 
while preserving all strace logs, but I can only run for about 1500 
iterations before I fill my disk.  I hope it happens before that.

Is there any way to tell strace to mimic the return code of it's 
inferior process?

-Rolf


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

- Raw text -


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