Mail Archives: cygwin-developers/1998/02/20/02:03:21
From: cgf AT bbc DOT com (Christopher Faylor)
Date: Fri, 20 Feb 1998 04:34:45 GMT
I run with CYGWIN32=tty set and lately (the last several days) I have
been noticing that when I exit 'zsh' it will occasionally hang in a
manner that is symptomatic of the tty handler thinking that there are
still open fd's on the tty. There is code that is called by do_exit
which closes down the tty thread if it was created in this process but
this the function will block waiting for the tty use count to == 0. I
think that something is incrementing the tty use count and not
subsequently decrementing it.
I could imagine that this might happen if you fork/exec and/or spawn a
process which is not a cygwin32 process. It might conceivably happen
if you fork/exec and/or spawn a cygwin32 process which uses an older
DLL. Is it possible that one of those situations is occurring?
Ian
- Raw text -