B20.1: piping from one cygwin app to another one in cmd.exe command line

Egor Duda deo@logos-m.ru
Sun Jan 31 23:52:00 GMT 1999


Hi!

  I've encountered a problem running the following command from cmd.exe:

objdump --syms sample.o | less

  Sometimes (rather frequently) the session freezes.
  I've looked into sources and strace files and (as it seems to me)
found the reason. "objdump" allocates master tty, creates all needed
events -- Cygwin.tty0.inuse, Cygwin.tty0.output.restart,
Cygwin.tty0.output.done and so on along with appropriate threads. Then
second application starts, found master tty, open existing events (not
starting any threads) and then first application finishes, destroing
all those threads. So, "less" posts "ioctl_request" event, and freezes
waiting for "ioctl_done" event, but nobody responds. Seems that similar
problem has been reported by juolja@utu.fi in the message from 19th
nov 1998. I understand that it's more likely to be feature than bug,
but are there any plans to fix it?

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list