Subject: intermittent command hangs using 1.3.10
From: Joe Buehler <[email-masked]>
To: [email-masked]
Date: Thu, 13 Jun 2002 09:46:44 -0400
Newsgroups: gmane.os.cygwin

I am running scripts using the cygwin version of the AT&T ksh shell,
and seeing commands hang intermittently.  I'm running the latest
released cygwin (not a development version) under NT 4 (cygtrace
output attached).

An "strace" on the hung process (strace -p PID) usually outputs
a single line that says "wait_sig: looping".  Task Manager
does not indicate that the machine is chewing up excessive CPU time.

Interestingly, "rm" being run from "find" (via -exec) is the most
frequent offender -- I am trying to come up with something simple
that reproduces the problem.

Known problem?  Should I perhaps try a recent development
snapshot of cygwin1.dll?

Nice job on cygwin, by the way -- the quality looks very good
and I just compiled xemacs using X11 and lesstif and it works!

Joe Buehler
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jun 13 09:24:56 2002

Windows NT Ver 4.0 Build 1381 Service Pack 5

Path:	f:\cygwin\usr\local\xemacs-X11\bin
	f:\cygwin\usr\local\share\bin
	f:\cygwin\usr\local\bin
	f:\cygwin\bin
	f:\cygwin\bin
	C:\Program Files\DevStudio\vc98\bin
	C:\Program Files\DevStudio\vc\bin
	C:\Program Files\DevStudio\Common\MSDev98\bin
	C:\Program Files\DevStudio\sharedIDE\bin
	C:\WINNT\system32
	f:\cygwin\usr\X11R6\bin
	f:\cygwin\usr\local\xemacs\bin\i686-pc-cygwin
	f:\cygwin\usr\local\bin
	f:\cygwin\bin
	f:\cygwin\bin
	f:\cygwin\bin
	f:\cygwin\bin
	f:\cygwin\bin
	f:\home\project-releases\persistence\6.021\tool
	f:\home\project-releases\persistence\6.021\component\server\bin
	f:\home\project-releases\vbroker\03.04\bin
	f:\home\project-releases\vbroker\04.03\bin
	e:\objy52\bin
	e:\mks\mkssi
	e:\mks\mksnt
	e:\perl519\bin
	f:\home\project-releases\objectivity\5.0\bin
	f:\home\project-releases\neuron-data\3.0.2.011\dll
	f:\home\project-releases\objectivity\5.1.1\bin
	%APPMDIR%\Vis
	%APPMDIR%\Bin
	%APPMDIR%\Drivers
	e:\vbroker\bin
	C:\WINNT\system32
	C:\WINNT
	c:\NTRESKIT
	c:\NTRESKIT\Perl
	C:\WINNT\system32\WBEM
	f:\home\project-releases\neuron-data\3.0.2.011\dlldbg
	c:\win32app\nsr\bin
	f:\home\project-releases\Informix\bin
	f:\home\project-releases\informix\SDK2.50.TC3\bin
	c:\PROGRA~1\IBM\AFS\Client\Program
	c:\PROGRA~1\IBM\AFS\Common
	f:\cygwin\bin

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

CYGWIN = `ntsec'
HOME = `f:\home\jhpb'
MAKE_MODE = `unix'
PWD = `/cygdrive/f/home/jhpb'
USER = `jhpb'

CLASSPATH = `e:\objy52\lib\oojava.jar'
COMPUTERNAME = `DEV-NT'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DISPLAY = `jbuehler-lt:0'
EMACS = `t'
HOMEDRIVE = `f:'
HOMEPATH = `/home/jhpb'
INCLUDE = `f:\home\project-releases\persistence\6.021\component\server\c++;e:\objy52\include;f:\home\project-releases\objectivity\5.0\include;f:\home\project-releases\objectivity\5.1.1\include'
LIB = `f:\home\project-releases\persistence\6.021\component\server\lib;e:\objy52\lib;f:\home\project-releases\objectivity\5.0\lib;f:\home\project-releases\objectivity\5.1.1\lib'
LOGONSERVER = `\\HERCULES'
MANPATH = `/usr/local/man:/usr/man:/usr/ssl/man'
NTRESKIT = `C:\NTRESKIT'
NUMBER_OF_PROCESSORS = `2'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PERSISTENCE_HOME = `f:\home\project-releases\persistence\6.021'
PR = `/home/project-releases'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PS1 = `DEV-NT [7m$PWD[27m
[!] $PSEND '
PSEND = `$'
ROOTDIR = `e:/mks'
SHELL = `/bin/bash'
SHLVL = `2'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TERM = `emacs'
TERMCAP = `emacs:co#80:tc=unknown:'
TMPDIR = `c:\TEMP'
TZ = `EST5EDT'
USERDOMAIN = `DEV-NT'
USERNAME = `jhpb'
USERPROFILE = `C:\WINNT\Profiles\jhpb.000'
WINDIR = `C:\WINNT'
XENVIRONMENT = `/cygdrive/f/home/jhpb/.Xdefaults'
_ = `/usr/bin/cygcheck'
inetd_dummy = `xxx'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
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 = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `f:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `c:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
  (default) = `f:\home'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/msdev
  (default) = `C:\Program Files\DevStudio'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/q
  (default) = `q:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/sys
  (default) = `C:\WINNT\system32'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `f:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `f:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `f:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/win
  (default) = `C:\WINNT'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  NTFS    2047Mb  65% CP CS UN PA FC     
d:  cd           N/A    N/A                    
e:  hd  NTFS    4337Mb  72% CP CS UN PA FC     
f:  hd  NTFS    8675Mb  99% CP CS UN PA FC     
g:  hd  NTFS    2274Mb  10% CP CS UN PA FC     
q:  net AFS    2097151Mb  51% CP CS              AFS

f:\cygwin                          /                         system  binmode
c:                                 /c                        system  binmode
f:\home                            /home                     system  binmode
C:\Program Files\DevStudio         /msdev                    system  binmode
q:                                 /q                        system  binmode
C:\WINNT\system32                  /sys                      system  binmode
f:\cygwin/bin                      /usr/bin                  system  binmode
f:\cygwin/lib                      /usr/lib                  system  binmode
f:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
C:\WINNT                           /win                      system  binmode
.                                  /cygdrive                 user    binmode,noumount

Found: f:\cygwin\bin\bash.exe
Found: f:\cygwin\bin\cat.exe
Found: c:\NTRESKIT\cat.exe
Warning: f:\cygwin\bin\cat.exe hides c:\NTRESKIT\cat.exe
Found: f:\cygwin\bin\cpp.exe
Found: f:\cygwin\bin\find.exe
Found: f:\cygwin\bin\gcc.exe
Not Found: gdb
Found: f:\cygwin\bin\ld.exe
Found: f:\cygwin\bin\ls.exe
Found: c:\NTRESKIT\ls.exe
Warning: f:\cygwin\bin\ls.exe hides c:\NTRESKIT\ls.exe
Found: f:\cygwin\bin\make.exe
Found: e:\mks\mksnt\make.exe
Warning: f:\cygwin\bin\make.exe hides e:\mks\mksnt\make.exe
Found: f:\cygwin\bin\sh.exe

   58k 2002/05/07 f:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 2:33
  621k 2002/05/17 f:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/5/17 8:24
   45k 2001/04/25 f:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 1:28
   35k 2002/01/09 f:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 1:03
   19k 2002/02/20 f:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 22:05
   17k 2001/06/28 f:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
   20k 2002/01/13 f:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/1/12 20:27
   22k 2001/12/13 f:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 4:28
   21k 2001/06/20 f:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 13:09
   81k 2000/12/05 f:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/25 20:43
   35k 2000/12/05 f:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/25 20:43
  119k 2002/02/09 f:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 0:19
   25k 2002/05/08 f:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2002/5/8 19:46
   26k 2001/04/25 f:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 1:27
   20k 2002/01/09 f:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 1:03
  156k 2001/04/25 f:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
  175k 2002/01/09 f:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
  226k 2001/04/25 f:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 1:17
  202k 2002/01/09 f:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 1:03
   15k 2001/04/25 f:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 1:27
   12k 2002/01/09 f:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 1:03
   40k 2001/11/21 f:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 17:15
   39k 2001/11/21 f:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 17:15
  171k 2002/05/07 f:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2002/5/7 14:53
  175k 2002/05/24 f:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2002/5/23 22:22
  170k 2002/01/21 f:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/1/20 20:05
   22k 2002/06/09 f:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
  108k 2001/06/28 f:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
  121k 2002/01/13 f:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/1/12 20:27
  156k 2002/05/17 f:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/5/17 8:24
  390k 2000/12/05 f:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/25 20:39
    5k 2000/12/05 f:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/12/05 f:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/25 20:39
  253k 2002/02/10 f:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2002/2/10 3:34
  623k 2000/12/05 f:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/25 20:43
   41k 2002/01/20 f:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/20 13:49
   46k 2002/01/20 f:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/20 13:50
   50k 2002/03/12 f:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 23:38
  751k 2002/02/25 f:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/2/25 11:14
    Cygwin DLL version info:
        DLL version: 1.3.10
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 51
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Mon Feb 25 11:14:34 EST 2002
        Shared id: cygwin1S3

Cygwin Package Information
Last downloaded files to: f:\cygwin-temp
Last downloaded files from: ftp://mirrors.umbc.edu/pub/cygwin

Package             Version             
XFree86-base        4.2.0-1             
XFree86-bin         4.2.0-1             
XFree86-etc         4.2.0-1             
XFree86-f100        4.2.0-2             
XFree86-fenc        4.2.0-2             
XFree86-fnts        4.2.0-2             
XFree86-fscl        4.2.0-2             
XFree86-lib         4.2.0-3             
XFree86-man         4.2.0-1             
XFree86-prog        4.2.0-1             
XFree86-startup-scripts4.2.0-2             
XFree86-xserv       4.2.0-4             
_update-info-dir    00006-1             
ash                 20020131-1          
autoconf            2.53-1              
autoconf-devel      2.53a-1             
autoconf-stable     2.13-4              
automake            1.6a-1              
automake-devel      1.6.1-3             
automake-stable     1.4p5-5             
bash                2.05a-3             
bc                  1.06-1              
binutils            20011002-1          
bison               1.35-1              
byacc               1.9-1               
bzip2               1.0.2-2             
ccache              1.9-1               
clear               1.0-1               
cpio                2.4.2               
cron                3.0.1-6             
cygrunsrv           0.95-1              
cygutils            1.1.1-1             
cygwin              1.3.10-1            
cygwin-doc          1.0-1               
diff                1.0-1               
diffutils           2.8.1-1             
expect              20010117-1          
file                3.37-1              
fileutils           4.1-1               
findutils           4.1.7-4             
flex                2.5.4-2             
gawk                3.0.4-1             
gcc                 2.95.3-5            
gdbm                1.8.0-4             
gettext             0.10.40-1           
grep                2.5-1               
groff               1.17.2-1            
gzip                1.3.2-1             
inetutils           1.3.2-17            
jpeg                6b-7                
less                374-1               
lesstif             0.93.18-3           
libbz2_1            1.0.2-2             
libintl             0.10.38-3           
libintl1            0.10.40-1           
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.2.3-1             
libpng10            1.0.13-3            
libpng10-devel      1.0.13-3            
libpng12            1.2.3-1             
libpng12-devel      1.2.3-1             
libpng2             1.0.12-1            
libpopt0            1.6.4-4             
libreadline4        4.1-2               
libreadline5        4.2a-1              
libtool             20020202a-1         
libtool-devel       20020502-2          
libtool-stable      1.4.2-2             
login               1.4-3               
m4                  0.0                 
make                3.79.1-7            
man                 1.5g-2              
mingw-runtime       1.3-2               
mktemp              1.4-1               
ncftp               3.1.3-1             
ncurses             5.2-8               
newlib-man          20001118-1          
openssh             3.2.3p1-1           
openssl             0.9.6d-1            
patch               2.5-3               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.4-4             
rcs                 5.7-3               
readline            4.2a-1              
rsync               2.5.5-1             
sed                 3.02-1              
sh-utils            2.0-2               
shutdown            1.2-2               
ssmtp               2.38.7-3            
tar                 1.13.19-1           
tcltk               20001125-1          
termcap             20020403-1          
terminfo            5.2-3               
texinfo             4.2-3               
textutils           2.0.21-1            
tiff                3.5.7-1             
time                1.7-1               
unzip               5.50-1              
vim                 6.1-2               
w32api              1.4-2               
which               1.5-1               
xpm-nox             4.2.0-1             
zip                 2.3-2               
zlib                1.1.4-1             

Use -h to see help about each section

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/