From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cPf9HF/icWf7bgAA62LTzQ:P1 (envelope-from ) for ; Sun, 29 Dec 2024 23:59:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cPf9HF/icWf7bgAA62LTzQ (envelope-from ) for ; Mon, 30 Dec 2024 00:59:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MBwPOPiX; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ID0KyssW; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735516767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RznLf7yIsVjCZEHscF8q83QnAqxOoK52fAFOgWk5iRA=; b=YjoBfdRiK9GTEfDJLeoF0tooMWQTqrhipDRN4FLFrFJl0o5YVdIdGGeZ+v8PAex7odPY+V GZJ0dxgg13u0iuw4VByo1bIZWA+FKQ9BwdOSfGqiB0UsL0b3kKo1pvFFzuWE2O3F5KD1aj mkdBYXAOVdrj4Pv8bqksPLLVMX9YBS35Q3eNPFaRqjTeCNTZy3vTmnAqgCF5WUpIMtHPBb vjCFC74vghGx3lcCqGerSfeR4601bJEYULGx3U+DTqYeGrUYzwaswAn7Xpu9vWyN3Faz5v Fxo5BlpHv7AeLzF7yHqjS0miYNYH5WB0gU06WhOzVM+YZO0CgPCRmPyIq9fmNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MBwPOPiX; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ID0KyssW; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735516767; a=rsa-sha256; cv=none; b=WO/DigmCq1iaz5RxyXItaMr+GI8Uekdv3jaUngTkkYG26AVkZ3+50NDD5W6OdlqbhIRSXY RGLDYGicZzABPL2k1qKfsRHmdR29CWUmtGK3oyocNtChig5ye+NI3EPNAssm+cTWK1+K9W wktY1yWy34FtcCJ2IMxCqJzjS8fHW1XbDTiZwyswht4DNrYIqsAPls88U90gMyHcQRIPpQ F+uvTJZdU6oPfZOfPs/a6dVyyPAD3rDIoBrsu8efsk5Bmk/YkPWQIMe6MZ8fVdW2vXQLvI zTlvX4uS+JrXxxhDJenP9d0BEpqsfhLP1jc4SJa5TV7nMwO7HlAHIVesjMWqug== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BDD738FC71 for ; Mon, 30 Dec 2024 00:59:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tS3BY-0007fB-3p; Sun, 29 Dec 2024 18:59:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tS3BW-0007eb-9g for bug-guix@gnu.org; Sun, 29 Dec 2024 18:59:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tS3BW-0002xb-0N for bug-guix@gnu.org; Sun, 29 Dec 2024 18:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=RznLf7yIsVjCZEHscF8q83QnAqxOoK52fAFOgWk5iRA=; b=MBwPOPiXbifkVB4QYMjVbCAJJNwGs5/L6CtlK/ImhupQtRX0Sb5GdzcaWpL37+rdZxfMNEclnPhSraslZ9Drb4rVkFg6HPmknDscOrgW5BGX+P9U7ie5eInuC8OeuAuHtwSiq3pd5UKcPzfCq1duI+CKxBOVd7M8c4cZkhuooL7RY+WucN0/6b6uFFSw1L/K5eINXJnISBYiI3jIXXPfQuoILgVcffK1705vG/+sRjLw/4eeY6pvAjyVVHisitPM7Q0HMTHPq6v0w9CkeDdYakpFodZWG4SYjtO7c+VD4l4x2O1s8XR66VWE2Umejoas5FZftvD56RkxoHreaXparQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tS3BV-0004mJ-RU for bug-guix@gnu.org; Sun, 29 Dec 2024 18:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#31785: Multiple client 'build-paths' RPCs can lead to daemon deadlock Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 29 Dec 2024 23:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31785 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Reepca Russelstein Cc: Christopher Baines , 31785@debbugs.gnu.org Received: via spool by 31785-submit@debbugs.gnu.org id=B31785.173551668618291 (code B ref 31785); Sun, 29 Dec 2024 23:59:01 +0000 Received: (at 31785) by debbugs.gnu.org; 29 Dec 2024 23:58:06 +0000 Received: from localhost ([127.0.0.1]:56595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tS3Ac-0004kx-1S for submit@debbugs.gnu.org; Sun, 29 Dec 2024 18:58:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tS3AZ-0004kO-Nu for 31785@debbugs.gnu.org; Sun, 29 Dec 2024 18:58:04 -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 1tS3AS-0002uF-W3; Sun, 29 Dec 2024 18:57:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=RznLf7yIsVjCZEHscF8q83QnAqxOoK52fAFOgWk5iRA=; b=ID0KyssWu0NKNRc/6oYz JtZfET15qUbuuNxMw1nCBoSx24FEd7T4VLsNWSkhFesGquY1NnTf4PFx6wwgTdeXiE1Wp+bH/liqG sPFRZF9UpGNJl4TUKrI1IuwoO7DFNwogC/al20Iuyip9ptTQHGZzWVHRl8Hxom9iiFxtjdUgx5M/R 3pqm65ALXPj4iyPZcR9gIAexiyklDhf6Y1xbkO2z3RhmlGw7zxtb6gilcBEZAOs6vRjygJVjfZ1fb 0MGwjF5HnE6DmC97FYAqypDXmA1EJU36Nh1s7mrkIL64zpKTs8u/qBXkXLeCkZWFIWEH/pdkkPZc1 obSWO9rENdKZBw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <874j2o70c3.fsf@russelstein.xyz> (Reepca Russelstein's message of "Sat, 28 Dec 2024 01:06:52 -0600") References: <87602ph0yv.fsf@gnu.org> <878qs9gg5k.fsf@gnu.org> <874j2xge0y.fsf@gnu.org> <87bjx16xej.fsf@russelstein.xyz> <87bjwwyccp.fsf@gnu.org> <874j2o70c3.fsf@russelstein.xyz> Date: Mon, 30 Dec 2024 00:57:54 +0100 Message-ID: <87v7v2ujnh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -7.10 X-Spam-Score: -7.10 X-Migadu-Queue-Id: BDD738FC71 X-TUID: QCEHriMqHILS Hey Reepca, Reepca Russelstein skribis: > Here is the reproducer: Brilliant! It works wonderfully well. I moved it to its own file to limit interference with others=E2=80=94plus i= t=E2=80=99s 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 =E2=80=98guix=E2=80=99 package, though perhaps th= at=E2=80=99ll have to wait until next year, we=E2=80=99ll see. Thanks a lot for your work and for your support! You=E2=80=99re my hero. = :-) Ludo=E2=80=99.