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
To: cygwin@cygwin.com
From: Rolf Campbell <Endlisnis@mailc.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@sea.gmane.org> <403E07A4.1010309@scytek.de> <20040226150318.GC23139@redhat.com> <403E1400.7010704@scytek.de> <20040226163404.GA25941@redhat.com> <403E245F.40101@scytek.de> <403E72B7.9050305@scytek.de> <403FD3AC.7010300@scytek.de> <c205f3$jel$1@sea.gmane.org> <4044E025.2060501@scytek.de> <20040302204752.GA11909@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.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/

