Snapshot 20040225: make hangs/errors out

Brian Ford ford@vss.fsi.com
Tue Mar 2 23:54:00 GMT 2004


Ok, I haven't been following this thread, but I thought I'd try to help
debug.  Somebody tell me if I found a clue, or I'm just being stupid.

Under a current, debugging enabled, cvs compiled cygwin1.dll:

$ uname -a
CYGWIN_NT-5.1 fordpc 1.5.8(0.111/4/2) 2004-03-02 12:22 i686 unknown
unknown Cygwin

using the attached b.sh script and Makefile, I see the following output:

[snip]
: End 30.pp 1
: Begin 0.pp † 1+1‡
[snip]
: End 30.pp † 1+1‡
: Begin 0.pp † † 1+1‡+1‡
[etc]

hence, the env dump in the script.  Is it just too late in the day for me,
or is there environment corruption at play here?

This is very easy to reproduce, and it changes with minor changes to the
script.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444
-------------- next part --------------
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}
	@sleep 1
	: End $@ ${C}
-------------- next part --------------
#!/bin/sh

export C=1
while make -j; do C=$(($C+1)) ; env > env.txt; done
echo Failed after $C runs
-------------- next part --------------
!C:=C:\cygwin\bin
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\ford\Application Data
C=† † 1+1‡+1‡
COLORFGBG=15;default;0
COLORTERM=rxvt-xpm
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=FORDPC
COMSPEC=C:\WINDOWS\system32\cmd.exe
CUST=/vss/ems/env8/common
CVSROOT=:pserver:vital8@198.51.27.137:/home/vsslib/CVS
CVS_RSH=/bin/ssh
DISPLAY=:0
EMS=/vss/ems
ENV_PATH=/home/ford/env://thing1/db_release9/commercial/demo://thing1/db_release9/commercial/europe_env://thing1/db_release9/commercial/japan_env://thing1/db_release9/commercial/asia_env://thing1/db_release9/commercial/north_amer_env://thing1/db_release9/commercial/south_amer_env://thing1/db_release9/commercial/models://thing1/db_release9/commercial/test_align://thing1/db_release9/commercial/helicopter://thing1/db_release9/commercial/common
HOME=/home/ford
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\ford
HOSTNAME=fordpc
INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:
LOGONSERVER=\\FORDPC
MAKE_MODE=unix
MANPATH=/usr/X11R6/man:/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man
NUMBER_OF_PROCESSORS=2
OLDPWD=/home/ford
ORIG_CDPATH=.:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/usr/bin
ORIG_PATH=.:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/usr/bin
OS=Windows_NT
PATH=.:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/usr/bin:/home/ford/v9win2/tap:/vss/ems/bin:/home/ford/vsslib
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PKG_CONFIG_PATH=:/usr/X11R6/lib/pkgconfig
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0209
PROGRAMFILES=C:\Program Files
PROMPT=$P$G
PS1=\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ 
PWD=/home/ford/bug_testing/ht
RTCVSBIN=/home/ford/vsslib
SESSIONNAME=Console
SHELL=/bin/bash
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TAP=/home/ford/v9win2/tap
TEMP=/cygdrive/c/DOCUME~1/ford/LOCALS~1/Temp
TERM=xterm
TEXMF={/usr/share/lilypond/2.0.1,/usr/share/texmf}
TMP=/cygdrive/c/DOCUME~1/ford/LOCALS~1/Temp
USER=ford
USERDOMAIN=FORDPC
USERNAME=ford
USERPROFILE=C:\Documents and Settings\ford
WINDIR=C:\WINDOWS
WINDOWID=168034472
XAPPLRESDIR=/home/ford/v9win2/tap/app-defaults
_=./b.sh
-------------- next part --------------
--
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/


More information about the Cygwin mailing list