From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Koch Newsgroups: gmane.emacs.bugs Subject: bug#61350: Eglot over Tramp freezes with large project Date: Tue, 7 Feb 2023 18:33:01 +0200 (EET) Message-ID: <1163788660.69273.1675787581764@office.mailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29704"; mail-complaints-to="usenet@ciao.gmane.io" To: 61350@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 07 19:50:42 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 1pPT3A-0007Uc-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Feb 2023 19:50:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPT1s-0003VO-6X; Tue, 07 Feb 2023 13:49:20 -0500 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 1pPT1a-0003EW-PA for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 13:49:07 -0500 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 1pPT1a-00019m-HT for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 13:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPT1a-0004po-D9 for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 13:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Koch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2023 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61350 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.167579569818477 (code B ref -1); Tue, 07 Feb 2023 18:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Feb 2023 18:48:18 +0000 Original-Received: from localhost ([127.0.0.1]:54060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPT0r-0004nt-9U for submit@debbugs.gnu.org; Tue, 07 Feb 2023 13:48:17 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPQuL-000124-DG for submit@debbugs.gnu.org; Tue, 07 Feb 2023 11:33:25 -0500 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 1pPQuI-0000jc-9Z for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 11:33:23 -0500 Original-Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pPQuF-0007tJ-2g for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 11:33:21 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PB7wG2QZZz9sjf for ; Tue, 7 Feb 2023 17:33:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koch.ro; s=MBO0001; t=1675787582; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jYFfZt9SVeF+Ho5UUh7muoVMgw7VS2uPLDVodkasVCg=; b=0Th5EdwkkatgW87uqHb+Er3NUmWuBbbZnHNV80NE53aLBqe650vzhDMLqGbCpYZmW7HiE3 nEyZAmrD9sZ5QXfKlPaQZRvQCYgln94XIhldL2SvMc8F79nFX++YXh8DbmnA3anOqiGjrM M7s8yJNaJapcQMCIX4lzCaXpBI9bBy21SC2oX0He65yZ2Iez+ya8CHn+Xm0WSLv7ietaZD qZeR+l0R7A3G8fOk8RAaehi1fCJLvjYFXiFWQszlOB440yJdJOypK5+QP25WYlWFWeCOyn vOG65nYdnJ2/V4oWXiuEzeDD6eUhalZbWuFMJaYpWpRccbvZJ60EihZU2cfCmA== X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4PB7wG2QZZz9sjf Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=thomas@koch.ro; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 07 Feb 2023 13:48:15 -0500 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:255073 Archived-At: This problem has already been reported to eglot, however it is probably a problem with Tramp: https://github.com/joaotavora/eglot/discussions/883 I've reproduced the problem with Emacs 27.1 from Debian and a minimal Emacs 28.2. installed via nixpkg. The follwing describes a hopefully reliable reproduction. 1. Have a client system with Emacs + eglot and an SSH server. 2. On the server: git clone --depth 1 --no-tags --single-branch \ -b eglot-tramp-freeze-repro \ https://github.com/thkoch2001/yacy_search_server 3. On the server download and untar https://download.eclipse.org/jdtls/milestones/1.19.0/jdt-language-server-1.19.0-202301171536.tar.gz 4. Still on server make a symlink from ~/bin/jdtls to bin/jdtls from the tarball. 5. Install eglot and use this emacs config on client: (custom-set-variables '(tramp-remote-path '("/run/current-system/sw/bin" "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" tramp-own-remote-path)) '(tramp-use-ssh-controlmaster-options nil) ;; problem exists also without previous line ) 6. Open source/net/yacy/yacy.java over Tramp with ssh: 7. M-x eglot Freeze should happen after a few seconds. The project works fine with eglot with a local Emacs.