delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/26/18:40:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FFCA385E011
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1585262373;
bh=+eG7IOAuLTBClutNIrMZ8nMqzTTWozRg2tO0WN7VW+E=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=MlC0B94ke43FVD5CandcAsLoDDoQv8O9aRCw6Xop5ICRVlRZwZg7JzqMvu7Xlp3Ae
NxrJliNuCdmFWmT4LUzVCGPdQnzgkqFkwFBzAI/DcNMF2XNIpraMLU/Z17PZgnhyf4
hqKrPpSxSGmgWOtTRI9Afbi0DsX3PoHduq8uJWuM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BA0E6385E009
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=QgvN0Vj9sXAfEAZb1+rkNNOygRhyZ/KfCd2vUYQl44eg7U5T6ySfQoJ8zcI8idB+H2vDBuXuRy1nv1N2zBuo0B/RvXloIwyabzmeKXg5Ws/jOXRQ51Ly6HVipgn97InJnROViFHXNZW+9vDoBdgZFGvX+dQ0HEaFJJ7QgDohT5/d2D9dfFr/QuHFs81cIAc/iTGaI1Ac17T/prGJGpgOjDMJsGC2Rfm5mqFb/bb9SiFe80YBEdpA+Cs4dCSdMBqVzM8QzgIJKdYi9T8r9abSntw2U1Mqtux238HnIuVYgL1AAmjPpswqFcnjC3k96K4a4C9k8fV6/m32XkDIeuQoAw==
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=xWzfkqEwGKaraUt0ZfsZMZa4mWdwrfnEv8PQRX8o5bs=;
b=Qz9VRq9dSlNcLaXftn9fviQJpftniUwW8Hb0dgq3ZSmMydzZdT9R1DK9siFCVWg4QV+JBqxd1ROdLP/4eCszWoqRJhm4FaFxxz4M1183nHah8Qh8BPDjEiz8MFhzT/qA/R8YwyCYUmnIUAeQSvgvlaoPXDd/0RmOmtKX70przaRDCvUzBh5f0csGa/FblRnvHbDsU3yOgJDgJT7581DPFVllijYK+ZwimeIpD+DL5O3fCSw55l/dNhtYUayR8AinT2qL9uPhHBulRr/SqSuHJS2qK8876MYl7llSSLA/QaxByCBS9DS+gau7MxvJGqBQB5Bl08M77q340qpCjyB6Ig==
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
Subject: Re: Sv: Sv: Named pipes and multiple writers
To: sten DOT kristian DOT ivarsson AT gmail DOT com
References: <1b1401d60296$2769e690$763db3b0$@gmail.com>
<716e2076-f607-454e-2723-937c3959e2a3 AT cornell DOT edu>
<18be01d602ab$0bbfca30$233f5e90$@gmail.com>
<35b43b59-6410-f21f-710c-385e39cbae0b AT cornell DOT edu>
<005201d603ba$2bc8ab20$835a0160$@gmail.com>
Message-ID: <472d1df6-531a-ebd7-4ffa-583a06e270ff@cornell.edu>
Date: Thu, 26 Mar 2020 18:39:25 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
In-Reply-To: <005201d603ba$2bc8ab20$835a0160$@gmail.com>
X-ClientProxiedBy: MN2PR16CA0012.namprd16.prod.outlook.com
(2603:10b6:208:134::25) To DM6PR04MB6075.namprd04.prod.outlook.com
(2603:10b6:5:127::31)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-Originating-IP: [68.175.129.7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 1caff913-4aea-4d78-aecc-08d7d1d68a62
X-MS-TrafficTypeDiagnostic: DM6PR04MB4362:
X-Microsoft-Antispam-PRVS: <DM6PR04MB4362C0BF774C9FAC58256563D8CF0 AT DM6PR04MB4362 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:6430;
X-Forefront-PRVS: 0354B4BED2
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:DM6PR04MB6075.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFTY:;
SFS:(10019020)(4636009)(366004)(346002)(376002)(396003)(39860400002)(136003)(5660300002)(2906002)(16526019)(26005)(956004)(2616005)(4744005)(31696002)(31686004)(66556008)(6486002)(66946007)(66476007)(186003)(6916009)(16576012)(75432002)(86362001)(786003)(478600001)(4326008)(52116002)(8936002)(36756003)(81166006)(81156014)(8676002)(316002)(53546011);
DIR:OUT; SFP:1102;
Received-SPF: None (protection.outlook.com: cornell.edu does not designate
permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: MKb7n+7Avac4HIeriahLG9ruEoqoUPoeYLP0XpKfS6+sYq9S3Cgzg70reIN7rQhXu/uUKlg4jAZMSHNuHW9bfUL64APQYVFtz3WDxQ2rKNiYWwadCcK5l1yW4LqM9r9YfuVFyjCBfxv9EfgnZKeNdA7f0xHKY/gsfRvbDX+fvR+U/PA7HSgtH9zH7MVCwEbxq+XtCQRj4QSZBfSKZIISeLy7zvIt6wN8clXygwZNOGZwlp+nJutILN0tOS2H0U5jK0MlWnS6Z7S7Uec/z1uMFbqyZid7LoIsqURonHJgkjcY880gulOPv3SL3IkTUF5HSq2jrY/oIzUNY+TSvhYJymsq4eTnSNqPPCDqCirxIfUV1qQWg/Xo6cg9biWCTIwpAWkrfv02WYIuDvWjr3ihJgMGdlMCvlklPGkVw6LWYtt8m1BLvABKPANR6denalNK
X-MS-Exchange-AntiSpam-MessageData: r0QMNIioFfEcFegpOvbFTrzhSJvFmycx3LpwKIW9r/oYOGPOY0mEtcvdXn3kli19kYzhJjkmyqvZaCoHGPwOu+FLuUeNGPGq9tAiC629FKf/GxfZDzGruxAdB7KCu6inmkzS6Kl0uQR353gqQI8Mfw==
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 1caff913-4aea-4d78-aecc-08d7d1d68a62
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2020 22:39:27.3133 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 0KgVgFFVe9nHp0cEJJN0k1J9/MNkSTDQx70EMHSIvCSp1iHxoDStQS8e8DK51Nx1PJEMoA7Cet53WBEA4aw2Eg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4362
X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Cc: "'cygwin'" <cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 3/26/2020 6:01 PM, sten DOT kristian DOT ivarsson AT gmail DOT com wrote:
> The ENIXIO occurs when parallel child-processes simultaneously using
> O_NONBLOCK opening the descriptor.

This is consistent with my guess that the error is generated by 
fhandler_fifo::wait.  I have a feeling that read_ready should have been created 
as a manual-reset event, and that more care is needed to make sure it's set when 
it should be.

> I could provide a code-snippet
> to reproduce it if wanted ?

Yes, please!

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

- Raw text -


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