From: Dima Kogan <dima@secretsauce.net>
To: 35665@debbugs.gnu.org
Subject: bug#35665: 27.0.50; shell-mode over TRAMP can no longer kill processes with C-c C-c
Date: Thu, 09 May 2019 19:04:37 -0700 [thread overview]
Message-ID: <877eaz3w0a.fsf@shorty.i-did-not-set--mail-host-address--so-tickle-me> (raw)
Hi. This is a semi-recent regression. I've been observing it for a few
months now, but have only now tried to track it down. I'm currently
using a very recent build of emacs from git:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=7dafbe3ab91
Recipe:
1. C-x C-f /ssh:someserver:
Opens up a TRAMP ssh connection to some server. This opens up the ~
in dired mode
2. M-x shell
Opens up a remote shell.
3. sleep 10000
I.e. make the remote box do something that doesn't quit immediately
4. C-c C-c
This SHOULD send SIGINT to the process to kill it. And it did that
previously, but it doesn't do that anymore. Now it just hangs
I just did a bit of debugging. C-c C-c invokes
(tramp-interrupt-process). This calls (tramp-send-command) to send a
"kill -2 PID" and then (tramp-accept-process-output) to wait for a new
shell prompt; I think. For whatever reason, the server is not getting
the "kill -2 PID" anymore, so the waiting for the prompt now hangs
forever. I'll poke at it some more, but it's likely somebody more
knowledgeable will be able to figure this out much faster than me.
Thanks!
next reply other threads:[~2019-05-10 2:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-10 2:04 Dima Kogan [this message]
2019-05-10 7:47 ` bug#35665: 27.0.50; shell-mode over TRAMP can no longer kill processes with C-c C-c Michael Albinus
2019-06-06 6:59 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877eaz3w0a.fsf@shorty.i-did-not-set--mail-host-address--so-tickle-me \
--to=dima@secretsauce.net \
--cc=35665@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.