This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find(1) memory leak in cygheap


On Wed, Aug 19, 2009 at 10:03 PM, Christopher
Faylor<cgf-use-the-mailinglist-please@cygwin.com> wrote:
> 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?
>
Sorry, here's the cygcheck output attached

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]