Re: Snapshot 20040221: make hangs on XP

2004-02-25 Thread Volker Quetschke
I ran a variation of the above for three days without fail so I think I
can safely say that I can't reproduce this problem.
I'll try different systems ..
OK, this one is a Win2000SP3, AMD XP1700, 512MB, cygcheck attached.
With Snapshot 20040221 I get:
$ ./t.sh  freeze.out
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
Makefile:6: *** Recursive variable `SHELL' references itself 
(eventually).  Stop.
Failed after 1487 runs
[EMAIL PROTECTED]/tmp/freeze:{510}:
$ uname -a
CYGWIN_NT-5.0 lisi 1.5.8s(0.110/4/2) 20040221 17:58:57 i686 unknown 
unknown Cygwin

And, by the way: http://cygwin.com/ml/cygwin/2004-02/msg00923.html
and also produce some statistics. The problem is that I tried every
snapshot since 1.5.7, (unfortunately not all mentioned in this thread)
and I didn't find one that works without freezing or erroring out.
I wasn't asking for every snapshot mentioned in the thread.  I was
asking for context.  If you tried a bunch of snapshots and none worked
that is an adequate amount of information.  There's no need to rerun
anything.
I don't know anything special about the context. I started trying ths
testcase because since 1.5.7 I get random freezes on my Openoffice
tinderbox machine and it is much smaller. (Note: this is a third machine
but it's hard to change the cygwin1.dll only with ssh. I did't test
different snapshots on that computer.)
The first machine in this thread is a Notebook with XP home and nearly
nothing besides cygwin installed, the second (the cygcheck output in
this mail) is a desktop system.
Volker

P.S.: A me too from someone else would be nice to see that this
is not a Volker did something stupid problem.
--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Feb 25 13:44:06 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Programme\Gemeinsame Dateien\Ulead Systems\MPEG
c:\Programme\ATI Technologies\ATI Control Panel
c:\Programme\Executive Software\DiskeeperWorkstation\
C:\cygwin\usr\X11R6\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1002(q) GID: 513(none)
513(none)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1002(q) GID: 513(none)
513(none)  544(admins)545(benutzer)

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `tty codepage:oem'
HOME = `C:\cygwin\home\qloc'
MAKE_MODE = `unix'
PWD = `/tmp/freeze'
USER = `q'

ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
APPDATA = `C:\Dokumente und Einstellungen\q\Anwendungsdaten'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `LISI'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DISKEEPERICON = `C:\Programme\Executive Software\DiskeeperWorkstation\'
DISPLAY = `:0'
EDITOR = `nano -w'
FTP_PASSIVE = `1'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `lisi'
JOETERM = `linux'
LOGONSERVER = `\\LISI'
LS_COLORS = 
`no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/tmp'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERLIO = `perlio'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0602'
PROGRAMFILES = `C:\Programme'
PS1 = [EMAIL PROTECTED]:{\!}:
\$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `d:\temp'
TERM = `xterm'
TMP = `d:\temp'
TZ = `CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00'
USERDOMAIN = `LISI'
USERNAME = `q'
USERPROFILE = `C:\Dokumente und Einstellungen\q'
WINDIR = `C:\WINNT'
WINDOWID = `168046600'
_ = `/bin/cygcheck.exe'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus 

Re: Snapshot 20040221: make hangs on XP

2004-02-25 Thread Rolf Campbell
Christopher Faylor wrote:
--- t.sh ---
#!/bin/bash
export C=1
while make -j ; do C=$(($C+1)) ; done
echo Failed after $C runs 12
--- end of t.sh ---
The script failed with:

$ ./t.sh  freeze.out
/bin/sh: line 1: sleep: No such file or directory
make: *** [12.pp] Error 127
make: *** Waiting for unfinished jobs
Failed after 1499 runs
I ran a variation of the above for three days without fail so I think I
can safely say that I can't reproduce this problem.
And, by the way: http://cygwin.com/ml/cygwin/2004-02/msg00923.html

cgf
I tried running that script again, here were my results:

Feb14: more than 10,000 iterations  (never failed, just got bored of 
watching it)
Feb17: more than 270 (still running)
Feb18: Froze after 12, 41, 6
Feb20: Froze after 9, 2, 4
Feb21: Froze after 1, 5, 4

My un-educated guess is:
2004-02-17  Corinna Vinschen  [EMAIL PROTECTED]
* fork.cc (fork_child): Move fixup_shms_after_fork so that
signal_arrived is initialized when calling it.
In every case of freezing, the make process gobbled up all the CPU it could.

-Rolf

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Feb 25 13:55:07 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11643(rcampbell) GID: 10513(Domain Users)
10513(Domain Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11643(rcampbell) GID: 10513(Domain Users)
544(Administrators)   545(Users)
10513(Domain Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\rcampbell'
MAKE_MODE = `unix'
PWD = `/tmp'
USER = `rcampbell'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\rcampbell\Application Data'
CLIENTNAME = `Console'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `DESK-RCAMPBELL'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
COSMIC = `t'
CVS_RSH = `/bin/ssh'
DISPLAY = `:0'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\rcampbell'
HOSTNAME = `desk-rcampbell'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGONSERVER = `\\OTTDC2'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/home/rcampbell'
OS = `Windows_NT'
P4CONFIG = `.p4config'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `RDP-Tcp#1'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\RCAMPB~1\LOCALS~1\Temp'
TERM = `xterm'
TMP = `C:\DOCUME~1\RCAMPB~1\LOCALS~1\Temp'
TROPIC_UNIQUE_ID = `156'
USERDNSDOMAIN = `TROPICNETWORKS.COM'
USERDOMAIN = `TROPICNETWORKS'
USERNAME = `rcampbell'
USERPROFILE = `C:\Documents and Settings\rcampbell'
WINDIR = `C:\WINDOWS'
WINDOWID = `168123432'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
  (default) = 0x0400
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `C:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   39260Mb  48% CP CS UN PA FC 
d:  cd   N/AN/A

C:\cygwin  /  system  binmode
C: /c system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: 

Re: Snapshot 20040221: make hangs on XP

2004-02-25 Thread Volker Quetschke
I ran a variation of the above for three days without fail so I 
think I
can safely say that I can't reproduce this problem.
I'll try different systems ..
OK, this one is a Win2000SP3, AMD XP1700, 512MB, cygcheck attached.
With Snapshot 20040221 I get:
$ ./t.sh  freeze.out
(snip)
Failed after 1487 runs
OK, new test, again the XP home Notebook with cygwin1.dll build
from cvs this morning with debugging:
First run:
$ ./t.sh  freeze.out
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 46 runs
Second run was running for a while, I got bored and started two
additional scripts. The third script failed with:
$ ./t.sh  freeze3.out
make: /: Command not found
make: *** [1.pp] Error 127
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 949 runs
More than 3000 runs in all three scripts.

Drats, this seems to be very hard to trigger.

Volker

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


Re: Snapshot 20040221: make hangs on XP

2004-02-25 Thread Rolf Campbell
Christopher Faylor wrote:
I tried running that script again, here were my results:

Feb14: more than 10,000 iterations  (never failed, just got bored of 
watching it)
Feb17: more than 270 (still running)
Feb18: Froze after 12, 41, 6
Feb20: Froze after 9, 2, 4
Feb21: Froze after 1, 5, 4


Out of curiousity, the next time it freezes, try hitting CTRL-D.  I ran one
of the scripts for four hours and got a freeze.  gdb showed that make was
sitting in console input mode for some reason.  Hitting ctrl-d (followed two seconds
by an expletive) got things running again.
I can say that is not what is happening (because it would not be using 
any CPU if it were waiting for input), but I will humour you the next 
time I see it freeze.  I have (once) had that happen (make waiting for 
input that is), but I never thought of hitting ^D.

And, just for completeness, I built and ran a CVS version from about an 
hour ago, and it has not failed yet (350 iterations).  So, maybe someone 
already fixed this problem after Feb21.

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


Re: Snapshot 20040221: make hangs on XP

2004-02-25 Thread Rolf Campbell
Volker Quetschke wrote:
And, just for completeness, I built and ran a CVS version from about 
an hour ago, and it has not failed yet (350 iterations).  So, maybe 
someone already fixed this problem after Feb21.


No, not for me. I'm using the same version, see my other mail, but it
seems very hard to trigger the problem.
I tried to use uname instead of sleep 1. This doesn't seem to
fail either (752 iterations).
Boom. Error after 832 runs.

$ ./u.sh  freezeU.out
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 832 runs
Volker

Oh, come to think of it, I did get that error once with the Feb14th 
snapshot, after about 1500 runs.  But my latter attempt ran for over 
10,000 so I didn't mention it.  And I've never seen it since.

And I'm still running the CVS with sleep 1, and it's  1000 iterations 
without any problems.  I will run it overnight tonight just for kicks.

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


Re: Snapshot 20040221: make hangs on XP

2004-02-24 Thread Christopher Faylor
On Tue, Feb 24, 2004 at 07:19:24PM -0500, Christopher Faylor wrote:
On Tue, Feb 24, 2004 at 05:23:02PM -0500, Volker Quetschke wrote:
Just FYI, I build a cygwin dll from current cvs (last
winsup/cygwin/ChangeLog entry 2004-02-09 Ralf H.)
with debugging enabled and rerun this script. It didn't freeze, I
stopped it after 1588 iterations, but it produced one stackdump
and wrote some errors from make to stderr: (snip)

I tried the 20040221 snapshot with the following script
and the Makefile posted earlier in this thread (and also attached).

--- t.sh ---
#!/bin/bash
export C=1
while make -j ; do C=$(($C+1)) ; done
echo Failed after $C runs 12
--- end of t.sh ---

The script failed with:

$ ./t.sh  freeze.out
/bin/sh: line 1: sleep: No such file or directory
make: *** [12.pp] Error 127
make: *** Waiting for unfinished jobs
Failed after 1499 runs

I ran a variation of the above for three days without fail so I think I
can safely say that I can't reproduce this problem.

And, by the way: http://cygwin.com/ml/cygwin/2004-02/msg00923.html

cgf

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



Re: Snapshot 20040221: make hangs on XP

2004-02-24 Thread Volker Quetschke
The script failed with:

$ ./t.sh  freeze.out
/bin/sh: line 1: sleep: No such file or directory
make: *** [12.pp] Error 127
make: *** Waiting for unfinished jobs
Failed after 1499 runs
I ran a variation of the above for three days without fail so I think I
can safely say that I can't reproduce this problem.
I'll try different systems ..

And, by the way: http://cygwin.com/ml/cygwin/2004-02/msg00923.html
and also produce some statistics. The problem is that I tried every
snapshot since 1.5.7, (unfortunately not all mentioned in this thread)
and I didn't find one that works without freezing or erroring out.
I'll produce some statistics, but each run takes a while ...

Volker

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


pgp0.pgp
Description: PGP signature


Re: Snapshot 20040221: make hangs on XP

2004-02-24 Thread Christopher Faylor
On Tue, Feb 24, 2004 at 10:09:44PM -0500, Volker Quetschke wrote:
The script failed with:

$ ./t.sh  freeze.out
/bin/sh: line 1: sleep: No such file or directory
make: *** [12.pp] Error 127
make: *** Waiting for unfinished jobs
Failed after 1499 runs

I ran a variation of the above for three days without fail so I think I
can safely say that I can't reproduce this problem.
I'll try different systems ..

And, by the way: http://cygwin.com/ml/cygwin/2004-02/msg00923.html
and also produce some statistics. The problem is that I tried every
snapshot since 1.5.7, (unfortunately not all mentioned in this thread)
and I didn't find one that works without freezing or erroring out.

I wasn't asking for every snapshot mentioned in the thread.  I was
asking for context.  If you tried a bunch of snapshots and none worked
that is an adequate amount of information.  There's no need to rerun
anything.

cgf

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