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 in root (/) results in stack trace


On Feb  1 16:54, Heiko Elger wrote:
> Corinna Vinschen writes:
> 
> > 
> > This looks like a problem when recursing over the /proc/registry and
> > it doesn't look like a 64 bit problem.  I'll have a look.
> > 
> 
> I saw same problem runing find command i.e. /cygdrive/c/Programme/cygwin (root 
> of my cygwin installation) ad there is no /proc/registry.

Indeed.

I concentrated on the registry yesterday and I found a memory and a
handle leak there, which were a result of find using open/fdopendir/
closedir.  This skips the close call and the registry closedir code
wasn't handling that at all.

Given that find wastes a lot of memory when scanning ordinary disks,
too, there's apparently still another memory leak somewhere.  I'm going
to have another look today.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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