delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=DEjm5H2XaqOhkWGXCFhOvjcm2dQoP1Hei0xNpQurC3PMjBNCdJrpj | |
iidaGRrbPRrPKV9NbYHEWaGSAHmoLEUbCt+5PSTpghiv42Z6g+c7p04zJ3+losQC | |
F57vdzyjmTXRPp9+fZrkhFadMp80lub5nQVT3sg3dT1/R3+kwtxQPg= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=7Ofg+EsvHvFexda6fybtHfBG1Yw=; b=ZmTd3VvkMoNvX165Ow6JmsXIgFFM | |
9KKHOZoJuIt+2H7067FMTkKLMRWTcyT/dQ8daWvPkxQOZUv07Y1mwg2Xljra8ciS | |
EOZ9bF3drjRUlkjR4EUo+9Yw/oUrVBI47f/ESyZV6DFglHcBSzZyxZhWttUTuN9V | |
1rXWr6WV5kYe+2A= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-105.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= |
X-HELO: | mout.kundenserver.de |
Date: | Mon, 29 Jul 2019 15:48:50 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Regression (last snapshot) |
Message-ID: | <20190729134850.GP11632@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20190722152016 DOT GE21169 AT calimero DOT vinschen DOT de> <20190722155340 DOT GF21169 AT calimero DOT vinschen DOT de> <20190722164509 DOT GG21169 AT calimero DOT vinschen DOT de> <eb8007691b20df0eb8032ca3d2fa445f AT smtp-cloud8 DOT xs4all DOT net> <b3b04db5-7f03-8281-f376-6cd10207ec01 AT cornell DOT edu> <4b59209a91e8384ec000e2724696791c AT smtp-cloud7 DOT xs4all DOT net> <935d8ce5-fd5c-3010-4664-bb2dc9b7ca2f AT cornell DOT edu> <20190729084552 DOT GL11632 AT calimero DOT vinschen DOT de> <eea273ca-f190-c91a-7892-9407bfcf4326 AT cornell DOT edu> <0166ad54-5417-054c-b4e3-b2a97cad8ad0 AT cornell DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <0166ad54-5417-054c-b4e3-b2a97cad8ad0@cornell.edu> |
User-Agent: | Mutt/1.11.3 (2019-02-01) |
--yklP1rR72f9kjNtc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 29 13:35, Ken Brown wrote: > On 7/29/2019 9:18 AM, Ken Brown wrote: > > On 7/29/2019 4:45 AM, Corinna Vinschen wrote: > >> Did you try to reproduce this under > >> strace? > >=20 > > Yes, but there I get an error (even under mintty) for a different reaso= n: > >=20 > > $ strace -o trace.out ls -lL <(grep bash .bashrc) > > ls: cannot access '/dev/fd/63': No such file or directory > >=20 > > The strace output shows a call to fhandler_process::exists on /proc/450= 36/fd/63; > > here 45036 is the PID of 'ls'. And then I see an EBADF error. But I t= hink > > what's happening here might be that bash is parsing '<(grep bash .bashr= c)' too > > soon, so that '/dev/fd/63' isn't related to the 'ls' command. > >=20 > > By the way, I've just tried a different experiment, in which I simplify= the ls > > command to 'ls <(grep bash .bashrc)'. When I run this under xterm, I g= et the > > broken pipe error 98% of the time or more. But it's fine under mintty. >=20 > I think I may have more-or-less figured out what's going on. The "broken= pipe"=20 > error simply means that ls has exited before grep has finished writing. = So grep=20 > is writing to a pipe that has no readers. If I replace 'ls' by 'cat', I = don't=20 > get any errors. Yeah, but it's mainly because this got started wrongly. bash needs to run under strace as well, otherwise you don't have the connection to the process actually creating the fifo. My previous reply wasn't very clear on that, sorry. Corinna --=20 Corinna Vinschen Cygwin Maintainer --yklP1rR72f9kjNtc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl0++UIACgkQ9TYGna5E T6D4wg/9EmjAR+BqeyumRudW55WcQhrl1RdopPD8/I72d9VQS+3Jd9MLdrj7EhES rv9VrJ0ASxr2h6t+fpiQUmTEe7IpQKkHYLCBSLdPbnE0LnhCxjX+2UjFfGbNx8ET wquQs2tNZcxcvoWjJHqL1JUu9NqATeUB8lSaXy+GwZp4KZgkyt5Pmy5FuSOqnHGQ Ay0HWusns/6i28KnTFdivaRRibW40Dt7mEoHoyFaohPJceSywdEfNkmammpQdPYR SzX63ZDmqLdL9D24sJy6BCwcgvA75W/2ysUv6PulmGYUn6gDMhvVgidmOHwuYjDW WI3v2ig8UlM/MGkMlp1oW2JQfhch0BHR+UnOIkYDI+/2cssowAUcJU3HL2Al69qf efqHSu7U3e7Pmb8sPrtb35CaQVjOdXb6+BDGqlWUiyFIgk/T9/mGmfm1PKk6ZsX2 qHU+Uq5kcgqgtvbCydioTaax+T5EuNtpDzXSZrDsuZQR2LMXF9S38WKU8XC5ZYbX oTrwGiiSYRD9iBRzK+SJea+UuE0TjX0HOnhxJanqte1xNFr1A/2xg6JbwH/x76j5 GJ9ey2tlPjGao5ay0bLEulbZzQGhZySYtnp26MzreQtggCKUwOaZWecLjxq5pTm4 9t6umBTohqUFEd5Tf15H7qh+X8Fe+SkN6Yr0d5q1OjqbPL0FzCQ= =qtVM -----END PGP SIGNATURE----- --yklP1rR72f9kjNtc--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |