www.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=u6knSHlIm6FDapGMH6CDYn5TMLbIDA9d/hYvc7cCOSpMK8+eSdmJ3 | |
mnSbAnH2KG2ybKsW1NqQwLJuVGZy1Uo6D7qFcofjaS279J4b2X+5DFUtf+xzuN+S | |
h7Efs4405RHv3XKZPxfkIUAl96RrmxESDlBx4aLxJRnKJ7ISNOfpyo= | |
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=TMD7Q4cNV7fcnWR3tptGY/hSa1g=; b=Ac4AkvR5uXhwkoaYip3oGTuRiZPy | |
Gf6Ku+KxwfDy6+Am44QZZvzPTPvEfi0bgAImDaxFXa2jEqfpFPFr/E+Ari9H3O0N | |
rO+KupfgucfGv2nBTWWQixaIHu1u7M8flBCDipIIj6jpzRaOmF04X4aCV2+kQf92 | |
kW0jIfDkPvchpAQ= | |
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.3 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 17:23:27 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Regression (last snapshot) |
Message-ID: | <20190729152327.GQ11632@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <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> <20190729134700 DOT GO11632 AT calimero DOT vinschen DOT de> <ced2750a-0a52-1396-b6c1-f4228116bde7 AT cornell DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <ced2750a-0a52-1396-b6c1-f4228116bde7@cornell.edu> |
User-Agent: | Mutt/1.11.3 (2019-02-01) |
--qi3SIpffvxS/TM8d Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 29 14:26, Ken Brown wrote: > On 7/29/2019 9:47 AM, Corinna Vinschen wrote: > > On Jul 29 13:18, Ken Brown wrote: > >> $ strace -o trace.out ls -lL <(grep bash .bashrc) > >> ls: cannot access '/dev/fd/63': No such file or directory > >=20 > > No, please run bash: > >=20 > > strace -o trace.out bash -c 'ls -lL <(grep bash .bashrc)' > >=20 > > Otherwise there's no process actually creating the pipe, given the <() > > expression is a bash expression. >=20 > Yes, of course. I should have realized this since it's exactly what I > did under gdb. Anyway, the result is the same as it was under gdb: If > I run the command under strace, I don't see the broken pipe error. >=20 > Is it possible that debugging causes an fd to the read end of the pipe > to stay open longer, thereby preventing the error? The fact that you observe it sporadically points to a race condition. Debugging serializes stuff usually running in parallel, potentially eliminating the race. Corinna --=20 Corinna Vinschen Cygwin Maintainer --qi3SIpffvxS/TM8d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl0/D28ACgkQ9TYGna5E T6Ap4g/+Mail08C+UrOpiH87bZ2h9gF2hnepvN1pTTCpd+SPME5sW+XGnLl9JVyU /vGJEscpI7H+hy44ERTh9P8jbCy0VAXSJSnOFKQCw3q5KT5EHeb8E9Gwp8b5lNDz gvsP59PPwvC5L6vopRMqeg25BWpLl4Jc44GuRdkcYc9ucaGlkyOdIe1e/ZnKC/Ct 09ue8M+J2Hna08Mbc4n/OZ5K3T9vhYs3d+SP7sVhzSAIpwX0bizMBP+PpAm/5K6x HK11TWjY610rqP10zb0QdWYQ6PZFT+6tNW2CQzCkDo19oKY2AOnMVpkmZu77Xu8L Y3bKoBZ3f0MvpeOjloCwPqLTgnHMEkm8S8umXj+1z7sGDfUNMmP+Tg4ARx1Q2QMV s5qkW9dLGD0xLaKeQnTJPSEnQVJeas4IK4vOMvHyH2JArxOnBEjQTyE5POk2K0XU 51nYzVb6M/TKuQzTDIWBCcIGfDUioa1+ktAz+WlZGR4gflfUfZB7dTX5qGq9xUqp z7greYm3tB8+f4ks/mdMzq58t0gDCdez4ip0a6ip5F85+IvCs648ZTuGjoWqOvBh RcnOb7JXCkV5YonOCnyiq7e99iO4ZN5ygTWrUN+ngKpeUWWa3O1BSukflGxNDMiL qQ28pMe9tdwln8QeYq2GyG33z2G6dxKy1MmEObIS1Grqo5kdTDo= =KOsI -----END PGP SIGNATURE----- --qi3SIpffvxS/TM8d--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |