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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=H+YMJLeTsEAudz6EsyiWz5GrGTBRrKnuZ0MIoCEKnxG 096XAff0l+cBpU+TVGYBVBriayl7BIPH45GAEDNtvNbKiru5IY8rX0ay6/8R0nOk nDpLXrsP0A2F7LB4FGNZqhhIPDfLs6c/z75q0DpPl3LdYXQir3EPkC80U+hKj3ig = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=4zuYESqnjxfUQdRTFlP+3QXUWH4=; b=Rw0+oRLKfobDJxfBi 2s686/MkW6ZuwjO8RghmA+XOdN0b6enxMWmb8uvEjeURzvEUwy6az+qMvRyqDTle A8XqEh59PMkqgyoDV6LfjAzI7gBV9XD3SPrf1gLzJNB9KR4ILe1hTObr/UwPbawZ weNQJLpfQ0trftaXx/Fam7vBvs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Message-ID: <5155E031.4030901@mathematik.uni-kl.de> Date: Fri, 29 Mar 2013 19:40:49 +0100 From: =?ISO-8859-1?Q?Andreas_Steenpa=DF?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: SIGCHLD is not delivered References: <5154460D DOT 4090101 AT mathematik DOT uni-kl DOT de> <20130329132942 DOT GD3460 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20130329132942.GD3460@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Le 29/03/2013 14:29, Christopher Faylor a écrit : > On Thu, Mar 28, 2013 at 02:30:53PM +0100, Andreas Steenpa? wrote: >> I have noticed that sometimes SIGCHLD is not delivered when a child >> process exits. I can reproduce this behaviour reliably under the >> following, very special circumstances: > I've uploaded a new snapshot which seems to fix this problem. Before > running it, I could see a rare when I ran your test case in a loop. > After, I never saw a hang. > > Thanks for the test case and please give the snapshot a try. I've installed the newest snapshot and recompiled the test case, but it still hangs on my system. I'm sorry for interfering with your release. Is there any further information I could provide to solve this issue? Just to be sure: $ uname -a CYGWIN_NT-6.1-WOW64 zoppo 1.7.18s(0.263/5/3) 20130329 13:18:55 i686 Cygwin My installation of Windows runs in a virtual machine. Could this maybe influence the race conditions? I've noticed that the resolutions I get with clock_gettime(CLOCK_REALTIME, ...); are quite coarse (a few milliseconds!) in comparison to my Linux system (nanoseconds), or is this a general Cygwin thing? Best regards, Andreas -- 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