From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4MpQGGzpj2Lm+AAAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 22:56: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 mp11.migadu.com with LMTPS id YEpbGGzpj2If5wAA9RJhRA (envelope-from ) for ; Thu, 26 May 2022 22:56:12 +0200 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 002E52DDAB for ; Thu, 26 May 2022 22:56:12 +0200 (CEST) Received: from localhost ([::1]:44958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuKWh-0008Lt-6k for larch@yhetil.org; Thu, 26 May 2022 16:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuKWY-0008LV-JR for bug-guix@gnu.org; Thu, 26 May 2022 16:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuKWY-00027H-Aw for bug-guix@gnu.org; Thu, 26 May 2022 16:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuKWY-0005tq-AP for bug-guix@gnu.org; Thu, 26 May 2022 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 26 May 2022 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55441 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines Cc: 55441@debbugs.gnu.org Received: via spool by 55441-submit@debbugs.gnu.org id=B55441.165359852922633 (code B ref 55441); Thu, 26 May 2022 20:56:02 +0000 Received: (at 55441) by debbugs.gnu.org; 26 May 2022 20:55:29 +0000 Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuKW1-0005sz-Gd for submit@debbugs.gnu.org; Thu, 26 May 2022 16:55:29 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:38238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuKVy-0005sp-Ul for 55441@debbugs.gnu.org; Thu, 26 May 2022 16:55:28 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id bYvR270014UW6Th06YvRRS; Thu, 26 May 2022 22:55:25 +0200 Message-ID: <4e763e7f1dafa427a1cf82df3241b90282085931.camel@telenet.be> From: Maxime Devos Date: Thu, 26 May 2022 22:55:17 +0200 In-Reply-To: <20220526205047.23960-1-dev@jpoiret.xyz> References: <87sfow10lc.fsf@jpoiret.xyz> <20220526205047.23960-1-dev@jpoiret.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-n/c6yq61ysNVHcOesppq" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1653598525; bh=PG3nwvgBkstb95cZuMbaOp02wbuZSEh0Bj+UPl03qSk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=JvvLUWGejbmmtOHf81a1Vpw1zb0yKvKyXI9ClwR6RnyTmTIOV1T6bVcZ6EHefa/lR SDQN4xmgcy6/2C8NIxF6T3CaFXuJCZTmvHs/Gmd6rM9c/jjFJOGBtWCMN/7lmU3qdc 7EXJEvwsVLodaquEpF0A0id4fw8JKN/yT5rdBbD/zWpPsljU8H9S9+wBp76Bn7ddn9 zUyoTrcfgcDz5BE4e8oKNJw1PoXD/KY1CbEQABRVh4WiNS4eq4jpsG2cuWWVpF2Mfd SfRVzungQyOutOVCDaP9l9Ecyn9GhVqIxuUwTp2PY41zodJrjzgxL+xW5nN2jInMDH XdCvYWAruygKw== 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653598572; 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: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=PG3nwvgBkstb95cZuMbaOp02wbuZSEh0Bj+UPl03qSk=; b=NRUF8hDxaQXoSQ0fBxKkCGov/HXmf14x+AtDRQe0OEd+Jm6AkZ0P+ahX6UvGni3iMy1VPD +mXrFEdaKTR/hr3MCK8VHdzIomfdjdQSqeyAA8/5w+mmSfp/5lggAxWusJlKOAtkr5N2/4 X8ouVIybKRMr1VhTWw6I53g2VmQy28ac1OCEQ4lO+1Oa3Bq9ppR8NtYHVpZYGve85j0W51 05MJWATJ9Zk4XAqQnYndvt6br82txI71O7DvY6UfU6OiZyIdKxKZmoSkh08MuHSHe4Qzsn SvKTng60Ey9w5yiCLCLu8KOc0oLsgSU4aezChx0TYHvG9za5BC6jwuje1CmzDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653598572; a=rsa-sha256; cv=none; b=SB3V0CCjvErz4JBFT/Bwnn0BBNi5L6T/PvtP+vKdYerHzkp4rXlMLJsWftW+KQpikbDBqn stmKd08nKOcr1GXeQ3MbdIVvMFdOHFIfAtCnU435/b7x32zBKdEcR9izxSd1MXuPjp63X+ 2e8dedACU/86eaDLbZX0WeNnP0x31lnOAvauvGpuH6/dFnVE8CevsWJGwVYRQseU6UJz1p HQynwRLMKiccD9/bKZQ92vrg1reT3CQ55PvkicGfjZtc3DdO53pI4mx59kJnst11LtSTxu 168YYutwpBCqQnjl5RMR9ZuvmvDClweVF80qdcuYGfZOXmyp20saTqAg9QH6ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=JvvLUWGe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Spam-Score: 5.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=JvvLUWGe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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" X-Migadu-Queue-Id: 002E52DDAB X-Spam-Score: 5.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: a1SZ7LQy1n9b --=-n/c6yq61ysNVHcOesppq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret via Bug reports for GNU Guix schreef op do 26-05-2022 om 22:50 [+0200]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fprintf (fdopen (err, "a"), "start_child:= dup failed: %s\n", msg); fdopen can fail due to out-of-memory problems, so you'll have to check the return value, or use dprintf instead which accepts a file descriptor. Greetings, Maxime. --=-n/c6yq61ysNVHcOesppq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYo/pNRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7talAP9oVkIikXdtWSzxvOeu2raaTF02 ReTzA5XqSaNnJhyCQwEAtzuFYJrpDBQj5uTwIE14lv97DjuYJHQl9SYhjRmK5Qk= =wFJT -----END PGP SIGNATURE----- --=-n/c6yq61ysNVHcOesppq--