delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/01/12:51:55

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sun, 1 Aug 1999 12:48:04 -0400
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: cat < /dev/null fail.
Message-ID: <19990801124804.C780@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
References: <s1soggtfh1i DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <s1soggtfh1i.fsf@jaist.ac.jp>; from Kazuhiro Fujieda on Sat, Jul 31, 1999 at 03:51:37PM +0900

This should be fixed in tonight's snapshot.  Thanks for reporting it.
This is a manifestation of a problem that has been plaguing me since
April.  This easily reproducible test case allowed me to track down
a problem which was causing random handles to be closed.

I did notice while debugging this that strace -f hangs on Windows 95.
If anyone has any insight into why, I'd be interested in hearing about
it.

cgf

On Sat, Jul 31, 1999 at 03:51:37PM +0900, Kazuhiro Fujieda wrote:
>Since the 199-Jul-17 snapshot, commands with redirection of the
>standard input, such as `cat < /dev/null' have failed in the
>notty mode on Win9x.
>
>$ cat < /dev/null
>    0       0 [main] C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cat.exe 1002 spawn_guts: wait failed: nwait 3, pid 1002, winpid -231673, Win32 error 6
>    0    4921 [main] cat 1002 spawn_guts: waitbuf[0] 0x1F 0
>20653   25574 [main] cat 1002 spawn_guts: waitbuf[1] 0x12 = 0
>$
>
>I can't collect a strace log, because the strace command fails
>as the following.
>
>$ strace -o /tmp/strace.log cat < /dev/nul
>    0       0 [main] C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\strace.exe 1005 spawn_guts: wait failed: nwait 3, pid 1005, winpid -232277, Win32 error 6
>    0    5059 [main] strace 1005 spawn_guts: waitbuf[0] 0x1F 0

- Raw text -


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