X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 19 Aug 2009 10:03:22 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: find(1) memory leak in cygheap Message-ID: <20090819140322.GB8713@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Wed, Aug 19, 2009 at 07:47:37PM +0800, Haojun Bao wrote: >I found this problem when running updatedb, the find will print > > 2 [main] find 2592 C:\cygwin\bin\find.exe: *** fatal error - >cmalloc would have returned NULL > >I have dumped the cygheap using gdb to see what's in it, the size is >about 25M, and I use strings.exe to examine the strings >in it, all the folder names that find has looked into is in it, both >native format and cygwin format of the folders names. > >And there are lot's of folders in my android source folder, so the >cygheap is filled up. I think maybe this is a memory leak? > >Please use the following script to test: How about if you provide us with cygcheck output first? cgf -- 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