This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: add_handle and malloc
On Tue, Aug 06, 2002 at 04:40:52AM +0100, Conrad Scott wrote:
>"Christopher Faylor" <cgf@redhat.com> wrote:
>> Go ahead and check this in.
>
>On its way.
>
>> You weren't actually seeing the malloc
>> code being hit, were you?
>
>Umm . . . yes :-) (he says innocently). There's a handle leak
>somewhere in the DLL at the moment, and I was running a test that
>recursively forked, until death as it turned out. I'm still
>looking for the handle leak: once I've found that I can go back to
>testing the socket code I was working on.
If there is a handle leak then the thread code should be a good clue
where it is. If you look at the cygheap->debug.freeh table it should
be filled with a repeating handle, I would think.
cgf