From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by sourceware.org (Postfix) with ESMTPS id C57493858D39 for ; Fri, 8 Oct 2021 16:31:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C57493858D39 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from Express5800-S70 (z221123.dynamic.ppp.asahi-net.or.jp [110.4.221.123]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 198GVaao027560 for ; Sat, 9 Oct 2021 01:31:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 198GVaao027560 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1633710697; bh=1AByXXl/K1uljCqgdnRRjdXlrH79UoO/np8X4su9Yf8=; h=Date:From:To:Subject:In-Reply-To:References:From; b=JkcqXpUfmSTNkSw4pEh9o9Q9XUEG41r9gojSa2cWoMgUfjObxhH85+CHLqUex4ooc 05gcoNPelmAGZCfCE3TucOd5/e4B4fc+OQ4JpCxm3LFu5NeX+vJjC2NfCe8cG7xwdF ZIzTRTFFGL/uL3NkTnVUDJvCeJh3RrDtBJCWCbQ/8fROa6C66gFktpDMRMkO9++ASn p+Su7bDgixaMON7UawdFACH/i9gle1jO0j3F0YKk6pMR8QVThYkjDyyPtUxY+ZKXCT TzhaP+AEVxTx19MIrn/ckkhgtpt8yIng5Fut1EEmbwEJua7KOFsMMl0I+0AxA1yA2F tSyoYPkPMR5cg== X-Nifty-SrcIP: [110.4.221.123] Date: Sat, 9 Oct 2021 01:31:41 +0900 From: Takashi Yano To: cygwin-developers@cygwin.com Subject: Re: Invalid handle error in fhandler_pty_master::close Message-Id: <20211009013141.857ed19f852f7c3f0836fd7b@nifty.ne.jp> In-Reply-To: References: <20211008121636.27eeb53d34a75db1b70ba3ec@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2021 16:32:01 -0000 On Fri, 8 Oct 2021 12:15:45 -0400 Ken Brown wrote: > Hi Takashi, > > On 10/7/2021 11:16 PM, Takashi Yano wrote: > > On Thu, 7 Oct 2021 10:30:32 -0400 > > Ken Brown wrote: > >> I'm occasionally seeing what appears to be an Invalid Handle error in > >> fhandler_pty_master::close at fhandler_tty.cc:2044. > >> > >> CloseHandle (attach_mutex); > > > > Could you please check if the patch attached fixes the issue? > > Yes. If you could send it in git-format-patch form and document it in the 3.3.0 > release notes, I'll push it. Thanks for testing. I have submitted the patch to cygwin-patches@cygwin.com. -- Takashi Yano