From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs 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 Message-ID: <87o72a9srm.fsf@gmx.de> References: Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: alexhutcheson@google.com To: 45518@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 20 10:09:30 2024 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 1tDgiH-000ALk-PO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Nov 2024 10:09:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDghs-0003Do-Am; Wed, 20 Nov 2024 04:09:04 -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 1tDghq-0003Da-CJ for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 04:09:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDghq-0001VR-3j for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 04:09:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=4PXUQLsTOIJfh0b+IGH2/h9MpgUL4L9XUSyMxY0w3w0=; b=fgUBUAz41hvm/fr0xekvqEjRMVzlr8kS08hoJKxE4tNF2rlFjukVX6HZb5Uu/q0E2P6naSFEw9HcRZXby86yq8lzLoIsITR0+plL/6Okvb7JJNQsHbeFQbDItutD3FPFNKaaqA6cN7evj7Opum1NdA4HNPPlP+WRFbYvRu8Py2wlTK1ka61NuyYd6H1KXgrnhht2IX5l/vRzC0EndrJ5bn+cjBVPr7cmrY6s3o7Nit3QIqJo20xEG6c1fvsY/F6Ol3VFkCkbqEjkciXsgkC7efYvSxJvrSiLru201I1uYsjRjesWoEz85pLRTd5t0teQX3uDbZbl54UJvLIDo6/uLA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDghp-0000hZ-Lh for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 04:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Nov 2024 09:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45518 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Alex Hutcheson , 45518@debbugs.gnu.org Original-Received: via spool by 45518-submit@debbugs.gnu.org id=B45518.17320937392689 (code B ref 45518); Wed, 20 Nov 2024 09:09:01 +0000 Original-Received: (at 45518) by debbugs.gnu.org; 20 Nov 2024 09:08:59 +0000 Original-Received: from localhost ([127.0.0.1]:45199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDghm-0000hI-Jw for submit@debbugs.gnu.org; Wed, 20 Nov 2024 04:08:58 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:42795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDghk-0000h4-Gr for 45518@debbugs.gnu.org; Wed, 20 Nov 2024 04:08:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1732093729; x=1732698529; i=michael.albinus@gmx.de; bh=4PXUQLsTOIJfh0b+IGH2/h9MpgUL4L9XUSyMxY0w3w0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=rUQpUbkhGTYBWh+CrrdB8ib4uSehXbmQaRVgZ7qkyP8eJsrlpHFSgs7xlSS7jZ2Z 6L7fD98lfVwqiBeAFXrmPtKF9ZGOgYOmJ6KPAcxghbru0ve5dNv0fsH4986wweaNY 5W+9IjKuyltChYh1iAcarFF4cEzn8Ab3Cxmi4Xr/WwU5cfwJ3K4tEPSdUKL21juGc zS/xTD+zGvoRTR4Tl61tqKcI957Ph7o2PFIjMpbwOSCAT+gTOpLjLEawUFb0YWkpK XLhPCHAYRcE5kSEYtRYbk7eD3+DPSfbpnlkA2nof6ns4L0d0oyWkegkfWno/0pqS1 XBxy4li8W1ef8DVihw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M5fMY-1t7f6A320g-008YfF; Wed, 20 Nov 2024 10:08:48 +0100 In-Reply-To: (Alex Hutcheson via's message of "Mon, 18 Nov 2024 14:13:36 -0500") X-Provags-ID: V03:K1:KVor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0ABX 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:295672 Archived-At: Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 =2D-8<---------------cut here---------------start------------->8--- (remove-hook 'compilation-mode-hook #'tramp-compile-disable-ssh-controlmaster-options) =2D-8<---------------cut here---------------end--------------->8--- Best regards, Michael.