X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:mime-version:content-type:from
	:in-reply-to:date:cc:content-transfer-encoding:message-id
	:references:to; q=dns; s=default; b=oBeZDqP+kpR9/Qc5JfkyYjwqQj3s
	xyPzuZLHV86neFLXKen0Nahcaqkk8kUUVTWy6NzSZc9nJ+xwwcnxwiJuGkncLp2L
	399IoeOk7v37FGIxbR6o4sx86QJmqg0F/tKngeeWaDjE+G2/2Q7uq0tsCKcXFAr0
	itsYK9woDxTBB7E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:mime-version:content-type:from
	:in-reply-to:date:cc:content-transfer-encoding:message-id
	:references:to; s=default; bh=Lz3eaHdUlLPo5HSTfjK+qvBJG0k=; b=nU
	v5MyLGtrKbhqI5dgqh/h6vE69yeIbbUD4BO82aPUOUlHx+GgvcSEPBCfYjpXaqLb
	jLzAvLegOrAOG0fPh4FGGuTWUVPp2dl/5jc9oZ+SUBsNw8oeQAtAJknGq0YMJdWp
	vnyoaX2UZzoJx4r2zpxIDMxnlom7PJwseN9biTwVw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: smtp5-g21.free.fr
Subject: Re: Cygwin hangs up if several keys are typed during outputting a lot of texts.
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
Content-Type: text/plain; charset=us-ascii
From: Denis Excoffier <cygwin@Denis-Excoffier.org>
In-Reply-To: <20150228144019.0e4cfdb3a26bfac361b538e2@nifty.ne.jp>
Date: Sat, 28 Feb 2015 09:09:57 +0100
Cc: cygwin@cygwin.com
Message-Id: <94A2B1A6-3B8B-4C4B-A953-F9F6B428DD10@Denis-Excoffier.org>
References: <20150228144019.0e4cfdb3a26bfac361b538e2@nifty.ne.jp>
To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1S8AIq7030630

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


