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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=YG0i0E9cbzq4bChIJOOdnhLCsmVU/gnOlvd0i3qWxPzAS78wCNwm5 QvaRJ4j/11yPS/QjjhLXfgt+votTZCyRScmYhjhh5eSQGEZE5r9UDpY7Lvj1/G8a H135BMGx0x4HiGEswBKsQXzX/OWBcHsWGcODZWJdtlHudiW99q9WzQ= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Km9j6yYmW2wvnRXKP27kRZDMSIg=; b=NxIC+Sw4p9TP/gnIT6dQ5y8M+hb4 8C+Q5sKxhnCxdSgxpNd6fS7x4g3xT3NPgn3TFMRUDHj+IthMXgcsFay8BkZCnUQ5 agG9XK8wtNAoCLoMzCoIMTY9kG7aGwj0G/seNLf2/Wts5KrX1kTEugaf8Fga9yiw AvaA9cfVr3UvzgE= 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=2.1 required=5.0 tests=AWL,BAYES_50,CYGWIN_SUBJECT,RDNS_NONE,TW_CG autolearn=no version=3.3.1 Date: Fri, 19 Jul 2013 14:58:01 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: confirm subscribe to cygwin-developers-digest AT cygwin DOT com Message-ID: <20130719125801.GB883@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1374159471 DOT 12713 DOT ezmlm AT cygwin DOT com> <107C24740CC429479D55901D6AAD17E43C536ABB87 AT EMV61-UKRD DOT domain1 DOT systemhost DOT net> <20130718191509 DOT GA588 AT ednor DOT casa DOT cgf DOT cx> <20130719114047 DOT GG20871 AT calimero DOT vinschen DOT de> <20130719115741 DOT GA4206 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130719115741.GA4206@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Jul 19 13:57, Corinna Vinschen wrote: > On Jul 19 13:40, Corinna Vinschen wrote: > > On Jul 18 15:15, Christopher Faylor wrote: > > > [What an odd subject line] > > > On Thu, Jul 18, 2013 at 04:23:32PM +0100, trefor DOT 2 DOT edwards AT bt DOT com wrote: > > > >I have a very recent version of Cygwin and using the SIPP application. > > > >This calls nanosleep from within a thread. > > > > > > "Very recent" is not a precise enough distinction for debugging > > > problems. > > > > > > See: http://cygwin.com/problems.html . > > > > > > >Effectively , every second, the application > > > > > > > >* Creates a thread > > > > > > > >* Calls nanosleep 9 times. > > > > > > > >* Deletes the thread > > > > > > > >And every second, according to windows task manager, it one more handle > > > >is being used. Eventually it runs out of resources and crashes. > > > > > > Seems like a simple test case would show this. Please provide one. > > > > I think I know what's going on, but cgf is right, a simple testcase > > showing this behaviour would be helpful for testing. > > Never mind, I created my own testcase. My hunch was correct, the > per-thread timer handle didn't get closed when the thread exits. > > I applied a patch, and I'll create new Cygwin snapshots for 32 and 64 > bit today. Pleas give them a try (http://cygwin.com/snapshots/). Snapshots are up. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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