GNU bug report logs - #55441
Use of 'primitive-fork' in (guix inferior) leads to hangs in 'cuirass evaluate'

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 16 May 2022 03:50:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Maxime Devos <maximedevos <at> telenet.be>, Ludovic Courtès <ludo <at> gnu.org>, Christopher Baines <mail <at> cbaines.net>
Cc: 55441 <at> debbugs.gnu.org
Subject: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections
Date: Sat, 28 May 2022 16:02:33 +0200
Hello Maxime,

Thanks for your review.  I took your comments into account and actually
wrote some more patches to clean up start_child of potential thread
unsafe practices.  Since these are not guix-specific, I sent the whole
patchset to guile-devel instead [1].

Maxime Devos <maximedevos <at> telenet.be> writes:
> The process opening code looks fragile, so I think some tests are
> required to avoid causing regressions later.

How would you suggest we do that?  Since these are mostly racing issues
between threads, I don't know how we could reproduce these reliably in
tests.

[1] v4 PATCH at
   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52835
   (20220528124634.17353-1-dev <at> jpoiret.xyz)

Best,
-- 
Josselin Poiret




This bug report was last modified 2 years and 121 days ago.

Previous Next


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