X-Recipient: archive-cygwin@delorie.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:from:to:cc:subject:date:message-id:references
	:in-reply-to:content-type:content-id:content-transfer-encoding
	:mime-version; q=dns; s=default; b=nPc6Tm6kGOlyiCI5P1J2MfsPJbGjh
	OJ5VaL8xJ48GjHt9mAD9xWFETqIleB0c5ryfoG5Jhu8SKrtD9lOx3TiHfMMy80tz
	SV7HatFsSRnNOfzgr/VHdm2ICG7WDACQj56buLgxrQlhUqkZfTOt/awejPen7qzL
	BCqz1sc2tLseBE=
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:from:to:cc:subject:date:message-id:references
	:in-reply-to:content-type:content-id:content-transfer-encoding
	:mime-version; s=default; bh=EfeojqGRSbD8LPNIOEZyEU1JSCY=; b=HnZ
	q+Zt6xF3yTdCFE2+cLAbwVRWLU49sQv06gggiKh2/AjXtj60br8MHQkAADTu41u9
	rT1s/0u9yOfI5WNwgsNRhB0IbG6IVbimRBFIzsPsNYRhFnf1piCgMXgyhUM9OGOc
	pgSiC7SAgZVxFWhZ3eheTYEHCK0JUciikOZVDb3E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-8.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_NONE,SEM_URI,SEM_URIRED,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: NAM03-BY2-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WJs0H2AF9RPNiM5e7KErwqvKtBmUiF300XPODkURftYLjkUXq1LENl99UIdG6MMPnG0WEYdjtRbsJJvmrtuZ73SRgGRejNuReiwTh8mSRDWG2BAV9g9UZYiIgV/IpOsdX+/Jbr+K1q1/P+Tgef+XAC1p7USNRSTRkIVJrUNR+0ACrWeIpWPWAXZTzfMmtjrSqhFswqk/nIBsb2gX+P401RcngarzloG8YGjwgctNZTKAASRxaekg7zItljbmEtdFx57qlwH4wr5fz0sYUleQNta8tmekO45eycXWtavBKXO/GCPGVGJVhg1S9CHm4TGAZ50Yu+aVJ1xo3t44FlOomg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K4lK+vXgPuWbv6VVX7a1J2hUAkiTer++PPFxu3aPimg=; b=nsziQK7DDNAomSMXQEmzqtgGoIwo4ogufxcXGeZ3VqL5cndKepW7KPAm9clx5D+bTuNN6FzJbpWhBBbrF7tTQc9/eLeVbsKH+MEDT6p27j8P5rA6pV1i0L1mfs8tHmHm6eS/5UibUQMkhQ9yRXYTi4Bh+0KPv7kK8U6V/6g4oxpx1TCAaaXjfWHMLpoS4+GmhpsdDSi+MmNVbW5TZv8IX8IcpIlenzly9hgUzemGRto3RVsDgwPwzhaqoLEKOr7fy1tKm6Mlg34bMZ9JhOBwtG/9ODEZnvhs50kTVoSGHTNNG+8OK3o8N6mVOTf6ShEx1nnzxY89vxHksNkJ2POYVQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cornell.edu;dmarc=pass action=none header.from=cornell.edu;dkim=pass header.d=cornell.edu;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K4lK+vXgPuWbv6VVX7a1J2hUAkiTer++PPFxu3aPimg=; b=M5tcCoerdJYJUyAvCfxc6TC7xbBeCw6VGedK8CKPb3sZ8dNZ6sW7F03ohSr0mZyjEo0VULluyJP0NExfY5KlwrH9p/EfS35yNfkYwuvvGeVBmfEoPbOOYCpHgV2ocLajPu+OaNnyYc0ebEIte2Fr6mLK8F5Z1HYVtAfqfVPEPnE=
From: Ken Brown <kbrown@cornell.edu>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
CC: "Erik M. Bray" <erik.m.bray@gmail.com>
Subject: Re: Regression (last snapshot)
Date: Mon, 22 Jul 2019 13:44:34 +0000
Message-ID: <265a2749-95b6-38aa-a191-7913bfcc98b6@cornell.edu>
References: <8f6a87faa9c8130241c026889a01d763@xs4all.nl> <5414d0e1-79d9-cab7-b1bd-4761265bf8bd@cornell.edu>
In-Reply-To: <5414d0e1-79d9-cab7-b1bd-4761265bf8bd@cornell.edu>
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu;
x-ms-oob-tlc-oobclassifiers: OLM:983;
received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
Content-Type: text/plain; charset="utf-8"
Content-ID: <B9F8CC08A012764CBA0B1C991237AD6D@namprd04.prod.outlook.com>
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ksb2@cornell.edu
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x6MDjDfW011366

On 7/22/2019 8:23 AM, Ken Brown wrote:
> On 7/20/2019 6:55 PM, Houder wrote:
>> 64-@@ uname -a
>> CYGWIN_NT-6.1 Seven 3.1.0s(0.339/5/3) 2019-07-12 15:28 x86_64 Cygwin
>>
>> 64-@@ ls -lL <(grep bash .bashrc)
>> ls: /dev/fd/63: No such file or directory
>> pr-------- 1 Henri None 0 Jul 21 00:41 /dev/fd/63
> 
> Thanks for the report.  This is probably caused by my new FIFO code.  I'm
> looking into it.

Actually, a bisection shows that the regression is due to the following commit:

commit 2607639992f6600135532831c8357c10cb248821
Author: Erik M. Bray <erik.m.bray@gmail.com>
Date:   Wed Apr 10 17:05:22 2019 +0200

     Improve error handling in /proc/[pid]/ virtual files.

     * Changes error handling to allow /proc/[pid]/ virtual files to be
       empty in some cases (in this case the file's formatter should return
       -1 upon error, not 0).

     * Better error handling of /proc/[pid]/stat for zombie processes:
       previously trying to open this file on zombie processes resulted
       in an EINVAL being returned by open().  Now the file can be read,
       and fields that can no longer be read are just zeroed.

     * Similarly for /proc/[pid]/statm for zombie processes.

     * Similarly for /proc/[pid]/maps for zombie processes (in this case the
       file can be read but is zero-length, which is consistent with observed
       behavior on Linux.


Erik, can you take a look?

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


