From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.bugs Subject: bug#56606: Acknowledgement (29.0.50; recent master fails with "creating pipe: too many open files") Date: Mon, 18 Jul 2022 17:04:05 -0700 Message-ID: <86h73ex91m.fsf@stephe-leake.org> References: <86ilnwafso.fsf@stephe-leake.org> <86a6989itv.fsf@stephe-leake.org> <8335f0qbvn.fsf@gnu.org> <831qujrjnm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24830"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cc: 56606@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 19 02:05:38 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 1oDak5-0006DS-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 02:05:38 +0200 Original-Received: from localhost ([::1]:38556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDak4-0001UM-IC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 20:05:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDajY-0001UB-Ux for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 20:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDajW-00058B-Mh for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 20:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDajW-0001H9-GQ for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 20:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Leake Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2022 00:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56606 X-GNU-PR-Package: emacs Original-Received: via spool by 56606-submit@debbugs.gnu.org id=B56606.16581890704857 (code B ref 56606); Tue, 19 Jul 2022 00:05:02 +0000 Original-Received: (at 56606) by debbugs.gnu.org; 19 Jul 2022 00:04:30 +0000 Original-Received: from localhost ([127.0.0.1]:52423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDaj0-0001GG-DV for submit@debbugs.gnu.org; Mon, 18 Jul 2022 20:04:30 -0400 Original-Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:58592 helo=progateway7-pub.mail.pro1.eigbox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDaiw-0001G1-9p for 56606@debbugs.gnu.org; Mon, 18 Jul 2022 20:04:29 -0400 Original-Received: from cmgw10.mail.unifiedlayer.com (unknown [10.0.90.125]) by progateway7.mail.pro1.eigbox.com (Postfix) with ESMTP id 6C1C51004BCAC for <56606@debbugs.gnu.org>; Tue, 19 Jul 2022 00:04:08 +0000 (UTC) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with ESMTP id DaieohqlBCokGDaieoRdf6; Tue, 19 Jul 2022 00:04:08 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=d+QwdTvE c=1 sm=1 tr=0 ts=62d5f4f8 a=dWLzHQi6WpdymmZIwiVdBw==:117 a=Fln8i1WyhtedwaIJAdHvmw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=RgO8CyIxsXoA:10:nop_rcvd_month_year a=vvvmwbhNdt4A:10:endurance_base64_authed_username_1 a=mDV3o1hIAAAA:8 a=9i_RQKNPAAAA:8 a=gFfRIOhyH20drI7lYosA:9 a=08SdAWmJyisA:10:uccc_2email_address a=_FVE-zBwftR9WsbkzFJk:22 a=Ev4oQ7kfJBNsvnoXShoW:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rcNMG19/J337Bub1CiULb1VKi+gY1/xRwSJ1t0r3RpA=; b=kN0iAjrjdll9sx4URVpuRKS92g xJ52B0AFO+hrmWd/pWAV7rtHJeiIcntc46hF626XetqEAAdFpAZ/MXgIIN/ZKVekyN7tgrekGAr+u NiX/OIiD3MBphK/EmKKj9cNY49vyz6cnwDg8OJZx7kml1ndqyDxIBnOSOfoqRHgL/5tWXM8slw6ID WWfmhDsoCKk1l5vj95Ry4VSKKjkgInzZ6Lgl8MO+H6peYHlDpeFPQO4aIEKmGZGkn7Dru4d12f3FA dFNZCif/7ldukOAsjjoHwBhQGgtvc+Pa9EBGB5TB5Q9HCIhThQmkLlXzhJGvWhTKunh4y75ltcotz haeU/J4w==; Original-Received: from 135-180-197-170.fiber.dynamic.sonic.net ([135.180.197.170]:61609 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oDaie-000Fba-1K; Mon, 18 Jul 2022 18:04:08 -0600 In-Reply-To: <831qujrjnm.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Jul 2022 15:46:53 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 135.180.197.170 X-Source-L: No X-Exim-ID: 1oDaie-000Fba-1K X-Source-Sender: 135-180-197-170.fiber.dynamic.sonic.net (Takver4) [135.180.197.170]:61609 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 2 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes 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" Xref: news.gmane.io gmane.emacs.bugs:237391 Archived-At: Eli Zaretskii writes: >> Cc: 56606@debbugs.gnu.org >> Date: Sun, 17 Jul 2022 13:20:12 +0300 >> From: Eli Zaretskii >> >> > From: Stephen Leake >> > Date: Sun, 17 Jul 2022 02:42:04 -0700 >> > >> > On emacs-devel, Eli said: >> > >> > AFAICT, this loop in deactivate_process: >> > >> > /* Beware SIGCHLD hereabouts. */ >> > >> > for (i = 0; i < PROCESS_OPEN_FDS; i++) >> > close_process_fd (&p->open_fd[i]); >> > >> > doesn't close the last of the 4 descriptors opened by the 2 emacs_pipe >> > calls in make-pipe-process. It calls 'close' with the right value, >> > and close returns zero, but the pipe stays open. In Emacs 28, this >> > same loop successfully closes the descriptor. I don't know why. >> > >> > Perhaps bisecting could help. >> >> I think commit a81669c could be the culprit. > > I hope I fixed this now on master. > Yes, it is fixed, by 637436970f34f860d50f73a514b3bafd0c5cace7. -- -- Stephe