unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 45518@debbugs.gnu.org
Cc: alexhutcheson@google.com
Subject: bug#45518: Ctrl-G Fails to Interrupt Hung Tramp Remote-Compile in Emacs 27.1
Date: Wed, 20 Nov 2024 10:08:45 +0100	[thread overview]
Message-ID: <87o72a9srm.fsf@gmx.de> (raw)
In-Reply-To: <CACjgaUdOcYv+GWPwN0buScq3uAV11D_w6h7awANuT6B66R6ApA@mail.gmail.com> (Alex Hutcheson via's message of "Mon, 18 Nov 2024 14:13:36 -0500")

Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

Hi Alex,

> It seems like the root cause of this issue (a deadlock due to 2 Emacs
> functions waiting on different output from the same socket) was fixed
> as part of bug#61350.
>
> Can the tramp-compile-disable-ssh-controlmaster-options workaround now
> be removed?

Well, we have indeed some code in tramp-accept-process-output, which
should improve the situation.

However, before I remove the workaround, it should be tested whether the
problem described in bug#45518 is fixed indeed. Going through the
discussion, it requires a complex test infrastructure I'm not able to
reproduce ATM (for example, my Ubuntu machine has died. RIP.)

If somebody could remove the workaround from tramp-integration.el, and
test the recipe given there, I would be more confident that we can
remove the workaround finally.

> Some of the users in my org have complained about additional SSH
> connections being created by compilation functions.

As mitigation, they can call after loading compile.el and tramp.el

--8<---------------cut here---------------start------------->8---
(remove-hook 'compilation-mode-hook
             #'tramp-compile-disable-ssh-controlmaster-options)
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.





  reply	other threads:[~2024-11-20  9:08 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29  1:10 bug#45518: Ctrl-G Fails to Interrupt Hung Tramp Remote-Compile in Emacs 27.1 Duncan Greatwood
2020-12-30 10:36 ` Michael Albinus
2020-12-30 21:13 ` Duncan Greatwood
2020-12-31  8:42   ` Michael Albinus
2021-01-03 10:27     ` Michael Albinus
2021-01-03 19:27 ` Duncan Greatwood
2021-01-06 13:37   ` Michael Albinus
2021-01-06 22:54 ` Duncan Greatwood
2021-01-11 10:58   ` Michael Albinus
2021-01-11 16:52 ` Duncan Greatwood
2021-01-11 17:56   ` Michael Albinus
2021-01-12  4:34 ` Duncan Greatwood
2021-01-12  9:02   ` Michael Albinus
2021-01-12 15:02   ` Michael Albinus
2021-01-29  5:15 ` Duncan Greatwood
2021-01-29  8:53   ` Michael Albinus
2021-02-10 15:40   ` Michael Albinus
2021-02-11 15:22     ` Michael Albinus
2021-02-14  1:38 ` Duncan Greatwood
2021-02-14 14:15   ` Michael Albinus
2021-02-15 20:21 ` Duncan Greatwood
2021-02-16 20:09   ` Michael Albinus
2021-02-17  5:41 ` Duncan Greatwood
2021-02-17 15:39   ` Michael Albinus
2021-03-16  1:36 ` Duncan Greatwood
2021-03-16 18:30   ` Michael Albinus
2024-11-18 19:13 ` Alex Hutcheson via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-20  9:08   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
     [not found] <CAN_Aq+rYcM7wHHWXKBqyY4P0Ew04RfkqnQUioqtUk0AOUeaRMA@mail.gmail.com>
2021-02-25 18:33 ` Michael Albinus
2021-03-15 20:49   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o72a9srm.fsf@gmx.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=45518@debbugs.gnu.org \
    --cc=alexhutcheson@google.com \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).