From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#61350: Eglot over Tramp freezes with large project Date: Tue, 14 Mar 2023 16:42:44 +0100 Message-ID: <87a60fl4p7.fsf@gmx.de> References: <87y1ootw2t.fsf@gmail.com> <87356n8kja.fsf@gmail.com> <877cvvfnp6.fsf@gmx.de> <54377687.213790.1678016749459@office.mailbox.org> <87356jfktc.fsf@gmx.de> <87a60ovi90.fsf@gmx.de> <31964054.380679.1678194256931@office.mailbox.org> <87r0u0u0rl.fsf@gmx.de> <87mt4otyy1.fsf@gmx.de> <87pm9fk6ht.fsf@gmx.de> <87mt4jzf8q.fsf@gmail.com> <87fsabh2z2.fsf@gmx.de> <87edpvxu7w.fsf@gmail.com> <87bkkzgyb8.fsf@gmx.de> <87lek2x09t.fsf@gmail.com> <875yb646d1.fsf@gmx.de> <87fsa7mw9x.fsf@gmx.de> <87fsa7l6o6.fsf@gmx.de> 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="1679"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Thomas Koch , monnier@iro.umontreal.ca, 61350@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 14 16:43:32 2023 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 1pc6oF-0000Ej-Vd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Mar 2023 16:43:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pc6no-0004fs-7N; Tue, 14 Mar 2023 11:43:04 -0400 Original-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 1pc6nm-0004fP-6M for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2023 11:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pc6nl-0008Nw-Tj for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2023 11:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pc6nl-0008Jq-Mm for bug-gnu-emacs@gnu.org; Tue, 14 Mar 2023 11:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Mar 2023 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61350 X-GNU-PR-Package: emacs Original-Received: via spool by 61350-submit@debbugs.gnu.org id=B61350.167880857831968 (code B ref 61350); Tue, 14 Mar 2023 15:43:01 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 14 Mar 2023 15:42:58 +0000 Original-Received: from localhost ([127.0.0.1]:38272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pc6nh-0008JY-Pw for submit@debbugs.gnu.org; Tue, 14 Mar 2023 11:42:58 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:40365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pc6nf-0008JK-Gr for 61350@debbugs.gnu.org; Tue, 14 Mar 2023 11:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1678808566; i=michael.albinus@gmx.de; bh=JWjkfQ0p20rtM6gzu/ERDPlIzto+soc1P+VQ8A3UVug=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=K7lRPoNKFD7Zvh0b2m5vs7Wq5zeNGhfs57qxpzqCok4jKoJ7bZvXseMkXrhWOc3OD iArdB62TAsahVuVmjyw/tDPBCXJEIQcxFbv9pOUUcCnCb0HiYzQI/bNRoXhEcmNRKw 35qDV44nefJc7tz5JNR4FNpJ1kwA+2EdRxAyL03ZxxjnBc+VjbSvv3cT0IQYeQwKRU xOccjJZBXFwx9jqQe/PpPE5wYFHbe/1Mn4IQMkLqaeEeGbHHk+nPjYNyrIDyTJXUE8 gvUEUwNsZ4XEwEJZlZlcPSD6axwNDDyMlMnZ6XmxNKaffZUmHaUT0osyEKyfSkmb/a qMQ+c0TZuurXA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MI5UN-1piRm63iZb-00F7iR; Tue, 14 Mar 2023 16:42:45 +0100 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 14 Mar 2023 15:19:54 +0000") X-Provags-ID: V03:K1:vWOQutdf4BRCENcFUweZxRJgCMQ3wuHHDBPXnW1o2N7vLDbSH+S miirr+2Gm61R1y2pHN5H0R8iwLoW3IhH9jsYACLuP2WRCac8vga4Z1rIssQgEuWHxUv4NMG QqDZS5IH4/ERdBij9E2z7hzY8jqT0IcDCh82bIL4PabFNYBiQHn2JDGX20Z1selsWy6ARoj q/F+sLka9pwasbcIusotA== UI-OutboundReport: notjunk:1;M01:P0:cQU4kMJZgzQ=;D/ozqgijqHbhVXIzZ86l5vNerGP gDXR9afBkL6p4pOGJ59RbJZxoKVI9MQRXsZaDyXjWpewNUXvjiV553xhw77vP62K89YulcfmN QyRyhig5yGO0dQzGCTXij05XRo312sCuEdofdK6vKtcXMXs+F65WdrEs1t8QgCg+PeiiSj+AC BWAibXmi5kL3PX2FImSf8pK8W6fhPYt80MX0gkmpw+WgmbJgH8RuVJ0ipFHtxoZe8IB5szNcE CHw9MzpZq2ro+QE0gAdgZNPPHIFQywGLPClp2T8wUwrh/H6GmsbKvOwovRVfv5liVnSM0WUme NAcQPasIM65zsCTz3+AFFycZ6nqekCFOokv4xQbfq6qss/lKkoJsDJpbXp64zYfSxBJhRsqPp pkSSIGOWAxE3p2HsrnON6+5fTptWFwlsijEG7FUaGcIEbLMj6Cr6FL+zqPn+TldD6/4XbgLmU aDY+shQL8bGln9Bdx4puIL60F1o+vpGFrd+vZ/DMzdrrpVTEzQBhylgh1maWK4leS5fGRvLSr ++oagT1xa4TQd/ixzo7oZ7hLIrZCKHMTx0Pt3dRN3IkkXZzTEGvitHmwaGRdcpdsACVLY0x8H 7+0v55vfNbbcZ5YGMK9bQCJj0o/E4H3HFqkvtxJh5OZBPWs6DLCEm7WrkeBUTXRnMyWvpu+7h ctFTOh8XS27Vbl0qsYnmi2gnY2jQDo+BS8/NqSMISaFCIu8TP5Cd4oz1U8vndxMlhCHhv2Ipq xx5/trX9swavXPF6NBNi/aizv++qPbtwTsXbhpPNTLhZIVobrWNA4j4i/LnLIBZhl8470uh+ 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257939 Archived-At: Jo=C3=A3o T=C3=A1vora writes: Hi Jo=C3=A3o, >> I will investigate. IMHO, this is the final indication that we shouldn't >> allow a nil JUST-THIS-ONE in accept-process-output. > > I don't see this failure as an indication of that, at all!! > > First, you didn't do that -- put nil in JUST-THIS-ONE -- did you? > At most this means that you are doing more or less the same > as setting JUST-THIS-ONE to nil, but in a much more convoluted > way, so that you may as well start setting JUST-THIS-ONE to nil... It is an indication, that, if some processes accept output at the same time, and this output runs through process filters, anything can happen. No, I didn't set JUST-THIS-ONE to nil. I just allow related processes, belonging to the same Tramp connection, to do so. This is a case we have under our control. When JUSt_THIS-ONE is set to nil, the same could happen to any arbitrary process running randomly in concurrency to a Tramp process, and this we wouldn't have under our control. > ...and bite the bullet, continuing this analysis. We're making > progress... Sure, I'll do. Coincidently, the author of filenotify.el and filenotify-tests.el is well known to us, I'll contact him :-) > For me, this means that those auto-revert and symlinks-remote tests, > whatever they are, must be investigated. It's good that you have these > tests! Do they fail in all Emacsen or just some? Always/sometimes? > Can I reproduce this here? This happens with Emacs master (which runs on EMBA). And I could reproduce it locally, with slightly modified error messages, by --8<---------------cut here---------------start------------->8--- # make -C test filenotify-tests --8<---------------cut here---------------end--------------->8--- > After we get a consistent failure, we should ask ourselves what exactly > is the reentrancy in question here. Perhaps you already have a conjecture > of the chain of events that leads to it. Yes, I have. Contacting the author ... > Jo=C3=A3o Best regards, Michael.