www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/06/18:34:33

From: deo AT logos-m DOT ru (Egor Duda)
Subject: B20.1: piping from one cygwin app to another one in cmd.exe command line
6 Jan 1999 18:34:33 -0800 :
Message-ID: <10958.990106.cygnus.gnu-win32@logos-m.ru>
Reply-To: Egor Duda <deo AT logos-m DOT ru>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT utu DOT 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 AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019