From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-06.nifty.com (conssluserg-06.nifty.com [210.131.2.91]) by sourceware.org (Postfix) with ESMTPS id C8A7D384607A for ; Thu, 27 Aug 2020 09:45:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C8A7D384607A Received: from Express5800-S70 (v038192.dynamic.ppp.asahi-net.or.jp [124.155.38.192]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 07R9jTae030270 for ; Thu, 27 Aug 2020 18:45:29 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 07R9jTae030270 X-Nifty-SrcIP: [124.155.38.192] Date: Thu, 27 Aug 2020 18:45:33 +0900 From: Takashi Yano To: cygwin-developers@cygwin.com Subject: Re: minor problem with DEBUGGING build of Cygwin Message-Id: <20200827184533.36f2f744cbcb8dd343b0fc02@nifty.ne.jp> In-Reply-To: <20200827090201.GA3272@calimero.vinschen.de> References: <20200827090201.GA3272@calimero.vinschen.de> 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=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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-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: Thu, 27 Aug 2020 09:45:55 -0000 On Thu, 27 Aug 2020 11:02:01 +0200 Corinna Vinschen wrote: > On Aug 27 01:24, Mark Geisert wrote: > > Hi folks, > > I've built the Cygwin DLL tonight (though not with the absolute latest git > > HEAD) with DEBUGGING set and am seeing output like... > > > > 74972684 [main] -bash 1153 close_handle: CloseHandle(pi->bye<0x0>) failed > > void pty_slave_cleanup(select_record*, select_stuff*):1348, Win32 error 6 > > > > ...displayed for each character I'm typing on the keyboard. This is coming > > from select.cc:1348, which reads "CloseHandle (pi->bye);". Win32 error 6 is > > INVALID_HANDLE_VALUE. > > > > If this is expected, I'll just keep pressing ^L to clean up the display. I > > thought I'd mention it in case it points to something malfunctioning. > > > > ..mark > > Probably a handle glitch in the new pseudo console code. Takashi? I looked into this problem, and found this is a bug introduced in a1c7e920845ab21185f18950be3d84f4312222de. I will submit a patch for this issue. -- Takashi Yano