Cristopher Faylor wrote:
>>>David Dindorp wrote:
>>>>Bash seems to think that it's child has terminated prematurely.
>>>>Has anyone experienced something similar?
>Being precise is one thing you could do.
I tried my best.
>You could also provide cygcheck output as is
>suggested by http://cygwin.com/problems.html.
cygcheck from the test box is attached.
I thought it wouldn't be relevant, since I included all version
numbers. Also, I modify the environment as the first thing
when the script runs:
SET CYGWIN=binmode check_case:relaxed codepage:ansi \
envcache notitle strip_title notty nontsec
And also set PATH and LD_LIBRARY_PATH to point to the Cygwin 'bin'
directory.
>Also, providing simple test cases which reproduce the problem would
>help.
I really tried, but so far have not been able to produce a simple test
case. My best guess right now is that it only occurs when load is
high, or when the right timing conditions apply.
I thought it was obvious that I include test cases for every bug where
I'm able to produce one, especially since I posted one last week.
Actually, I can't find the mail in the mailing list archives right now,
although it is in my 'sent items'. Nobody replied to it either.
Maybe it got blocked because of the attachments - it was a .sh script
and a .bat script. Do you by any chance have some really dumb spam
filter in place that blocks anything named eg. ".bat" ? :-)
Subject of e-mail was "testing snapshot", it mentioned 3 other bugs
(something related to 'grep', something with sync_with_child).
I'll try resending it, let me know if you'd rather try and find it
in your (?) spam blocker.
>I just wasted some time trying to reproduce your environment
>since I assumed that you'd provided a script which could easily
>reproduce the problem and that this was a problem which was specific
>to the snapshot.
I'm truly sorry.
It is sort of specific to the snapshot, since the problem occurs at a
different rate in older versions.
>Anyway, this sounds a lot like the bash problem which has been
>discussed here over the last several months (most heavily in the
>October time frame). If you aren't running bash-2.05b-17 then
>that's probably your problem.
bash 3.0 is not good enough?
I went through the archives for October (anything related to "bash"),
but couldn't find anything that seems related to me. Would you mind
pointing me in the right direction (subject, link, anything)?
Cygwin Configuration Diagnostics
Current System Time: Mon Feb 28 20:27:50 2005
Windows 2000 Server Ver 5.0 Build 2195 Service Pack 4
Path: C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\PROGRA~1\CHECKP~1\CPShared\R55\bin
C:\PROGRA~1\CHECKP~1\CPShared\R55\lib
C:\PROGRA~1\CHECKP~1\CPShared\R55\util
C:\PROGRA~1\CHECKP~1\cpinfo\R55\bin
C:\WINNT\FW1\R55\lib
C:\WINNT\FW1\R55\bin
`id' program not found
`id' program not found
SysDir: C:\WINNT\system32
WinDir: C:\WINNT
Path =
`C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\CHECKP~1\CPShared\R55\bin;C:\P
KP~1\CPShared\R55\util;C:\PROGRA~1\CHECKP~1\cpinfo\R55\bin;C:\WINNT\FW1\R55\lib;C:\WINNT\FW1\R55\bin
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Administrator\Application Data'
CLIENTNAME = `DUBEX-DDI'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `LOGEXPORT'
ComSpec = `C:\WINNT\system32\cmd.exe'
CPDIR = `C:\Program Files\CheckPoint\CPShared\R55'
CPMDIR = `C:\WINNT\FW1\R55'
FWDIR = `C:\WINNT\FW1\R55'
FW_BOOT_DIR = `C:\WINNT\FW1\R55\boot'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Administrator'
LOGONSERVER = `\\LOGEXPORT'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
Os2LibPath = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `RDP-Tcp#58'
SHARED_LOCAL_PATH = `C:\PROGRA~1\CHECKP~1\CPShared\R55\database'
SUDIR = `C:\WINNT\FW1\R55\sup'
SUROOT = `C:\SUroot'
SystemDrive = `C:'
SystemRoot = `C:\WINNT'
TEMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2'
TMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2'
USERDOMAIN = `LOGEXPORT'
USERNAME = `Administrator'
USERPROFILE = `C:\Documents and Settings\Administrator'
windir = `C:\WINNT'
POSIXLY_CORRECT = `1'
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_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) = `C:'
unix = `/'
fbinary = 0x00000000
fsilent = 0x00000000
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) = `C:\agent\agent'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
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
a: fd N/A N/A
c: hd NTFS 19084Mb 32% CP CS UN PA FC
d: cd N/A N/A
C:\agent\agent / system binmode
. /cygdrive system binmode,cygdrive
Found: .\awk.exe
Found: .\bash.exe
Found: .\cat.exe
Found: .\cp.exe
Not Found: cpp (good!)
Not Found: find
Not Found: gcc
Found: .\gdb.exe
Found: .\grep.exe
Not Found: ld
Found: .\ls.exe
Not Found: make
Found: .\mv.exe
Found: .\rm.exe
Found: .\sed.exe
Not Found: sh
Found: .\tar.exe
7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
841k 2004/03/17 .\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2004/3/17 23:58
991k 2004/07/06 .\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2004/7/6 20:10
22k 2001/12/13 .\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 10:28
37k 2003/08/10 .\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 23:50
21k 2001/06/20 .\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 19:09
63k 2003/04/11 .\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2003/4/11 10:31
7245k 2005/02/15 .\cygwin1-debug.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2005/1/27 15:09
8478k 2005/02/28 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2005/2/26 22:41
Cygwin DLL version info:
DLL version: 1.5.13
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 122
Shared data: 4
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: Sat Feb 26 16:41:15 EST 2005
Snapshot date: 20050226-16:38:13
Shared id: cygwin1S4
7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
841k 2004/03/17 .\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2004/3/17 23:58
991k 2004/07/06 .\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2004/7/6 20:10
22k 2001/12/13 .\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 10:28
37k 2003/08/10 .\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 23:50
21k 2001/06/20 .\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 19:09
63k 2003/04/11 .\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2003/4/11 10:31
7245k 2005/02/15 .\cygwin1-debug.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2005/1/27 15:09
8478k 2005/02/28 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2005/2/26 22:41
Cygwin DLL version info:
DLL version: 1.5.13
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 122
Shared data: 4
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: Sat Feb 26 16:41:15 EST 2005
Snapshot date: 20050226-16:38:13
Shared id: cygwin1S4
446k 2004/01/11 C:\PROGRA~1\CHECKP~1\CPShared\R55\util\cygwin1.dll - os=4.0
img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/4 5:39
Cygwin DLL version info:
DLL version: 2.0.1
DLL epoch: 19
DLL bad signal mask: 19005
API major: 0
API minor: 3
Shared data: 1
DLL identifier: cygwin
Mount registry: 1
Cygnus registry name: Cygnus Solutions
Cygwin registry name: CYGWIN.DLL setup
Program options name: Program Options
Cygwin mount registry name: b15.0
Build date: Thu Dec 3 20:39:18 PST 1998
CVS taggnu-win32-b20-branch:
Shared id: cygwinS1
Cygwin Package Information
No setup information found
Use -h to see help about each section
--
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/