bug-hurd
[Top][All Lists]
Advanced

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

Re: proc leaking


From: Richard Braun
Subject: Re: proc leaking
Date: Fri, 1 Dec 2023 14:17:18 +0100

On Sun, Nov 26, 2023 at 08:32:30PM +0100, Samuel Thibault wrote:
> I found the issue, it's because of the quiescence support in libports,
> which assumes that all threads will sooner or later go through a
> quiescent state (because it finished processing a message). But that's
> not true, proc doesn't set a thread timeout, and thus some threads can
> stay indefinitely stuck in receiving messages. And thus the deferred
> dereferencing used by ports_destroy_right never gets achieved.
> 
> I'll push a fix.

Very nice catch.

-- 
Richard Braun



reply via email to

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