delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/01/14:09:28

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:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type; q=dns; s=default; b=
Eia3IwdLqux89qxKUm6n53l6ahgMeyC2pY/xzsGYfVgRtIWzxFo4yTfQHiOv9Vc5
ga0cfwkCXqJmWUFfDyym7/PFYw6j3lg4e/G9PTdEInWAzpWSAs8FE0jMOtnetm8Y
YNhK7iIDPM/t/4DbpebrOLOEFff7Bv84k0I38i4lPdw=
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:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type; s=default; bh=kE0
tI6M9jOQz/hifUN69AutBJy4=; b=YHsSB7GxLYCLtY0T3ozFxNljjc/uBLGItgR
kU0fSW9LW6m2OTHGyz+y++QMtRzGztzJlC//AF6kDPhSoAmVX++l1LZ3i622zmHn
bJE7vDQJRE1OP/vo/z1ixwP6/XghxSKjI56Xc4ZyfVChWpXprkTxjdj0ZB5dCZQm
rG9R1ezU=
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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f181.google.com
X-Received: by 10.194.123.132 with SMTP id ma4mr18582397wjb.140.1446404947052; Sun, 01 Nov 2015 11:09:07 -0800 (PST)
MIME-Version: 1.0
Reply-To: fracting AT gmail DOT com
In-Reply-To: <CALd+sZS-EbkUMgmRCyJUK0LCMo6zydzB1rbM9iZFrAcnbfHCRQ@mail.gmail.com>
References: <CALd+sZS-EbkUMgmRCyJUK0LCMo6zydzB1rbM9iZFrAcnbfHCRQ AT mail DOT gmail DOT com>
From: Qian Hong <fracting AT gmail DOT com>
Date: Mon, 2 Nov 2015 03:08:27 +0800
Message-ID: <CALd+sZTRVMuLjwZMjxN6f6JvTtax5rJAUuk_SMXvcQzMzxhirA@mail.gmail.com>
Subject: Re: Randomly hang when compiling Cygwin on Cygwin on Wine
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

Update:

I have another case of hang:

?(1)-+-bash(1419290)
     |-bash(1419318)---make(1423770)---sh(1423783)---sh(1423838)
     |-mintty(1249269)---bash(1249277)
     |-mintty(47)---bash(55)---bash(1132827)---make(1139169)---sh(1139182)---make(1139234)---sh(1206695)---sh(1206721)---make(1206764)---sh(1206770)---make(1206783)---perl(1249042)
     |-mintty(596773)---bash(596790)---pstree(1423865)
     `-mintty(1417449)---bash(1417457)


$ ps aux | grep 1249042
  1249042 1206783 1132827    1249050  pty0      197608   Oct 31 /usr/bin/perl
  1249077 1249042 1132827    1249092  pty0      197608   Oct 31
/usr/bin/nm <defunct>



Here the process perl(1249042) is waiting for a pipe, while its child
process nm(1249077) is in the status "defunct". nm(1249077) appears in
output of `ps aux`, but doesn't appear in output of `pstree -p -l`.

Is there any case, where a child process can exit unexpected, but the
parent process still incorrectly wait for the child process forever?

Thanks!

--
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