From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: emacsq via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53814: process-status returns invalid/undocumented status file-error for network process Date: Sun, 06 Feb 2022 12:32:22 +0000 Message-ID: References: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> Reply-To: emacsq Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40465"; mail-complaints-to="usenet@ciao.gmane.io" To: 53814@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 06 13:33:23 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nGgjK-000ANZ-E2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 13:33:22 +0100 Original-Received: from localhost ([::1]:38060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGgjI-0006pa-TK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 07:33:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGgj0-0006ly-Eo for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGgj0-0003ik-5m for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGgj0-000670-1h for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: emacsq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53814 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "Bug reports for GNU Emacs, the Swiss army knife of text editors" Original-Received: via spool by submit@debbugs.gnu.org id=B.164415077123474 (code B ref -1); Sun, 06 Feb 2022 12:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 12:32:51 +0000 Original-Received: from localhost ([127.0.0.1]:36695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGgip-00066Y-Db for submit@debbugs.gnu.org; Sun, 06 Feb 2022 07:32:51 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGgio-00066R-FG for submit@debbugs.gnu.org; Sun, 06 Feb 2022 07:32:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGgim-0006h5-8I for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:32:49 -0500 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]:54907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGgii-0003h0-Um for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:32:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644150743; bh=6quay1oxeIP5A3FjYonz+pMlNZT1SPwURXpibx0jvcE=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc; b=DZD6Bx31yY+p0uN/FY7lqO+TLHBmPz3+WkLmRRJZ267FyAk17O2uP2Fz3vsrAqocI 4plSVzzDElmY9IiZs3n/nhZMhgsJ4bSUHQlV8qID0r2TvIHA0WhoQSL/Z62BSMcqEc 3acwZK4flf6oG3TY7EG5axv00PXjJKIt4+F33KjIMA8uD3zzkIWL50sqWP0T8Oigh8 PUH3oYutj8LoTRj9C4mb5sV+H/ivhk811gwCOaU8fm4Gko3T05icxxB6+MEdIa7IQV LdipgpdarQxcQVgXoZDSnB5AFNTlZQyxmqgnpiX1beSwb6KgjM8pExnlrLRCAG2ogh DLKyw7OEqhluA== In-Reply-To: Received-SPF: pass client-ip=185.70.43.25; envelope-from=laszlomail@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , emacsq Xref: news.gmane.io gmane.emacs.bugs:226149 Archived-At: > So I guess it's a too many open connections error, but instead of > saying that, it sets the status to the undocumented file-error. I found a relevant commit from 2018 by Lars, and its commit says: src/process.c (connect_network_socket): When an async :family 'local client fails (with a file error, for instance), mark the process as failed. https://github.com/emacs-mirror/emacs/commit/92ba34d89ac4f5b5bbb818e1c39a3c= c12a405790#diff-18c8f6291e2c6a6f88223e509421492528e624157da1ba063401a6ffc36= e63b6L3595 Does failed here mean the Qfailed status? Then why is status set to to the car of file error returned by get_file_errno_data which returns file-error or some other file related bug? Somebody who was part of this discussion then may be able to shed some light on it.