From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Saulius Menkevicius Newsgroups: gmane.emacs.devel Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible. Date: Tue, 8 Feb 2022 14:18:43 +0200 Message-ID: References: <87czk5brgr.fsf@gmail.com> <7BD6026F-D756-42C3-9FCC-724D9A6B2378@fastmail.com> <187BA387-6D96-457A-A157-388AD9379D85@fastmail.com> <83tud9wo9e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16039"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Cc: alan@idiocy.org, rpluim@gmail.com, emacs-devel@gnu.org, p.stephani2@gmail.com, matt@rfc20.org, mituharu@math.s.chiba-u.ac.jp To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 09 04:26:27 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHdcg-0003zT-PT for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 04:26:27 +0100 Original-Received: from localhost ([::1]:60422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHdcf-0008Cd-6r for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Feb 2022 22:26:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPSO-0003gw-9m for emacs-devel@gnu.org; Tue, 08 Feb 2022 07:18:53 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:58367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPSL-0000nV-1w; Tue, 08 Feb 2022 07:18:51 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B084A3201D7C; Tue, 8 Feb 2022 07:18:46 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 08 Feb 2022 07:18:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=Jr4RCemwP55a1W g6dMhxSmOZlaJrIur79v7q6Rvkwdo=; b=ds5FAVWhrHOVBxukmsIhShqt9t8nEK zW/6ofpKN+1DrxvD8e+uYWF9wYl+Nci0dU/yXO953QrybYgv7k2crD/m9kXoZO3b n57jIFLavs/PxfyKF+XOzbZG0UrU03fsEiLjqgQ7wAKjvBwzUKZsMVje3lRWZImH XihX/Ia4i7kuEffpBx1GgxWsKg0KPO7phfeU2hPXFTco7fKuIqWzp6mYl90qB2UL lNnxL2//N9A56Fna81lEr6bKBpDx4arQg0pcJdpGR+ei6y8R9zQ7/k46hFi9Wtxu AG2RxMdg8Rq1hteqHsbyeMibqpCS8r7+aw9VIJTgBWp3h9+HuxXWRtAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Jr4RCemwP55a1Wg6dMhxSmOZlaJrIur79v7q6Rvkw do=; b=ijQr8wNuDYNox18icvfC7++G0s9q98m+Iy/r6RMcstDVisHHVD+R10ghs PAB5lOY7uYT0Vb27c8eV0WiXEr0NOpqIyez+rzF4QyBKyV9DikhTFXlNkqULd9t8 iyV2hgk13Ohst/4xoDA3GujFXd1GUg/0OdAOtsOU86eJnVyaTAis0GmIDB62pyfC aYRIjBuQP4LYUBvYjr+RSlbP24KQZk71wVC3xpyR093fa73e7bptE28ZEh9unc8s krL8ijG92wj6eJ8oxXahAfc/MnvJEqslR789OtdwkEohMZPCg2tsKzmjqdPfSIqs Mjr260aG3GZOkGf0qpE4BEUY75W+w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheejgdefhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpefurghulhhi uhhsucfovghnkhgvvhhitghiuhhsuceoshgruhhlihhushhmvghnkhgvvhhitghiuhhsse hfrghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepfedvtddttdekvdfgleeh heeiffehudehgeeiuedvgfejudevueegtefgtdettedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgruhhlihhushhmvghnkhgvvhhitghi uhhssehfrghsthhmrghilhdrtghomh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Feb 2022 07:18:44 -0500 (EST) Content-Language: en-US In-Reply-To: <83tud9wo9e.fsf@gnu.org> Received-SPF: pass client-ip=64.147.123.21; envelope-from=sauliusmenkevicius@fastmail.com; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 08 Feb 2022 22:22:27 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286083 Archived-At: I believe this is not a problem related to C#/dotnet but generally with how signals are blocked on child processes launched with posix_spawn in the current implementation. I will try to provide a minimal replication code that does not have anything to do with dotnet/C#. -Saulius Am 08.02.22 um 14:12 schrieb Eli Zaretskii: >> From: Saulius Menkevicius >> Date: Mon, 7 Feb 2022 23:12:27 +0200 >> Cc: Alan Third , emacs-devel@gnu.org, p.stephani2@gmail.com, >> Matt Armstrong , Eli Zaretskii , >> mituharu@math.s.chiba-u.ac.jp >> >> Hello Robert, Eli, >> >> I can confirm that this patch is needed for emacs-28 too, as currently emacs on macOS blocks SIGCHLD the same way as it does on Linux. >> >> Applying Robert’s patch on emacs-28 fixes the issue on macOS. > How important is this on macOS? I _really_ don't want to start > experiments with signals on the release branch, I prefer to tell users > C# is broken on macOS unless they either build without posix_spawn or > use the master branch.