public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Denis Excoffier <cygwin@Denis-Excoffier.org>
To: Takashi Yano <takashi.yano@nifty.ne.jp>
Cc: cygwin@cygwin.com
Subject: Re: Cygwin hangs up if several keys are typed during outputting a lot of texts.
Date: Sat, 28 Feb 2015 13:16:00 -0000	[thread overview]
Message-ID: <94A2B1A6-3B8B-4C4B-A953-F9F6B428DD10@Denis-Excoffier.org> (raw)
In-Reply-To: <20150228144019.0e4cfdb3a26bfac361b538e2@nifty.ne.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

  reply	other threads:[~2015-02-28  8:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-28 12:40 Takashi Yano
2015-02-28 13:16 ` Denis Excoffier [this message]
2015-02-28 17:56 ` Corinna Vinschen
2015-03-02 11:45   ` Takashi Yano
2015-03-02 14:44     ` Corinna Vinschen
2015-03-02 14:50       ` Corinna Vinschen
2015-03-04 11:36       ` Takashi Yano
2015-03-04 12:43         ` Corinna Vinschen
2015-03-04 18:22           ` Corinna Vinschen
2015-03-04 20:25             ` Corinna Vinschen
2015-03-05 12:12             ` Takashi Yano
2015-03-05 13:31               ` Corinna Vinschen
2015-04-03  4:07                 ` Takashi Yano
2015-04-03  4:19                   ` Takashi Yano
2015-04-03 11:32                   ` Corinna Vinschen
2015-04-04  6:55                     ` Takashi Yano
2015-04-04  8:43                       ` Corinna Vinschen
2015-04-05 11:54                         ` Takashi Yano
2015-04-07  9:11                           ` Corinna Vinschen
2015-04-13 10:31                             ` Takashi Yano
2015-04-14  7:35                               ` Corinna Vinschen
2015-04-16  0:26                                 ` Takashi Yano
2015-04-16  9:05                                   ` Corinna Vinschen
2015-04-16  9:10                                     ` Corinna Vinschen
2015-04-17 11:27                                     ` Takashi Yano
2015-04-17 12:10                                       ` Corinna Vinschen
2015-04-17 12:25                                         ` Corinna Vinschen
2015-04-20 11:40                                         ` Takashi Yano
2015-04-20 15:12                                           ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94A2B1A6-3B8B-4C4B-A953-F9F6B428DD10@Denis-Excoffier.org \
    --to=cygwin@denis-excoffier.org \
    --cc=cygwin@cygwin.com \
    --cc=takashi.yano@nifty.ne.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).