bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port leak when starting a translator


From: Samuel Thibault
Subject: Re: port leak when starting a translator
Date: Thu, 5 May 2011 13:54:30 +0200
User-agent: Mutt/1.5.12-2006-07-14

Richard Braun, le Thu 05 May 2011 12:32:00 +0200, a écrit :
> Does this leak appear often ?

It's the big leak I have on the buildds. 50k ports after like 10h
building stuff.

> It seems to be triggered by starting a new translator only.

So you are actually observing it too?

> I only took a quick look but are you sure the dirport
> (which is copied as dotdot in fshelp_fetch_root()) isn't kept around in
> the "child" translator as long as it runs, as a reference to the
> translator managing .. (that is, ports[INIT_PORT_CWDIR]) ?

the ports array is given to fshelp_start_translator_long, which just
passes it to the file_exec() RPC. AIUI, that won't make a copy inside
ext2fs itself.

> In addition, is this a mach port leak or a libports leak ?

What I observe is a mach port leak. I don't know libports enough to say
anything about it.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]