2001-06-28 CVS ash Background Win32 Process Hang Problem

Jason Tishler Jason.Tishler@dothill.com
Tue Jul 10 13:28:00 GMT 2001

I have been using a Cygwin DLL that I built from CVS on 2001-06-28.
With this DLL, I discovered that ash will hang waiting for process
termination even when a Win32 program is spawned in background.

See the attachments for two small test cases.  hang.sh exhibits the
problem while nohang.sh does not.  Also, note that the problem does
not occur regardless of the shell used, if the background process is a
Cygwin program.

The problem does not occur in 1.3.2 -- so it has been introduced since
that release.  I did not try the latest because reading cygwin-cvs
seemed to indicate that most of the changes since 2001-06-28 have been
in setup.exe.  Additionally, I'm reluctant to modify my sandbox because
I currently trying to help Rob track down a pthreads problem.  Anyway,
my WAG is that this problem is still in the latest CVS.

Anyone have any ideas as to what is causing the problem?


Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hang.sh
Type: text/x-shellscript
Size: 44 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20010710/bcb90c75/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nohang.sh
Type: text/x-shellscript
Size: 46 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20010710/bcb90c75/attachment-0001.bin>

More information about the Cygwin-developers mailing list