aboutsummaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
authorCaleb Ristvedt <caleb.ristvedt@cune.org>2020-05-21 20:52:38 -0500
committerChristopher Baines <mail@cbaines.net>2020-05-22 09:40:51 +0100
commit8f5ab1a4622d8e07c57daa6d20e5b57ddabaef7f (patch)
treef6fe7e0372aa96b11a76b761da91ad4966c3e122 /daemon.am
parent1ce1583186578deffa119b056ba977d795f52691 (diff)
downloadguix-guile-fibers-fix-resource-leak.tar
guix-guile-fibers-fix-resource-leak.tar.gz
Fix guile-fibers resource leakguile-fibers-fix-resource-leak
--=-=-= Content-Type: text/plain 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? Hopefully a bug fix release will show up soon enough and we can get rid of this. - reepca From 659fa6b70cb8364187753e240076cdb107320070 Mon Sep 17 00:00:00 2001 From: Caleb Ristvedt <caleb.ristvedt@cune.org> Date: Thu, 21 May 2020 20:30:58 -0500 Subject: [PATCH] gnu: guile-fibers: Add patch to fix resource leak. guile-fibers@1.0.0 has a resource leak where run-fibers will only destroy one scheduler, but it creates as many as there are cpu cores by default (see https://github.com/wingo/fibers/issues/36). This causes the tests to fail on systems with many cores, and can cause guile to crash under certain circumstances. This fixes that resource leak. At present neither git master nor the latest release has fixed this yet. * gnu/packages/patches/guile-fibers-destroy-peer-schedulers.patch: new patch. * gnu/local.mk: add it to the list of patches. * gnu/packages/guile-xyz.scm (guile-fibers): use it.
Diffstat (limited to 'daemon.am')
0 files changed, 0 insertions, 0 deletions