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=I4ZI9o+Iv8z2z8DBO5FROyPGLBQkZjQnbeyKKkZDAhGXq8fl/G9Rx | |
c3wQHlltNL7M4gf1C2IZ7lmZ3wcHRs4mOOJVB2g0Syk159M7Mm6buI7HtPu/7ROh | |
22uhG9K8bjnwrPtmhYXqZHufPLfqcOHxYhbtvh6H3Kf9fQPDx+9NHc= | |
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=8/SDgCfi8P0LRyFJWzNvHJdbUFk=; b=RSSZ4d3cvoG/mLx5NxXs/hNi45o2 | |
Zv52Roc3BcXkFOfRhACZXtrLoVvUq3+0axyBa5Q44miP16nljcmdYT60mFD9P3zS | |
Z3WaiPj4G3kd63uVM5mwmhvd0n6O83O0DRrr3qvIkycIWIiX9XKsuKa/0Vy4qVdg | |
vrP0B714jgb2vOA= | |
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=-104.4 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=blake, Blake |
X-HELO: | mout.kundenserver.de |
Date: | Thu, 1 Aug 2019 18:04:40 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Regression (last snapshot) |
Message-ID: | <20190801160440.GC11632@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20190729134700 DOT GO11632 AT calimero DOT vinschen DOT de> <ced2750a-0a52-1396-b6c1-f4228116bde7 AT cornell DOT edu> <20190729152327 DOT GQ11632 AT calimero DOT vinschen DOT de> <20190729154049 DOT GR11632 AT calimero DOT vinschen DOT de> <c5d01965-80b9-cece-54d2-f7462f84c0a2 AT cornell DOT edu> <8e57d4da-722d-1b9a-bd28-5f96ed182f6a AT cornell DOT edu> <0a09679b-1a0f-613b-04c8-1a63da8a00c2 AT cornell DOT edu> <33aead20-540c-ee3b-0d38-ff053fbac040 AT dronecode DOT org DOT uk> <12269538-c387-1f1e-ab5a-b36b60d09937 AT cornell DOT edu> <a61264b5-80da-52fc-7093-8e8d9a8ace33 AT redhat DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <a61264b5-80da-52fc-7093-8e8d9a8ace33@redhat.com> |
User-Agent: | Mutt/1.11.3 (2019-02-01) |
--G9m07da55tKJni3T Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 1 10:38, Eric Blake wrote: > On 8/1/19 10:30 AM, Ken Brown wrote: >=20 > >>> OK, when xwin-xdg-menu launches an application, it creates two pipes= =20 > >>> and sets > >>> the application's stdout and stderr to the write ends of those pipes.= =20=20 >=20 > > Well, I can't be sure that the pipes are responsible. It's just that= =20 > > the existence of the pipes is the only difference I could spot between= =20 > > an ordinary terminal and a terminal started from xwin-xdg-menu. > >=20 > > Is it possible that the logging somehow slows things down or changes th= e=20 > > buffering, so that the grep process takes longer to complete? This=20 > > would be consistent with my theory that the broken pipe error doesn't= =20 > > really represent a bug, but rather it reflects the fact that ls exits= =20 > > before grep has finished writing. >=20 > Could it be a case of xwin-xdg-menu calling signal(SIGPIPE, SIG_IGN) or > similar, and accidentally letting grep inherit the ignored SIGPIPE? execve doesn't propagate the signal dispositions, they get reset to default. Corinna --=20 Corinna Vinschen Cygwin Maintainer --G9m07da55tKJni3T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1DDZgACgkQ9TYGna5E T6AiGhAAog1uqIDFvAwmJIfA/1DdaqsTtoJ44jLi9AvRMBaW7qH5CBxu2Lzo7RnF Hfxldf50oiV7rszV5gKIoAZ5lyzax+XbT4DwJNgRfFep0jCWxQ1L+K1XvV5R52T6 V1mShyG0yJ5PwBb9LE5roE9Wf1j2nCtWCVyW6gekmZ6cQriOqksCt2wSMRTcjcT4 3uxw/X2IJhEy1fsSl9Lt8yz83S4MsbSTosYv827NhkB2pm2xHIbvhz3RoBd5Edao 9etWQsEmoPnYsMBtsshqQHsDN8tvrWuqKZjdCYa0znrDhRf/XdfUIOJj4cdDFEG4 VyNT5O+ttj8l11Y33gte1Bg1tX22wrILbPv7BI7nWPLdL4JcUr4M7KCMy7jUtaw8 Rx/QliMISWg7MnpIQ/sqfomkpR+MSLurRhVEwJgyU+SycLda8uf5viTTzVce6pOl KzCGvwgHcouDpoeOMzzttzDw4glH4hVpVDr9gSE25L8nsbfi8o8pkqYeEW30T3Xr vS/x9khqv3b1vtuyg+SnboNR42Dj6+Wn6VZp01oKaFV0oZ6Flgs82K3fhusrSleq pbPJHGs3aSxf8reah/WTnXVE+iZDfAarfH5NEkS/vd+XgKC80kW/XRRZEdpS5g+k bi+v0gqo0tUHyykIsEFPA7OUMafvVBMV26RtiPrLP+NioEkHKDo= =RDnX -----END PGP SIGNATURE----- --G9m07da55tKJni3T--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |