delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/21/18:40:47

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: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 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=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
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: Piping on 64-bit Cygwin, STC found
From: Warren Young <wyml AT etr-usa DOT 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 DOT 1040675 DOT 1465521483978 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <1989991589 DOT 1040675 DOT 1465521483978 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <6ecc2a84-449f-01f1-0ef7-440e97a9b850 AT dronecode DOT org DOT uk> <1341561944 DOT 11163115 DOT 1466484828091 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <7E3D11F0-CD6B-4AF4-991B-2C3AD0E08D07 AT etr-usa DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5LMeiJC028027

On Jun 21, 2016, at 3:57 PM, Warren Young <wyml AT etr-usa DOT 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


- Raw text -


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