delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/19/07:58:06

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=KT505ZAqM5HAz7XPemYpZ5C/Iclt0oHo+F+u12xgJreXnlsubjem5
2OGqxPCcuafAlJe4zXjEFyb4EGtsPzYJb1Dok5KkJCqKlgR0q9gmOnvBcD0avjH8
qVHkV0f/iPcoPx7ghaYsccGx4MTx+tzmBy7dbySVKkMzpUniCGY3QA=
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=ExoMDmxKtLZRLi6Y2C680VI+YNU=; b=f+e2CnyKspOZ2TC7YsxeEh8mhIxj
noYIaGBZ8BS6hf1gHVliU7caTsPjRZScUX77kAvRrg0EBUHWaxEadQLDd6A+8rtt
Rgd4uFrjqyTaxzXnhSNELUQQ82uizeEwwnrPDv4f2vjPbWhKuTR331jtKntpAtFA
z1lcZMQjBDNPT3c=
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
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 13:57:41 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: confirm subscribe to cygwin-developers-digest AT cygwin DOT com
Message-ID: <20130719115741.GA4206@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>
MIME-Version: 1.0
In-Reply-To: <20130719114047.GG20871@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)

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/).


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019