From: "Ludovic Courtès" <ludo@gnu.org>
To: Reepca Russelstein <reepca@russelstein.xyz>
Cc: Christopher Baines <guix@cbaines.net>, 31785@debbugs.gnu.org
Subject: bug#31785: Multiple client 'build-paths' RPCs can lead to daemon deadlock
Date: Mon, 30 Dec 2024 00:57:54 +0100 [thread overview]
Message-ID: <87v7v2ujnh.fsf@gnu.org> (raw)
In-Reply-To: <874j2o70c3.fsf@russelstein.xyz> (Reepca Russelstein's message of "Sat, 28 Dec 2024 01:06:52 -0600")
Hey Reepca,
Reepca Russelstein <reepca@russelstein.xyz> skribis:
> Here is the reproducer:
Brilliant! It works wonderfully well.
I moved it to its own file to limit interference with others—plus it’s
one of our oldest bugs so it deserves it. ;-)
> P.S: If in attempting to turn this into a proper test, you try using the
> timeout argument to join-thread, be aware that a second attempt at
> calling join-thread on the same thread will fail with "In procedure
> lock-mutex: mutex already locked by thread". This is because
> join-thread in (ice-9 threads) has a bug in it: unlock-mutex is not
> called in the "else" case of the cond. I am mentioning this here in
> case I forget to make a proper report of it.
Heh, how many bugs did you find while chasing this one?
I pushed your patch together with the reproducer as
78da6951787f07e9460091885d7a9eb3e667b512.
Now we have to update the ‘guix’ package, though perhaps that’ll have to
wait until next year, we’ll see.
Thanks a lot for your work and for your support! You’re my hero. :-)
Ludo’.
next prev parent reply other threads:[~2024-12-29 23:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-11 14:06 bug#31785: Multiple client 'build-paths' RPCs can lead to daemon deadlock Ludovic Courtès
2019-09-06 9:04 ` Ludovic Courtès
2020-11-04 15:21 ` Ludovic Courtès
2024-12-21 16:22 ` Ludovic Courtès
2024-12-21 17:08 ` Ludovic Courtès
2024-12-21 22:43 ` Ludovic Courtès
2024-12-24 13:08 ` Reepca Russelstein via Bug reports for GNU Guix
2024-12-27 22:45 ` Ludovic Courtès
2024-12-28 7:06 ` Reepca Russelstein via Bug reports for GNU Guix
2024-12-29 23:57 ` Ludovic Courtès [this message]
2024-12-30 12:52 ` Ludovic Courtès
2025-01-02 22:36 ` 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=87v7v2ujnh.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=31785@debbugs.gnu.org \
--cc=guix@cbaines.net \
--cc=reepca@russelstein.xyz \
/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).