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#45518: Ctrl-G Fails to Interrupt Hung Tramp Remote-Compile in Emacs 27.1 Date: Wed, 10 Feb 2021 16:40:37 +0100 Message-ID: <87wnvgaq2y.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21166"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45518@debbugs.gnu.org To: Duncan Greatwood Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 10 16:43:38 2021 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 1l9reT-0005NV-El for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 16:43:37 +0100 Original-Received: from localhost ([::1]:35754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9reS-0004DE-Dv for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Feb 2021 10:43:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9rby-0001me-D6 for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2021 10:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9rbx-0004sz-Qy for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2021 10:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9rbx-0005Xl-Pb for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2021 10:41: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, 10 Feb 2021 15:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45518 X-GNU-PR-Package: emacs Original-Received: via spool by 45518-submit@debbugs.gnu.org id=B45518.161297164921281 (code B ref 45518); Wed, 10 Feb 2021 15:41:01 +0000 Original-Received: (at 45518) by debbugs.gnu.org; 10 Feb 2021 15:40:49 +0000 Original-Received: from localhost ([127.0.0.1]:56930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9rbl-0005XB-0j for submit@debbugs.gnu.org; Wed, 10 Feb 2021 10:40:49 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:60153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9rbh-0005Wv-LO for 45518@debbugs.gnu.org; Wed, 10 Feb 2021 10:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612971638; bh=qoxPVVSYHIeTCx+yJw2AnvS+xjduTu7qXxlTJfRJPNE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=UySxnTPoAH17CBhFd0d/pfyIfie5PoxVITmHKO8bC45VYN9g6XNr7PiIMcI9+RjDs CBWUUFwEdhWBYLxbjOxkA/2k0TdAAPM+aYaMlVW58ith/TBCwOOlsfJppamCbhr+/g 68wdTBlog/5iw7P5d3f9XLi6nq58aheGbzAi63nk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.117.252]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MjS9C-1lbjIa2oOY-00kt6O; Wed, 10 Feb 2021 16:40:38 +0100 In-Reply-To: (Duncan Greatwood's message of "Thu, 28 Jan 2021 21:15:38 -0800") X-Provags-ID: V03:K1:ZU5BMMcj32xEOcuJWy+H9ZDxicm2jT/uRC84dSbfESKb13W7F7G RDUNPG1ByY5mZ6Yht1Pw8s5+ezcUGN5j3MJ+ymaO8H+7zLhZ2eO+aqEVaapebkf5Kv2mGlj DIb9Hi69/XGgYUMlePt1guKP+YzYcNerjUty1u6dg8yH6cdIz/rR4XQbNCM3sJsoxLvdgKR ou9lc6Gzh08PjJpM4ZIQg== X-UI-Out-Filterresults: notjunk:1;V03:K0:j1xGvE3RoQY=:1ZzI5pGtEQvVVUQP9s17s3 QKn7T6z1D9bkDor8H9oE8Oo1eBqDe7KHA6y0DRVksxRg+OQZgiZT01sFLLtuWuqpuf+ggeJZD o64RXwC+p6mzz+OEkKk1sffxqhFArj/7CxhQJCGSYs6TIHcN9PDhSiwHEwVIBZEB+008slkk+ bueLIqFQFcexwLcpPsGPO91FoBbSlMDsiTI2dQ3YbNj8W3NyE70cmaTog3cg+j+EmgWNL24aV QwSby4OoiWHrlYnuhXW3zUnSTO/5tVqEMsm6ozwDJmzs8Ts2ReUV7lIMIx3hn2Cxurc2w5/wq 95UaLksewwpNep4AfCQd/9PQ9Vn9gslu5U+rsmwPbydhRek4Izry2/YGNZY/sbkC7PkZ3p3E/ boDtfN5F/sachifNlIwMjNHkxjbDK9+8fWSssWx0JwAk2Qq1YVAQNiAa6Z4pGuPhwHELrwZAp QlJmXg40OCPX6k2sEcqyIxiuPhmhhfF67jrl2tdA2lGCPlfkXfWnZKSrF02gQqL8X1meow4dz o7trg1oPHDO+VTPJr24hTngmivUgMVq7URcSfMRJyg/bETtoZydNY2jqfrgpBkGVPaJhsfrrY 5/E/NF3E81/X1Wq60VlPXge51cc9rfmmepVyIpbqb1aesS7qDbRMGip7xy5PAYXgIOxgar2Zi joQLTmvzsKVNEPh6KDiXpuqvZYAF4VpYctOQN/YEEy/T+MzRva314EIm3wvNqGBg2/q87U6Qz HQTTLKpEz07w8iwXQvZZCZj3LD5OK4NkLqDV22TKQSm9zICs6aY42oMpDdDUcwVpPVxzVIOm 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" Xref: news.gmane.io gmane.emacs.bugs:199781 Archived-At: Duncan Greatwood writes: > Hi Michael - Hi Duncan, > There is still one tramp hanging issue I saw in my testing. This is a > much less serious issue (pressing ctrl-G once "unhangs"), but thought > I'd mention it here. LMK if you'd prefer a separate bug report and > I'll create one. Just an update. I've played with this for a while. I could reproduce, and I also know where it hangs. It is accept-process-output of the Tramp process which tries to view the file you have clicked on, vs accept-process-output of the compile process. Both don't cooperate sufficiently, and both hang. I have no idea (yet) how to solve. One idea would be to start the compilation process in another thread, but this will raise other problems. There is some WIP to make Tramp thread-safe, but this is stalled ATM. > Thanks again for fixing the main hanging issue! > Duncan. Best regards, Michael.