This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin hangs up if several keys are typed during outputting a lot of texts.
- From: Denis Excoffier <cygwin at Denis-Excoffier dot org>
- To: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- Cc: cygwin at cygwin dot com
- Date: Sat, 28 Feb 2015 09:09:57 +0100
- Subject: Re: Cygwin hangs up if several keys are typed during outputting a lot of texts.
- Authentication-results: sourceware.org; auth=none
- References: <20150228144019 dot 0e4cfdb3a26bfac361b538e2 at nifty dot ne dot jp>
On 2015-02-28 06:40, Takashi Yano wrote:
>
> Package: cygwin
> Version: 1.7.34-6
>
> Cygwin often hangs up if several keys are input during a lot of text outputs.
>
> To reproduce this problem:
> 1) Start a new cygwin session on mintty.
> 2) Execute
> yes AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> or
> od /dev/urandom
> 3) Hit 'a' key several times during text outputs.
>
> If echo is disabled like:
> stty -echo; yes AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> the problem does not occur.
>
>
I concur.
The same occurs under xterm and 1.7.35-0.5 (under NT).
You can pipe your yes/od command into 'head -10000' and the same
applies (as long as you type the additional characters before the end
of course).
In fact, Cygwin does not hang, only the xterm window hangs.
And, the same: with 'stty -echo' the problem does not occur.
I'll add that this is not new (occurred for me at least for the last few months, even perhaps years).
I'm happy that Takashi found:
- a fully reproducible case
- that the problem vanishes with stty -echo (that could perhaps mean a quick resolution...)
Regards,
Denis Excoffier.
--
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