delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/28/03:10:24

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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\))
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
In-Reply-To: <20150228144019.0e4cfdb3a26bfac361b538e2@nifty.ne.jp>
Date: Sat, 28 Feb 2015 09:09:57 +0100
Cc: cygwin AT cygwin DOT com
Message-Id: <94A2B1A6-3B8B-4C4B-A953-F9F6B428DD10@Denis-Excoffier.org>
References: <20150228144019 DOT 0e4cfdb3a26bfac361b538e2 AT nifty DOT ne DOT jp>
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019