Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <BAY107-F19381AD0B27C3E9347F63FD6D90@phx.gbl>
X-Originating-Email: [arashp@hotmail.com]
X-Sender: arashp@hotmail.com
In-Reply-To: <42CB69DC.9DF06F01@dessent.net>
From: "Arash Partow" <arashp@hotmail.com>
To: cygwin@cygwin.com
Subject: Re: Please try latest snapshot -- pthreads mutex users please note
Date: Wed, 06 Jul 2005 07:29:52 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-IsSubscribed: yes

Hi Brian,

What kernel version and what NPTL version do you have installed?



Kind regards



Arash Partow
__________________________________________________
Be one who knows what they don't know,
Instead of being one who knows not what they don't know,
Thinking they know everything about all things.
http://www.partow.net


>
>Arash Partow wrote:
>
> > I've done a clean install of cygwin with dll 1.5.18 and also tried
> > snapshots from 2nd, 4th and 5th. Unfortunetly issues relating to
> > threading and memory leaks as described in the following post - still
> > exists:
> >
> > http://sources.redhat.com/ml/cygwin/2005-06/msg00186.html
>
>I don't believe this is a valid test case.  It has a severe memory leak,
>that's definite.  But it does the exact same thing under Linux:
>
>$ ./example1 >/dev/null & thepid=$! ; while cat /proc/$thepid/stat | awk
>'{ print $24*4 }'; do sleep 3; done                      [1] 1310
>1088
>61820
>136244
>206468
>0
>[1]+  Bus error               ./example1 >/dev/null
>cat: /proc/1310/stat: No such file or directory
>
>This runs the program and prints its RSS in Kbytes every three seconds.
>As you can see it very quickly consumes all memory and crashes to a
>halt.  Whatever this problem is, I do not think it's related to Cygwin
>in any way, except for the fact that it takes much longer under Cygwin
>to exhaust all memory due to the slower pthread locking compared to
>Linux.
>
>Brian
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

