This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Snapshot 20040225: make hangs/errors out


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
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}
#!/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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]