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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=Y5LzXmjSjN1ETDXispdKZf5ubuvjsT1bvftcjpretrlkoCxsEMOgX WiBtm8GxIS3jnRLjw4yq2Dx7vi0j6fWlNtzy+hZQW8CsZ0GD3YnQmuEgPXu0WSm+ KgT9TZ4z0j4Jykglm593/AFpMTxyJMFto1sCcMq35/ONjBYvOPqIzo= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=GLIYCJDWo+cXwg89Ids9ednQuZE=; b=xtHvFSu1vH3KV90I1MZSdmga1XVL +6HzJDQVtpaKGXGASpmK+kOZ9wGm96+8vnXjJQAhermJWy2pg+N80jFXtH8iYNii bIBR/BmMESJ8wvdIj1t0nEcwr3m/nxN1rvh9Jq5JLYCs4uwDnYrnSqcW5Rstz+96 iHeEE61r4kF9AuM= 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 X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_SEMBACKSCATTER,TW_RX autolearn=no version=3.3.1 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19Nn2EVJOLuh6p0HccsXomL Date: Mon, 13 May 2013 23:00:40 -0400 From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Re: mintty, xterm and rxvt freezes when displaying a binary stream Message-ID: <20130514030040.GA5187@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <CAP_kE8UJZYf2ebrpDSKtkTrN2p0yT997+y+Z5tr978LNdbTekw AT mail DOT gmail DOT com> <CAHWeT-Z=oQ+Xan7DuRkC1A_7RLAQ5+3oWXQJKDiyPchzyXruQA AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <CAHWeT-Z=oQ+Xan7DuRkC1A_7RLAQ5+3oWXQJKDiyPchzyXruQA@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) On Mon, May 13, 2013 at 10:45:17PM +0100, Andy Koppe wrote: >On 13 May 2013 22:35, Adrian H wrote: >> I inadvertently dumped a binary stream to the terminal and it froze >> mintty. When I tried to kill the process dumping the data, it >> wouldn't die, even when using -9 switch. When I used Process Explorer >> to kill it, it died and mintty resumed working. >> >> I narrowed the stream down to 370 'lines' by catting the file and >> heading and tailing its output. For some reason, I wasn't able to >> narrow it down any further. >> >> This issue doesn't occur within cmd running bash (bash is what is >> running through mintty when this occurred). >> >> I've also tested it with xterm and rxvt and they also froze the >> terminal, so it appears to be something to do with the terminal >> interpreter which may be shared across these three terminal >> programmes. >> >> I've tried to attached the compressed narrowed down stream for you >> viewing pleasure, but this mailing list doesn't support it. If anyone >> wants to debug this further, just tell me where to put the binary file >> and you can do your thing. >> >> Not sure what that stream is doing to the terminal to do that to the >> process, but I don't think it should be doing that. >> >> Any idea what's happening? > >http://cygwin.com/ml/cygwin/2013-04/msg00362.html Or, even better: http://cygwin.com/ml/cygwin/2013-04/msg00358.html This is a really hard problem to fix in Cygwin. It probably requires YA rewrite of the pty layer. cgf -- 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