Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <00F8D6E8AB0DD3118F1A006008186C9607C7CE@server1.axonet.com.au> From: Andrew Dalgleish To: "'cygwin-developers AT sourceware DOT cygnus DOT com'" Subject: RE: snapshot-991207 Date: Fri, 10 Dec 1999 14:54:37 +1100 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain; charset="iso-8859-1" > -----Original Message----- > From: Chris Faylor [SMTP:cgf AT cygnus DOT com] > Sent: Friday, December 10, 1999 13:20 > To: Andrew Dalgleish > Cc: 'cygwin-developers AT sourceware DOT cygnus DOT com' > Subject: Re: snapshot-991207 > > On Fri, Dec 10, 1999 at 12:58:02PM +1100, Andrew Dalgleish wrote: > > > >> Nope. I've duplicated it. I'll see what the problem is. It > doesn't > >> seem to be thread-safe related and it probably isn't even a problem > >> with > >> the new signal code. It looks like my new mutex-like object is not > as > >> robust as I thought. > >> > >[Andrew Dalgleish] > > > >This might be related - "echo $(pwd)" outputs just a newline. > >I first observed this in winsup-19991205, but I have not even begun > to > >look. > >This was built on NT4sp5 + cygwin B20.1 + Mumit's gcc 2.95 + > >winsup-19991204. > > I need more details than this. [Andrew Dalgleish] Sorry. > What shell are you using? [Andrew Dalgleish] The shell is bash 2.02 from cygwin b20.1, copied to /bin/sh.exe. > > Does pwd actually > have a value? > [Andrew Dalgleish] What do you mean? $(pwd) is a command in a sub-shell, not a variable. Further info: Shell built-in commands eg $(pwd) never work. External commands eg $(dirname /foo/bar) work most times, but hang maybe 1 time in 20. A ^C brings back the prompt every time (but one). The cygcheck output below is from running winsup-19991207 (built on NT4sp5 + cygwin B20.1 + Mumit's gcc 2.95 + winsup-19991204) Regards, Andrew Dalgleish Cygnus Win95/NT Configuration Diagnostics Current System Time: Fri Dec 10 14:40:13 1999 WinNT Ver 4.0 build 1381 Service Pack 5 Path: /usr/local/Insight/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /cygnus/Cygwin-b20/H-i586-cygwin32/bin /usr/X11R6.4/bin /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT /cygdrive/c/Program Files/Perforce /cygdrive/c/DOS /home/andrewd SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = ` tty notitle nontsec ntea' HOME = `/home/andrewd' MAKE_MODE = `unix' PWD = `/home/andrewd' USER = `andrewd' !C: = `C:\' COMPUTERNAME = `A5-NT' COMSPEC = `C:\WINNT\system32\cmd.exe' DOSPATH = `C:\WINNT\system32;C:\WINNT;C:\Program Files\Perforce;C:\DOS' HOMEDRIVE = `C:' HOMEPATH = `\' HOSTNAME = `A5-NT' HOSTTYPE = `i586' LOGONSERVER = `\\SERVER1' MACHTYPE = `i586-pc-cygwin32' NUMBER_OF_PROCESSORS = `1' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' OSTYPE = `cygwin32' PAGER = `less' PATHEXT = `.COM;.EXE;.BAT;.CMD;.SH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0502' PROMPT = `$P$G' SHELL = `/bin/sh' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `C:\TEMP' TERM = `linux' TERMCAP = `/etc/termcap' TMP = `C:\TEMP' TZ = `EST-11EDT' USERDOMAIN = `AXONOZ' USERNAME = `andrewd' USERPROFILE = `C:\WINNT\Profiles\andrewd' WINDIR = `C:\WINNT' _ = `/cygnus/Cygwin-b20/H-i586-cygwin32/bin/cygcheck' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 8056Mb 87% CP CS UN PA FC d: hd FAT32 7022Mb 93% CP UN e: cd CDFS 288Mb 100% CS UN IS2000 g: hd NTFS 8056Mb 87% CP CS UN PA FC k: hd NTFS 8056Mb 87% CP CS UN PA FC s: net NTFS 6149Mb 63% CP CS UN PA FC y: hd FAT32 7022Mb 93% CP UN \\r3d2\andrewd\public_html\cygwin /dl user binmode c:\cygwin\root / system textmode d:\cygwin\home /home system textmode G:\AxonDev /AxonDev user textmode G:\pCLAMP7 /pCLAMP7 user textmode Found: c:\cygwin\root\bin\bash.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\bash.exe Warning: c:\cygwin\root\bin\bash.exe hides c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\bash.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cat.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cpp.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\find.exe Found: c:\DOS\find.exe Warning: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\find.exe hides c:\DOS\find.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\gcc.exe Found: c:\cygwin\root\usr\local\Insight\bin\gdb.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\gdb.exe Warning: c:\cygwin\root\usr\local\Insight\bin\gdb.exe hides c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\gdb.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\ld.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\ls.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\make.exe Found: c:\cygwin\root\bin\sh.exe Found: c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\sh.exe Warning: c:\cygwin\root\bin\sh.exe hides c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\sh.exe 83k 1999/07/29 c:\cygwin\root\usr\local\Insight\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=1999/7/30 3:49 35k 1999/07/29 c:\cygwin\root\usr\local\Insight\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=1999/7/30 3:49 396k 1999/07/29 c:\cygwin\root\usr\local\Insight\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=1999/7/30 3:47 5k 1999/07/29 c:\cygwin\root\usr\local\Insight\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 1999/07/29 c:\cygwin\root\usr\local\Insight\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=1999/7/30 3:47 637k 1999/07/29 c:\cygwin\root\usr\local\Insight\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=1999/7/30 3:49 371k 1998/12/01 c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=1998/12/1 19:25 5k 1998/12/01 c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 1998/12/01 c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=1998/12/1 19:25 600k 1998/12/01 c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=1998/12/1 19:28 4347k 1999/12/10 c:\cygwin\root\cygnus\Cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=1999/12/10 12:57 Use -h to see help about each section