delorie.com/archives/browse.cgi | search |
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:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; q=dns; s=default; b=twas05/vRegwvqp+yK13dbNLO86KD | |
c9PPBEoFYfN/SsNATlHNnuADj7An74pdDFdf/2owx4a77gwCuzpR05zuN45LEXPP | |
Q5/df6d+XLD+w7Yv3znA+fQ1uRhSQ228FOV1WuaZE7nwjW1wLL0IlaULN65/Kv2k | |
mhKO800xKAm9DY= | |
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:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; s=default; bh=sVREwg7/xvcQ6CHEhyfSkElLk4E=; b=o7q | |
Y4utI9izAaIzVsQ0eFNJsNEItC1MK6yofgS+boiqwJkZK7wQvyD9Iu7ajmKWjsTc | |
Iy0A4VIjCs2DflQFisigZSH5vIQgzF/LM5Nkzo5z6oKg8mwx9IA0ayNszk4FPfYl | |
hPAA4GmktMMZh4PYrj2Oae/Nbl7ByaGSHIwrnFfw= | |
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.2 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS autolearn=ham version=3.3.2 |
X-HELO: | USA7109MR006.ACS-INC.COM |
From: | "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: pipe handling errors |
Date: | Tue, 15 Jul 2014 18:52:56 +0000 |
Message-ID: | <0D835E9B9CD07F40A48423F80D3B5A702E7EA8E1@USA7109MB022.na.xerox.net> |
References: | <20140715154534 DOT GQ10401 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20140715154534.GQ10401@calimero.vinschen.de> |
MIME-Version: | 1.0 |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id s6FIrGU0016409 |
From: Corinna Vinschen > Hi Kenneth, > > On Jul 15 13:50, Nellis, Kenneth wrote: > > From: Corinna Vinschen > > > On Jul 14 17:40, Nellis, Kenneth wrote: > > > > When running a bash pipeline using the latest 64-bit packages, I > > > > occasionally get output like the following: > > > > > > > > 1479561950 [waitproc] -bash 10000 sig_send: error sending signal > > > > 20, pipe handle 0x2710, nb 132, packsize 0, Win32 error 109 > > > > > > > <snip> > > > > > > I know that we got this message more often in the past, but I'm > > > totally unable to reproduce it these days. I tried with 1.7.30 as > > > well as the latest snapshots. > > > > > > I'm wondering if a pipe could be intercepted by a virus checker or > > > something like that. Whatever it is, would you mind to give the > > > latest developer snapshot DLL (2014-07-15) from > > > http://cygwin.com/snapshots/ a try? Chris has fixed a typo in the > > > above debug message. If it still happens for you, maybe the new output helps better to find the cause. > > > > FYI, got it again this morning, this time with the suggested snapshot: > > > > 0 [main] -bash 8812 sig_send: error sending signal -66, pid > > 8812, pipe handle 0x80, nb 0, packsize 176, Win32 error 0 > > > > Cygwin64> uname -srvmo > > CYGWIN_NT-6.1 1.7.31s(0.273/5/3) 20140715 09:22:44 x86_64 Cygwin > > Cygwin64> > > Thanks. I just created another snapshot which is supposed to fix this issue (curtesy cgf). Can you give it a try, please? Well, I'm getting different results with the latest snapshot. Instead of getting the error message, I'm getting a hang for maybe a minute before it continues. I used the following command to encourage a failure: clear; for f in $(find */Debug -name '*Subsystem'); do echo === $f ===; strings $f | grep '\.cpp$' | sort | uniq -c | sort -n; done 9 invocations of this resulted in 3 hangs. During the last such hang, ps output showed the following (from a 2nd mintty window): Cygwin64> ps PID PPID PGID WINPID TTY UID STIME COMMAND 6268 11100 8800 10808 pty0 12779 14:41:03 /usr/bin/sort <defunct> 1812 2968 1812 10924 pty1 12779 14:41:49 /usr/bin/ps 2968 10840 2968 10340 pty1 12779 14:41:41 /usr/bin/bash 5208 11100 8800 5212 pty0 12779 14:41:03 /usr/bin/grep <defunct> 11196 1 11196 11196 ? 12779 14:37:15 /usr/bin/mintty 7752 11100 8800 10324 pty0 12779 14:41:03 /usr/bin/sort <defunct> 10840 1 10840 10840 ? 12779 14:41:41 /usr/bin/mintty 11100 11196 11100 6260 pty0 12779 14:37:15 /usr/bin/bash 9536 11100 8800 10368 pty0 12779 14:41:03 /usr/bin/uniq <defunct> Cygwin64> After it completed, it showed the following Cygwin64> ps PID PPID PGID WINPID TTY UID STIME COMMAND 2968 10840 2968 10340 pty1 12779 14:41:41 /usr/bin/bash 10316 2968 10316 3152 pty1 12779 14:42:08 /usr/bin/ps 11196 1 11196 11196 ? 12779 14:37:15 /usr/bin/mintty 10840 1 10840 10840 ? 12779 14:41:41 /usr/bin/mintty I 11100 11196 11100 6260 pty0 12779 14:37:15 /usr/bin/bash Cygwin64> Just to confirm I was using the later snapshot: Cygwin64> uname -srvmo CYGWIN_NT-6.1 1.7.31s(0.273/5/3) 20140715 15:34:37 x86_64 Cygwin Cygwin64> --Ken Nellis
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |