delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/02/19:29:50

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: <4044B845.7000003@scytek.de>
Date: Tue, 02 Mar 2004 11:37:25 -0500
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Snapshot 20040225: make hangs/errors out
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> <40451E42 DOT 4070806 AT scytek DOT de>
In-Reply-To: <40451E42.4070806@scytek.de>
X-IsSubscribed: yes

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

>>> 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.
> 
> No, but I'll try to catch one. (I removed the strace from my script.)
Ok, caught two already. (Produced with attached script + Makefile)

make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
Failed after 18 runs

corresponds to:
<http://www.scytek.de/cygwin/strace.out.1.gz>

and

make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
Failed after 6 runs

corresponds to:
<http://www.scytek.de/cygwin/strace.out.2.gz>

I used cygwin1.dll with debugging build 20040225 and the make.exe
you (cgf) send me.

cygcheck output is somewhere in this thread.

Volker

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

--------------010301060003090807050801
Content-Type: text/plain;
 name="MakefileV"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="MakefileV"

SHELL	= /bin/sh

testuname: 0.pp 1.pp 2.pp 3.pp 4.pp 5.pp 6.pp 7.pp 8.pp 9.pp 10.pp 11.pp 12.pp 13.pp 14.pp 15.pp 16.pp 17.pp 18.pp 19.pp 20.pp 21.pp 22.pp 23.pp 24.pp 25.pp 26.pp 27.pp 28.pp 29.pp 30.pp

%.pp::
	: Begin $@ ${C}
	@uname
	: End $@ ${C}

--------------010301060003090807050801
Content-Type: text/plain;
 name="w_loop.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="w_loop.sh"

#!/bin/bash
#export CYGWIN=error_start:gdb

export D=1

while [ $D -le 100 ] ; do
echo Loop $D

export C=1

logname=freeze.$D
logerr=${logname}.err

q=""
while [ "$q" != "stop" ] ; do
 strace -o strace.out make -j -f MakefileV > $logname 2>> $logerr
 C=$(($C+1))
 if [ -s $logerr ]; then q="stop" ; fi
done

echo Failed after $C runs >> $logerr
mv strace.out strace.out.$D
if [ -f make.exe.stackdump ]; then mv make.exe.stackdump make.exe.stackdump.$D ; fi
D=$(($D+1))

done


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

- Raw text -


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