Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <13179A03C694D211B84700105A1E6C8B2FCFB3@cfx-server.cfds.harwell.aeat.co.uk> From: "Mortimer, Andy" To: "'cygwin AT sources DOT redhat DOT com'" Subject: sig_send: wait for sig_complete event failed Date: Fri, 15 Sep 2000 12:01:52 +0100 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Hi List, I've just bitten the bullet and upgraded from a b20.1 snapshot release to the latest and greatest net release, and almost everything is much improved (so I don't really want to go back ... ;-) Unfortunately, I've started having various problems with the error message: 1184486202 [sig] bash 28849 sig_send: wait for sig_complete event failed, sig 11, rc 258, Win32 error 0 being repeated over and over and over. I've tried killing bash (PID 28849 in this case) with the kill command, but it doesn't seem to help. I couldn't work out what its Windows PID was to try killing it from the Task Manager. This is being given by our overnight rebuild and regression tests, which are monster Bourne-shell and bash scripts, after a good few hours of runtime. I've done a search of the mailing list archives, and the only other person I could find who was seeing this was in the following message, during testing something Tcl/Tk-ish: http://www.delorie.com/archives/browse.cgi?p=cygwin/2000/07/16/14:15:38 The same error message occurred in a couple of other contexts, but this was the only one with a real-looking signal number and Win32 error 0. Needless to say, I couldn't find a fix recorded with any of them. :-( I haven't tried to run with strace and so on, for the simple reason that this only seems to happen after they've been running pretty solidly for 4-5 hours or more! I can't seem to find an obvious reproducible and useful test case, so it's not obvious what anybody can do about it; this is mostly a plea for help! Has anybody else seen this problem, and was there a solution? This is NT 4, but with lots of software installed which may be causing this; I did some tests using VMware before upgrading, and didn't see the problem, but I was doing shorter runs there, and also the virtual machine is much slower than a real NT box. I wonder whether it might be a race; I'm running on a dual CPU box here, and that's caused me some problems before with stock b20.1. (In that case, they were fixed by a snapshot). It's also interesting that I've been having similar hangs with b20.1; I couldn't find any error messages in that case, but it may or may not be related. cygcheck output appended. Thanks in advance for any help/clues anybody can give! (Especially if there is a way to recover from this and kill off the process which is hung without having to start all the way over again, that'd be nice). If anybody can give me a pointer as to where I might start debugging this I may be able to have a go at that, but given what little I know about either this problem or Cygwin, it's a rather daunting task at the moment! Cheers, Andy -- Andy Mortimer, CFX-5 Architecture and Infrastructure Team andy DOT mortimer AT aeat DOT com Cygnus Win95/NT Configuration Diagnostics Current System Time: Fri Sep 15 11:42:53 2000 WinNT Ver 4.0 build 1381 Service Pack 5 Path: /cygdrive/u/bin /usr/local/bin /usr/bin /usr/bin /c/Program Files/Microsoft Visual Studio/Common/Tools /c/Program Files/Microsoft Visual Studio/Common/Msdev98/BIN /c/Program Files/Microsoft Visual Studio/DF98/BIN /c/Program Files/Microsoft Visual Studio/VC98/BIN /c/Program Files/DevStudio/SharedIDE/BIN /c/Program Files/DevStudio/DF/BIN /c/Program Files/DevStudio/VC/BIN /c/WINNT/system32 /c/WINNT /c/Program Files/InstallShield/InstallShield 5.5 Professional Edition/Program /c/Program Files/Exceed.nt /e/Tools/CYGWIN32_NT/perl/bin/MSWin32-x86 /e/Tools/CYGWIN32_NT/perl/bin /e/Tools/CYGWIN32_NT/bin //CFX-SERVER/export/home_sd/Andy_Mortimer/Software/vim //CFX-SERVER/export/home_sd/Andy_Mortimer/bin /e/Tools/CYGWIN32_NT/perl/bin/MSWin32-x86 /e/Tools/CYGWIN32_NT/perl/bin /e/Tools/CYGWIN32_NT/bin //CFX-SERVER/export/home_sd/Andy_Mortimer/Software/vim //CFX-SERVER/export/home_sd/Andy_Mortimer/bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `/cygdrive/u' MAKE_MODE = `unix' PWD = `/E/Home/andy/src/tools/pvm-merge/pvm3' USER = `andy_mortimer' !C: = `C:\cygwin\bin' !U: = `U:\' CFXCVS_USER_LEVEL = `expert' COMPUTERNAME = `XENON' COMSPEC = `C:\WINNT\system32\cmd.exe' CPU = `i386' CVS_HOST = `io' EDITMODE = `emacs' EDITOR = `vim' FPS_INCLUDE = `C:\FPS4\INCLUDE' FPS_LIB = `C:\FPS4\LIB;C:\Program Files\DevStudio\VC\LIB' FPS_PATH = `C:\FPS4\BIN' HOMEDRIVE = `U:' HOMEPATH = `\' HOMESHARE = `\\cfx-server\Andy_Mortimer$' HOSTNAME = `XENON' HOSTTYPE = `i586' INCLUDE = `C:\Program Files\Microsoft Visual Studio\DF98\INCLUDE;C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE;C:\Program Files\DevStudio\DF\INCLUDE;C:\Program Files\DevStudio\VC\INCLUDE' LIB = `C:\Program Files\Microsoft Visual Studio\DF98\LIB;C:\Program Files\Microsoft Visual Studio\VC98\LIB;C:\Program Files\DevStudio\DF\LIB;C:\Program Files\DevStudio\VC\LIB' LM_LICENSE_FILE = `C:\MSC\flexlm\licenses\license.dat' LOGONSERVER = `\\CFX-SERVER' MACHTYPE = `i586-pc-cygwin' NUMBER_OF_PROCESSORS = `2' OLDPWD = `/cygdrive/u' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' OSTYPE = `cygwin' PAGER = `less' PATHEXT = `.COM;.EXE;.BAT;.CMD' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0502' PROMPT = `$P$G' PS1 = `\[\033]2;${SHDESC:+<$SHDESC>:}\w\007\033]1;<${SHDESC:-??}> \h:\W\007\]\[\033[1m\][${SHDESC:+$SHDESC:}$SHLVL]:\w\$\[\033[0m\] ' SHELL = `/bin/sh' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `/c/TEMP' TERM = `cygwin' USERDOMAIN = `CFX-UK' USERNAME = `Andy_Mortimer' USERPROFILE = `C:\WINNT\Profiles\andy_mortimer' VISUAL = `vim' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck' TZ = `GMTST0GMTDT-1,M3.5.0/2,M10.5.0/3' HKEY_CURRENT_USER\Console\cygnus.bat (default) = 0x00000007 PopupColors = 0x000000f5 ColorTable00 = 0x00000000 ColorTable01 = 0x00800000 ColorTable02 = 0x00008000 ColorTable03 = 0x00808000 ColorTable04 = 0x00000080 ColorTable05 = 0x00800080 ColorTable06 = 0x00008080 ColorTable07 = 0x00c0c0c0 ColorTable08 = 0x00808080 ColorTable09 = 0x00ff0000 ColorTable10 = 0x0000ff00 ColorTable11 = 0x00ffff00 ColorTable12 = 0x000000ff ColorTable13 = 0x00ff00ff ColorTable14 = 0x0000ffff ColorTable15 = 0x00ffffff InsertMode = 0x00000001 QuickEdit = 0x00000001 FullScreen = 0x00000000 ScreenBufferSize = 0x0bb80050 WindowSize = 0x00190050 FontSize = 0x000c0000 FontFamily = 0x00000036 FontWeight = 0x00000190 FaceName = `Lucida Console' CursorSize = 0x00000019 HistoryBufferSize = 0x00000032 NumberOfHistoryBuffers = 0x00000004 HistoryNoDup = 0x00000000 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 = 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `E:\Temp' unix = `/tmp' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 (default) = `\\colossus\scratch' unix = `/scratch' fbinary = 0x00000001 fsilent = 0x00000000 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 (default) = `E:\localscratch' unix = `/localscratch' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 (default) = `\\.\tape1:' unix = `/dev/st1' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 (default) = `\\.\tape0:' unix = `/dev/st0' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 (default) = `\\.\b:' unix = `/dev/fd1' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 (default) = `\\.\a:' unix = `/dev/fd0' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 (default) = `C:\Cygnus\Cygwin-b20\H-i586-cygwin32' unix = `/' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions\Menu (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:/cygwin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `c:' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d (default) = `d:' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/e (default) = `E:' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/f (default) = `f:' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/g (default) = `g:' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:/cygwin/bin' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:/cygwin/lib' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1 (default) = `c:\cygnus\cygwin-b20' HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20 (default) = `C:\WINNT\IsUninst.exe -fc:\cygnus\cygwin-b20\Uninst.isu' DisplayName = `Cygwin B20' a: fd N/A N/A c: hd NTFS 4008Mb 83% CP CS UN PA FC d: cd CDFS 544Mb 100% CS DN60AENU2 e: hd NTFS 13350Mb 73% CP CS UN PA FC f: cd N/A N/A g: hd NTFS 17508Mb 69% CP CS UN PA FC j: net NTFS 2047Mb 0% CP CS home_devel t: net NTFS 31047Mb 99% CP CS UN PA FC User space u: net NTFS 31047Mb 99% CP CS UN PA FC User space C:\cygwin\bin /usr/bin system textmode C:\cygwin\lib /usr/lib system textmode C:\cygwin / system textmode E: /e system textmode c: /c system textmode d: /d system textmode f: /f system textmode g: /g system textmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.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\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: E:\Tools\CYGWIN32_NT\bin\make.exe Warning: C:\cygwin\bin\make.exe hides E:\Tools\CYGWIN32_NT\bin\make.exe Found: C:\cygwin\bin\sh.exe 83k 2000/06/11 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/6/11 4:34 35k 2000/06/11 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/6/11 4:34 402k 2000/06/11 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2000/6/11 4:30 5k 2000/06/11 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2000/06/11 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2000/6/11 4:30 639k 2000/06/11 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/6/11 4:34 586k 2000/08/04 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2000/8/4 1:53 Cygwin DLL version info: dll major: 1001 dll minor: 4 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 api major: 0 api minor: 26 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 build date: Thu Aug 3 20:53:46 EDT 2000 CVS tag: cygwin-1-1-4 shared id: cygwin1S3 603k 1999/06/03 E:\Tools\CYGWIN32_NT\bin\cygwinb19.dll - os=4.0 img=1.0 sys=4.0 "cygwinb19.dll" v0.0 ts=1998/6/7 18:35 Use -h to see help about each section [An automatic footer will be attached to this message. By posting to a public mailing list, I implicitly give permission to read/disclose/copy/delete/reply to/whatever the message.] *********************************************************************** This transmission contains information which may be confidential and which may also be privileged. It is intended for the named addressee only. Unless you are the named addressee, or authorised to receive it on behalf of the addressee you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please contact the sender. Thank you for your cooperation. *********************************************************************** For more information about AEA Technology please visit our website at http://www.aeat.co.uk AEA Technology plc registered office 329 Harwell, Didcot, Oxfordshire OX11 0QJ. Registered in England and Wales, number 3095862. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com