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:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; q=dns; s=default; b=Dbowhsck3oLkTcF+4qKtjryeI0Ao
	7nKgkk7Hh8DwmhIFFZw3bUEJst4QarsE+CvPKPIg5UDfJRETJJF3AJs8HsVABT5c
	bYg9C/FzBN/qcR73EHhtSAAvwPU2A5QKaWMdhCeFFrAEiNgEj3sn6SdooD+k8NVt
	PRVVDgXBtf1qCjo=
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:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; s=default; bh=qbxzMozES3W4Y+z1R8nHOVWRIzk=; b=BI
	eVb9bqtAN016xX58P3bcNSAskA4oHnPg3yOuNeyxLbszId8FbX43bDGgne1idyYL
	a7XeR1K5tHRiM+YjLyTdbX1G6gee5yncsz/LjuKx/tzakpACFNnbT7bWt6BnCpFa
	+theg8I7CaH21xFT+o4Sqs8ejuMb8gNBG8o9shFqY=
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=0.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=mintty, Warren, warren, U*wyml
X-HELO: etr-usa.com
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: Piping on 64-bit Cygwin, STC found
From: Warren Young <wyml@etr-usa.com>
In-Reply-To: <7E3D11F0-CD6B-4AF4-991B-2C3AD0E08D07@etr-usa.com>
Date: Tue, 21 Jun 2016 16:40:18 -0600
Message-Id: <7365C9D7-91DF-491F-A979-A3B7291CFC99@etr-usa.com>
References: <1989991589.1040675.1465521483978.JavaMail.yahoo.ref@mail.yahoo.com> <1989991589.1040675.1465521483978.JavaMail.yahoo@mail.yahoo.com> <6ecc2a84-449f-01f1-0ef7-440e97a9b850@dronecode.org.uk> <1341561944.11163115.1466484828091.JavaMail.yahoo@mail.yahoo.com> <7E3D11F0-CD6B-4AF4-991B-2C3AD0E08D07@etr-usa.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5LMeiJC028027

On Jun 21, 2016, at 3:57 PM, Warren Young <wyml@etr-usa.com> wrote:
> 
> Here’s what a simple test case looks like:
> 
>  $ dd if=/dev/urandom bs=4k count=4m | 
>    gpg -c --force-mdc | 
>    gpg -d > /dev/null

I seem to have stumbled upon the actual STC.  Just increase those values, launch two MinTTY terminals, and try to use Cygwin in the second while the GPG pipeline is running.  All will be well for a while, but eventually the second window will start to behave strangely.

I used 64k and 64M (capitalization is important to dd), and the failure I observed is that “man” commands wouldn’t always return you to the shell properly after exiting from the piped-to less process.

Some kind of memory leak, perhaps?
--
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


