unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: 55441@debbugs.gnu.org, Mathieu Othacehe <othacehe@gnu.org>,
	Christopher Baines <mail@cbaines.net>,
	Maxime Devos <maximedevos@telenet.be>
Subject: bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections
Date: Thu, 26 Jan 2023 15:39:57 +0100	[thread overview]
Message-ID: <87pmb1nyv6.fsf@gnu.org> (raw)
In-Reply-To: <87ilpphi12.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sat,  28 May 2022 16:02:33 +0200")

Hi there!

I have some good news!  Time has passed but we didn’t remain idle :-)
and the scary bug at <https://issues.guix.gnu.org/55441> is finding a
happy end!

First, Josselin introduced bindings to ‘posix_spawn’¹ in Guile, to use
as the foundation of a new ‘spawn’ procedure, but also for ‘system*’,
‘open-pipe*’, & co.:

  https://issues.guix.gnu.org/52835

That’s big deal because ‘posix_spawn’ is usable in a multi-threaded
context (POSIX doesn’t explicitly say so, but it stems from the fact
that what happens in the child process before ‘exec’ is “safe”, and in
particular Guile code doesn’t get a chance to run).

Guile 3.0.9 released yesterday includes those changes.

Then we have this commit, where I changed ‘open-bidirectional-pipe’ in
(guix inferior) to use ‘spawn’ 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 ‘guix’ package that contains the ‘spawn’ fix and removes
‘guix-for-cuirass’, which is now longer necessary.

Thanks everyone for the team work, very nice when working on touch
issues like this one!

Ludo’.

¹ https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html




  reply	other threads:[~2023-01-26 14:41 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87fslcaznn.fsf@gmail.com>
     [not found] ` <87mtfj174l.fsf@gnu.org>
2022-05-16  3:49   ` bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections Maxim Cournoyer
2022-05-16  7:32     ` Mathieu Othacehe
2022-05-16  9:13       ` Ludovic Courtès
2022-05-16 10:32         ` Ludovic Courtès
2022-05-16 12:19           ` Ludovic Courtès
2022-05-16 17:32             ` Maxim Cournoyer
2022-05-17  7:45               ` Ludovic Courtès
2022-05-18  7:44                 ` Ludovic Courtès
2022-05-20 18:32                   ` Ludovic Courtès
2022-05-24 21:02                     ` Ludovic Courtès
2022-05-25 16:32                       ` Ludovic Courtès
2022-05-25 18:21                         ` Ludovic Courtès
2022-05-25 23:13                           ` Christopher Baines
2022-05-26  9:44                             ` Ludovic Courtès
2022-05-26 20:49                               ` Josselin Poiret via Bug reports for GNU Guix
2022-05-26 20:50                                 ` bug#55441: [PATCH] guix: inferior: Make open-bidirectional-pipe use piped-process Josselin Poiret via Bug reports for GNU Guix
2022-05-26 21:02                                   ` Maxime Devos
2022-05-28 17:15                                   ` Ludovic Courtès
2022-05-26 20:50                                 ` bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely Josselin Poiret via Bug reports for GNU Guix
2022-05-26 20:55                                   ` Maxime Devos
2022-05-26 20:50                                 ` bug#55441: [PATCH 2/2] Improve thread safety of piped-process Josselin Poiret via Bug reports for GNU Guix
2022-05-26 20:58                                 ` bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections Maxime Devos
2022-05-28 14:02                                   ` Josselin Poiret via Bug reports for GNU Guix
2023-01-26 14:39                                     ` Ludovic Courtès [this message]
2022-05-26 12:29                           ` Ludovic Courtès
2022-05-16 12:49         ` Maxim Cournoyer
2022-05-17 12:52           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmb1nyv6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=55441@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=mail@cbaines.net \
    --cc=maximedevos@telenet.be \
    --cc=othacehe@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).