Comment 4 for bug 1979841

Revision history for this message
Tomas Hlavaty (q-tom-o) wrote : Re: [Bug 1979841] Re: SBCL crashes when run-program is called repeatedly

On Fri 24 Jun 2022 at 23:28, Stas Boukarev <email address hidden> wrote:
> You are running out of FDs for the streams. You need

But he is not capturing the streams so if GC happened earlier than
running out of FDs, finalizers would do their job and this issue would
not happen.

Ideally, running out of FDs would be detected, trigger gc, run
finalizers and retry the failed open. Only if the second try failed
again, all hope is lost.