GNU bug report logs - #41444
[PATCH] Fix guile-fibers resource leak

Previous Next

Package: guix-patches;

Reported by: Caleb Ristvedt <caleb.ristvedt <at> cune.org>

Date: Fri, 22 May 2020 01:53:02 UTC

Severity: normal

Tags: patch

Done: Caleb Ristvedt <caleb.ristvedt <at> cune.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christopher Baines <mail <at> cbaines.net>
To: Caleb Ristvedt <caleb.ristvedt <at> cune.org>, 41444 <at> debbugs.gnu.org
Subject: [bug#41444] [PATCH] Fix guile-fibers resource leak
Date: Fri, 22 May 2020 18:44:59 +0100
[Message part 1 (text/plain, inline)]
Caleb Ristvedt <caleb.ristvedt <at> cune.org> writes:

> This adds a patch to guile-fibers to fix a resource leak that caused
> file descriptors to be opened and never closed with each invocation of
> `run-fibers'.  This is presumably what was causing the tests to fail, as
> guile will abort when it gets EMFILE while attempting to create a new
> thread.  I've verified that it builds on my system, but it's only a
> 4-core machine, and the rate at which file descriptors leak scales with
> the number of cores, so it's possible it would have built successfully
> here regardless.  Could someone with access to a system with more cores
> verify that it now builds properly there?

I've tried this on bayfront.guix.gnu.org which has 32 cores and I'm very
glad to say it seems to work!

Maybe tweak the capitalisation in the commit message, "New patch", "Add
it ...", "Use it", but yeah, I'm all for merging this, with it I'll be
able to reconfigure bayfront hopefully. Are you set to tweak the commit
message and push?

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.