From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23048 invoked by alias); 1 Nov 2015 19:09:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23039 invoked by uid 89); 1 Nov 2015 19:09:11 -0000 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 Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com) (209.85.212.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 01 Nov 2015 19:09:10 +0000 Received: by wikq8 with SMTP id q8so39116552wik.1 for ; Sun, 01 Nov 2015 11:09:07 -0800 (PST) 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 Received: by 10.28.227.130 with HTTP; Sun, 1 Nov 2015 11:08:27 -0800 (PST) Reply-To: fracting@gmail.com In-Reply-To: References: From: Qian Hong Date: Sun, 01 Nov 2015 19:09:00 -0000 Message-ID: Subject: Re: Randomly hang when compiling Cygwin on Cygwin on Wine To: cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00003.txt.bz2 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 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