public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* minor problem with DEBUGGING build of Cygwin
@ 2020-08-27  8:24 Mark Geisert
  2020-08-27  9:02 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Geisert @ 2020-08-27  8:24 UTC (permalink / raw)
  To: cygwin-developers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: minor problem with DEBUGGING build of Cygwin
  2020-08-27  8:24 minor problem with DEBUGGING build of Cygwin Mark Geisert
@ 2020-08-27  9:02 ` Corinna Vinschen
  2020-08-27  9:45   ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2020-08-27  9:02 UTC (permalink / raw)
  To: cygwin-developers

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?


Corinna

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: minor problem with DEBUGGING build of Cygwin
  2020-08-27  9:02 ` Corinna Vinschen
@ 2020-08-27  9:45   ` Takashi Yano
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Yano @ 2020-08-27  9:45 UTC (permalink / raw)
  To: cygwin-developers

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-27  9:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27  8:24 minor problem with DEBUGGING build of Cygwin Mark Geisert
2020-08-27  9:02 ` Corinna Vinschen
2020-08-27  9:45   ` Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).