From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#61350: Eglot over Tramp freezes with large project Date: Wed, 15 Mar 2023 18:05:10 +0000 Message-ID: References: <87y1ootw2t.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> <87a60fl4p7.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000005bb4205f6f43027" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1938"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thomas Koch , Michael Albinus , 61350@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 15 19:06:24 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 1pcVW3-0000DY-AX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Mar 2023 19:06:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcVVl-00033J-1v; Wed, 15 Mar 2023 14:06:05 -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 1pcVVj-00032g-CI for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2023 14:06:03 -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 1pcVVi-0005XN-CU for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2023 14:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcVVi-00058J-7g for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2023 14:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Mar 2023 18:06:02 +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.167890352919688 (code B ref 61350); Wed, 15 Mar 2023 18:06:02 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 15 Mar 2023 18:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:40544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcVVB-00057T-3e for submit@debbugs.gnu.org; Wed, 15 Mar 2023 14:05:29 -0400 Original-Received: from mail-oa1-f54.google.com ([209.85.160.54]:39509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcVV9-00057E-Cw for 61350@debbugs.gnu.org; Wed, 15 Mar 2023 14:05:27 -0400 Original-Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-176eae36feaso21933985fac.6 for <61350@debbugs.gnu.org>; Wed, 15 Mar 2023 11:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678903521; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5hxq7wYc8zx/DyblEnvF1FlqZJrTcptB62gIm5k0WW0=; b=XlGb/h5oISLOijv3ht6XBkMnfx7e6KAVQikiLcxyGtle5Z+WDm+YkG3OnxaHv3FY8U h+607wfhY9r/W+sh6SyS+Zdprc+aOIU99hQxFdY5ukHSCGzNQVzHYqLxTxK8bi909VbQ USSd5SSbWzeQEdB+EbHBTcI8qxyGaggYuZqfT6vi5SiCFzvy9JT2qiNUbI0ix/AF5yZy 3ghMd2GzNEBuyKv8BZcyaRoHJnkmRG0ndZmsl8LO1XfKAf4o9fCAb8sgnJM+oxcODj76 cQ/yTysqdBXTnKR5+gLCQvZ6CTr3cGbVc/mMReKGNsu889/hS5wijizLettdIobM8qCN 87Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678903521; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5hxq7wYc8zx/DyblEnvF1FlqZJrTcptB62gIm5k0WW0=; b=BzcsLY0jyTQeiRLWr5744erMUKTvUBz5qC5PUtN/ReXvz57q630NL+eFdkTrxU5TN+ ymed3xKZxNOu9ERzXx8XamfT2oyhquYE1sohAa7e0cf5ziivqDcqzPpJnrN+9UZLFS4J o9UrAwSDpshc0XKl3HMnRmsEYVbQqpHflKToN4ujZQaiUcq2Q9uQohr/VnWEHvdi5Z8O lcGODko2z9btfYB3oa30Nhvbyth4Ie+AC1EPNvKVQT73blUdh06oxoZ8jmWvWNIoaoq8 j9aur/jFd2BrOwM2z0qCHYqbRJDi7HCJI8iTSZq0TGlz+FcHWJysFSI5FzAkg9FRBhYx Q/8A== X-Gm-Message-State: AO0yUKUfVrXefU0UQKQT+/4PTtceTLE78p25PJ1B9KbYGhjhLtB+v8U3 Gf4xTcl1aR9SHKyIDh/Sm6Si7P7KPIlnOwL0D/I= X-Google-Smtp-Source: AK7set+IyItQNr2HW6ID49iEC443peQru/RTK5yd9+ty2FGRgyZ+yD9DTrj6BPDjiygS8YATSnxKeZWeJrg4KDLLsTs= X-Received: by 2002:a05:6870:1197:b0:178:46fd:17da with SMTP id 23-20020a056870119700b0017846fd17damr3061666oau.5.1678903521680; Wed, 15 Mar 2023 11:05:21 -0700 (PDT) In-Reply-To: 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:257975 Archived-At: --00000000000005bb4205f6f43027 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 15, 2023, 17:47 Stefan Monnier wrote= : > > It is an indication, that, if some processes accept output at the same > > time, and this output runs through process filters, anything can happen= . > > Yes, this is a fundamental problem in Emacs's handling of asynchronous > execution. We should really revisit this. > We could start by understanding exactly what is triggering this reentrancy. AFAIU, we don't. If have a recipe to trigger is consistently, now we should work backwards from there. Jo=C3=A3o > --00000000000005bb4205f6f43027 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 15, 2023, 17:47 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> It is an indication, that, if some p= rocesses accept output at the same
> time, and this output runs through process filters, anything can happe= n.

Yes, this is a fundamental problem in Emacs's handling of asynchronous<= br> execution.=C2=A0 We should really revisit this.=C2=A0

We could start by unde= rstanding exactly what is triggering this reentrancy. AFAIU, we don't. = If have a recipe to trigger is consistently, now we should work backwards f= rom there.

Jo=C3=A3o
--00000000000005bb4205f6f43027--