find(1) memory leak in cygheap

Haojun Bao baohaojun@gmail.com
Wed Aug 19 15:05:00 GMT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 133688 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090819/8aad1038/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list