From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wAOvD8D5lmBDawEAgWs5BA (envelope-from ) for ; Sat, 08 May 2021 22:51:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8INdC8D5lmAsawAA1q6Kng (envelope-from ) for ; Sat, 08 May 2021 20:51:12 +0000 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 6953E1691C for ; Sat, 8 May 2021 22:51:11 +0200 (CEST) Received: from localhost ([::1]:43164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfTun-0003jh-NF for larch@yhetil.org; Sat, 08 May 2021 16:51:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfTug-0003jY-ET for bug-guix@gnu.org; Sat, 08 May 2021 16:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfTug-0004XW-3t for bug-guix@gnu.org; Sat, 08 May 2021 16:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfTug-0005Mz-0Z for bug-guix@gnu.org; Sat, 08 May 2021 16:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41948: Shepherd deadlocks Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 May 2021 20:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41948 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrew Whatson Received: via spool by 41948-submit@debbugs.gnu.org id=B41948.162050706020635 (code B ref 41948); Sat, 08 May 2021 20:51:01 +0000 Received: (at 41948) by debbugs.gnu.org; 8 May 2021 20:51:00 +0000 Received: from localhost ([127.0.0.1]:52218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfTue-0005Ml-2o for submit@debbugs.gnu.org; Sat, 08 May 2021 16:51:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfTuc-0005Mf-3E for 41948@debbugs.gnu.org; Sat, 08 May 2021 16:50:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45216) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfTuV-0004TI-MP; Sat, 08 May 2021 16:50:51 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56060 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfTuV-0001Ct-Ce; Sat, 08 May 2021 16:50:51 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87im3ta7dg.fsf@gnu.org> <20210508134908.3133397-1-whatson@gmail.com> <20210508134908.3133397-2-whatson@gmail.com> Date: Sat, 08 May 2021 22:50:49 +0200 In-Reply-To: <20210508134908.3133397-2-whatson@gmail.com> (Andrew Whatson's message of "Sat, 8 May 2021 23:49:08 +1000") Message-ID: <871rah7xw6.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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: , Cc: 41948@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620507071; 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; bh=bCKKGyk+dy/s0GFelv3A0VlPDeLRpSFcpYcOc9+7A+w=; b=VCbBtgjeTFCKD8nqBYxPvqpXnL+9UTon1rEoENB4dSINgfKI35UiTThfNdWNVkNTCLe8Pr LZXs3QqlOJc+kmrpSQldNi9IKT0jmJjYCg3dORG2rYR5p9TdFTdxmyW1S9tKbvdbe6fS3A 2hf/L67dcPXfo1UzjmBiFfVoiTWV6y3JI8ZLZMYn23rZ0mYVXZfhMEKziOqsO7hcRzRwfY fSgEyKuzxG7J7YDQgI06+zDtRXTZLL/+QuBvFR4g4QK0Pyb6ydlWJqL4+MJtMdHz8PyXXX +LQ2RwDIyOwSYJcs65QX7D8Gc+kmOFKwl0ObScR/GSblFbSZcFzncUG43cx/2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620507071; a=rsa-sha256; cv=none; b=l8ZixAU5QAZVbejDcAP0ORZP2Ok+DbImJvDy8APWsR5CsSDcjh3spozft1Gruh7WFs/905 Qm7Dh7DCOL9QrN8fkWB/Zq58xd6JbcFbPHKCQd/fP3VcLYq5tDmqni6bvHOJSeXVzEp2XN +aFVsnL3dtpylavJ45apyOBFjd/efl6ihPEaQBZTTESaA8VotQS2+tBpYDF93nbEF4jYoN oMaeNkp3ycNEc6OF3RIsYNnpcSExMnKx8gigTvOu/f6mqfF87Ki2zczuyqDF1fz7Jf+mJa l/tdrmvpEeWXlgPahfV6fiwtjqKCgc4V5dTV+Fxw/cwfjSod77+AbJVXk4dxnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6953E1691C X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: vOvhjjoZwBnJ Hi Andrew, Andrew Whatson skribis: > * libguile/finalizers.c (finalization_pipe): Initialize. > (reset_finalization_pipe): Factored out. > (start_finalization_thread): Create the pipe immediately before > launching the thread. Ensure the pipe is cleaned up if thread creation > fails. Update the finalizer callback if thread creation succeeds. > (stop_finalization_thread): Clean up the pipe after stopping the thread. > (spawn_finalizer_thread): Remove finalizer callback logic. > (scm_set_automatic_finalization_enabled): Remove pipe management. > (scm_init_finalizer_thread): Remove pipe management. I tweaked the commit log and pushed as 5a281e35f4a5ae78fbcf10591d9358bec8f0bee0. Thanks! Ludo=E2=80=99.