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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; q=dns; s=default; b=CM3EXnU2BcZoSZtQ2e+ALfBA7lzjj PBZDqLsQ8QkwaY8R91VN9GFoDXqXiBjCftY8FXNpJTkl85ZK21tGX272KNPi9PL+ RBlbTaDStuillZwP//y6xV5vCj4sn8RGR3CXFdROqSIedZQ/eCwmjExtIpwszuBw WucJaBTwhRALog= 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:subject:date:message-id:references :in-reply-to:content-type:content-id:content-transfer-encoding :mime-version; s=default; bh=ooD1nMy59bToeE7oSs69LSSBKE8=; b=rEZ I6PkSt//MKI3V3b39E/xcSTHN957UUBPPHdQDGfFTM/341nZMBjVEZOhDW4XaUOm qiUcDQVSRuSlbBgskEUMRE9mZwLz8regZmEwdchVlnUrN4OLRkDqS2VcRfhgrfbb /xiT21CcSoB1J4soVAE9CTvotCV9bFyU2au5c18E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=Communication, H*UA:WOW64, Never, brown X-HELO: NAM02-SN1-obe.outbound.protection.outlook.com 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=RWaLO1V7X7fdAZ4D59Pt0i/hvaDvah4FJ87JQjK9nC8=; b=Qf+rcrHi5S4Y33au3K1C4onara5KFZ7R/1QSsjbrjWdjscENpBHc/BOjLVA4pYqi/zjS3nVaY1T5hRnN/yeStk4/02FhReHaejXaxsINkuqWjFM0BUWEecXBwE3H7wR1qXm4/ydJrE6Ii4hw0eK+mjrE9Pb9UQKCH0XwIsQrarQ= From: Ken Brown To: "cygwin AT cygwin DOT com" Subject: Re: Fork problems on master branch Date: Sun, 23 Jun 2019 17:13:57 +0000 Message-ID: <86194d13-5e61-bec7-f7ca-a96930918d3e@cornell.edu> References: <330c76fd-af22-beb9-08b6-707c73df3b75 AT cornell DOT edu> <87e7b7f9-e1e5-92f2-c036-961dcc8c06f0 AT cornell DOT edu> In-Reply-To: <87e7b7f9-e1e5-92f2-c036-961dcc8c06f0@cornell.edu> user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu; x-ms-oob-tlc-oobclassifiers: OLM:8882; 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: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ksb2 AT cornell DOT edu X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x5NHEcZb002988 On 6/9/2019 12:51 PM, Ken Brown wrote: > On 6/8/2019 3:44 PM, Ken Brown wrote: >> In my testing, I found that running the test program would yield "read: Bad >> address" about 1 out of 10 times. Occasionally I would get "read: Communication >> error on send" instead. Both error messages indicate a problem with the child >> process reading from an fd inherited from the parent. > > Never mind. This seems to be a bug in my recently added FIFO code. I just > never before ran my test many times in a row, so I never saw the error before. For the record, I've just pushed what I think is a fix for this problem. (At least I can't reproduce the problem any more.) 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