www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/19/10:03:47

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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: <c8a3efee0908190447l11062bf1waba8ca9df5581468 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <c8a3efee0908190447l11062bf1waba8ca9df5581468@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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