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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=MkWYNHW/vv5W76BI 3OhbUThDOsTZIgUJGaRARWp26sSwn/jh3ZZGBCd//UDuxTUO/5D8d5lkQQrzF1By NhOVDc34h3fRRdhwyqa89dc+lt/N5mrU2nRCmETHyHnmLrSTekWWfIIjisjX0vNP mhGIPGW/KAAHSquEdYC/2rqWRZU= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=9KsOGySGmXaRnfhwIoG4X9 ZVSdE=; b=f/81rhQVbi2YjDJNusuvgRDni3s+eOI6sSMDBKMYKe2oWiBVs/11NL U36x5R53Fux90CZRLL3NYFHG+iH6bHRrA1didM+b6jYaQAlz29DX23PMniTHcmmQ COSHpiHTJyIoIxHzqtsCTgla9y5nMmc6tLd4ATeN4LJaSnVBGqcMI= 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=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.1 Date: Sat, 30 Mar 2013 07:16:07 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <905027619.20130330071607@mtu-net.ru> To: =?ISO-8859-1?B?QW5kcmVhcyBTdGVlbnBh3w==?= , Subject: Re: SIGCHLD is not delivered In-Reply-To: <5155E031.4030901@mathematik.uni-kl.de> References: <5154460D DOT 4090101 AT mathematik DOT uni-kl DOT de> <20130329132942 DOT GD3460 AT ednor DOT casa DOT cgf DOT cx> <5155E031 DOT 4030901 AT mathematik DOT uni-kl DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id r2U3Kh2Q003645 Greetings, Andreas Steenpaß! >>> 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. Knowing, which VM it is, and what is the container settings in regard to hardware virtualisation support, would be helpful. > 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? -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 30.03.2013, <07:14> Sorry for my terrible english...