From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 09:40:10 2023 Received: (at 55441) by debbugs.gnu.org; 26 Jan 2023 14:40:10 +0000 Received: from localhost ([127.0.0.1]:32848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL3Q9-0004df-PR for submit@debbugs.gnu.org; Thu, 26 Jan 2023 09:40:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL3Q8-0004dT-Bf for 55441@debbugs.gnu.org; Thu, 26 Jan 2023 09:40:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL3Q1-0001Uu-L8; Thu, 26 Jan 2023 09:40:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=bbW++DzBHB1EgyrLQFHlL4byUi+a21VRChm1KUmeDpw=; b=rr4BIBvUo/ie7Df09LG8 Hdyhmst6FipNwvt/6ng4HhNOXewbR2DzFmyREBm3EeIyzUMT2/BodLdbbwkGmYRjVS4AZ3GRSP4Jo M+dYQhdxc2BGea3RyqJFyxzlBYHMxarpTddCCPrOyKQpinNlNwhCTvHGBkifEcZGhk6PlQO9s5Nkg JQiApYGgnAUyh2WxZPJRaroDj+bItN/K6rVloPy5ayK6A0R0SnAaskFg2D30qymXFJ/3ZUFYmmbek nBg9UtvyUwjk1fEiVnShYLPd0ryDa+5TqmDPDqvai/V/p+H30HhgaFJgFMEcK4uKZo/hGxb7WXaSU IblYUF0yRHxCww==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL3Q0-0000yv-4u; Thu, 26 Jan 2023 09:40:00 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections References: <87fslcaznn.fsf@gmail.com> <87mtfj174l.fsf@gnu.org> <878rr2kug6.fsf_-_@gmail.com> <87pmke6ig4.fsf@gnu.org> <87o7zxalhu.fsf@gnu.org> <87k0alahug.fsf@gnu.org> <87fsl9acuw.fsf@gnu.org> <878rr1jsd1.fsf@gmail.com> <87fsl87gb5.fsf@gnu.org> <874k1n5loz.fsf@gnu.org> <87r14ovyud.fsf@gnu.org> <87k0aaiqzu.fsf@gnu.org> <87bkvlh8u2.fsf@gnu.org> <875ylth3rq.fsf@gnu.org> <87h75dtcaa.fsf@cbaines.net> <871qwghbme.fsf@gnu.org> <87sfow10lc.fsf@jpoiret.xyz> <16f8aa929bcba3536da4701f9b1152f28ca4b893.camel@telenet.be> <87ilpphi12.fsf@jpoiret.xyz> Date: Thu, 26 Jan 2023 15:39:57 +0100 In-Reply-To: <87ilpphi12.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sat, 28 May 2022 16:02:33 +0200") Message-ID: <87pmb1nyv6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55441 Cc: 55441@debbugs.gnu.org, Mathieu Othacehe , Christopher Baines , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi there! I have some good news! Time has passed but we didn=E2=80=99t remain idle := -) and the scary bug at is finding a happy end! First, Josselin introduced bindings to =E2=80=98posix_spawn=E2=80=99=C2=B9 = in Guile, to use as the foundation of a new =E2=80=98spawn=E2=80=99 procedure, but also for = =E2=80=98system*=E2=80=99, =E2=80=98open-pipe*=E2=80=99, & co.: https://issues.guix.gnu.org/52835 That=E2=80=99s big deal because =E2=80=98posix_spawn=E2=80=99 is usable in = a multi-threaded context (POSIX doesn=E2=80=99t explicitly say so, but it stems from the fact that what happens in the child process before =E2=80=98exec=E2=80=99 is =E2= =80=9Csafe=E2=80=9D, and in particular Guile code doesn=E2=80=99t get a chance to run). Guile 3.0.9 released yesterday includes those changes. Then we have this commit, where I changed =E2=80=98open-bidirectional-pipe= =E2=80=99 in (guix inferior) to use =E2=80=98spawn=E2=80=99 where available: fed3953d70 inferior: Use 'spawn' on Guile 3.0.9+. That solves the problem that led to this bug. Last, we have this update: 230de2e94b gnu: guix: Update to d5fece6. It gives us a =E2=80=98guix=E2=80=99 package that contains the =E2=80=98spa= wn=E2=80=99 fix and removes =E2=80=98guix-for-cuirass=E2=80=99, which is now longer necessary. Thanks everyone for the team work, very nice when working on touch issues like this one! Ludo=E2=80=99. =C2=B9 https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spa= wn.html