minor problem with DEBUGGING build of Cygwin

Takashi Yano takashi.yano@nifty.ne.jp
Thu Aug 27 09:45:33 GMT 2020


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 <takashi.yano@nifty.ne.jp>


More information about the Cygwin-developers mailing list