From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GWQiISFIfmVEWgAAkFu2QA (envelope-from ) for ; Sun, 17 Dec 2023 02:00:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6GyFGyFIfmXotAAA62LTzQ (envelope-from ) for ; Sun, 17 Dec 2023 02:00:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=HiG6H+GN; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702774817; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9FeyvTjMS+tdUXWUOk1mC32wjHSDftUSF7itEeQsNbU=; b=NdSsHorQdZwZj5bwkzFBAuGKLd8UhZ18qJlzCaU2pjCvhYvGHoYCft0stpg17F4qQ6vyaW 1QukFlv/5pjhM4HirRkMMtBf9/Sg3lMbbjCcRwk9uVhr7BFCW0i5z1d5s3rRMV5bQ4Bn0S s80s9oRebE82jKnQBCL52NjXyLu3af9i47WdY3odnvWk8ety513Oea/3BCD9BW2XLo8Blm HgliGBaTBxIJG8j6zxptJMxvA/M+SQapvT5/VAXA8tmx3NAHlIuTWBENukNOXDRqwomfW3 C6rhKce1kvdPOKKf7CSuGAN+21loPunCZDenKUJjFFvLXyUC2/NKP1HSfi+SmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=HiG6H+GN; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702774817; a=rsa-sha256; cv=none; b=KbZzmXBwbdJ34X/y7MWM65lpyVuIdJcRTPCmR9/nfD/JFRxdqrl0AYChcdBHqqmArxFpGc /HEYJWefJ74GSagNp4OM1/XyFO8esVXQ0NP1Ba9iX1WPyllo4NFOWmwQxnP1WV78q+dwQH Min3doZU9S8YLvarW9eyTLxv1671oaM0Q7Hi5hS1/sfaYL0Ku0f8RyG85hOmdBoK8eQKea YL5OReAspAs4aurkmVkU9afIa6Jm9H3uwtCHp/nFi5UHzcGp3BV8GCjrLa4h6cq89/OKLD uSddEJ4ZS+gjbOvKBueLU7/toE+OOpmntGKaldPBKToV/pCxx16frFhTDSbGnw== 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 E5E183856A for ; Sun, 17 Dec 2023 02:00:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEfVJ-0003tH-AM; Sat, 16 Dec 2023 19:59:37 -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 1rEfVH-0003t9-7G for guix-devel@gnu.org; Sat, 16 Dec 2023 19:59:35 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEfVD-0000UV-Go for guix-devel@gnu.org; Sat, 16 Dec 2023 19:59:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1702774767; x=1703033967; bh=9FeyvTjMS+tdUXWUOk1mC32wjHSDftUSF7itEeQsNbU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=HiG6H+GNwrjyv2wsuhNXUZAFhqCFtb2gbwjbB5U+jFh3jufUjxz0qOm6SNnGngKrN unwo0b0vDOmQrbThFxdCLlgz6tVHjXetQtIzb33AnAuGKipmIyRXTsBa6CeWBggBd7 6TXIpUhmW4bmJcIQRA/jvPEw6tE4RZMtfJi4Nfp40tGj01CJhpfHg4htygpU5P2g9H Mw2zI8HQkqr4OcohToN10ojQDYralugJLY8xUf0IFENxkVmMYmQozlNiye7umcSHUe rS/0O6QiBgUX8LT76huiMXnMsLVptQVBOSslaUb4zQ3TtDaEqQt6PH/Q5It0x/BlBj vrfd6PreHeHsQ== Date: Sun, 17 Dec 2023 00:59:07 +0000 To: Attila Lendvai From: Attila Lendvai Cc: guix-devel Subject: Re: shepherd, fibers, and signals (asyncs) Message-ID: In-Reply-To: References: Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.proton.ch X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TO_EQ_FM_DIRECT_MX=2.499, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.52 X-Spam-Score: -6.52 X-Migadu-Queue-Id: E5E183856A X-TUID: Hwr6+8o0XlTm @emixa-d kindly proposed something that turned out to be a fix: https://github.com/wingo/fibers/issues/29#issuecomment-1858922276 i've sent it to: shepherd: sometimes hangs on `guix system reconfigure` https://issues.guix.gnu.org/67839#6 in essence: shepherd violates the fibers API by calling it from an async signal handler= , and this is an issue indeed, but the bugs caused by this should manifest = rarely and randomly; i.e. the frozen recofigure behavior must be caused by = something else. the actual root cause here was that the with-process-monitor parameterize w= as not covering some code that it should have. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CI am not what happened to me, I am what I choose to become.= =E2=80=9D =09=E2=80=94 Carl Jung (1875=E2=80=931961)