unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: 34196@debbugs.gnu.org
Subject: bug#34196: 27.0.50; tramp hangs on wrong password with global-auto-revert-mode
Date: Sun, 27 Jan 2019 06:34:16 -0800	[thread overview]
Message-ID: <CAHyO48wowy9b3O0ExgTMnZ6Xvv0iXyyH620ur4r62dKMM_JC7g@mail.gmail.com> (raw)
In-Reply-To: <m2h8dw7nrc.fsf@gmail.com>

It appears that the hang happens when (expand-file-name
default-directory) is hit within auto-revert-notify-add-watch for the
tramp buffer: /sudo:root@myhost.local

I wonder if it's essentially trying to recursively make that tramp
connection or something along those lines?

Here's the *Messages* buffer:

Tramp: Opening connection for root@myhost.local using sudo...
Tramp: Sending command ‘exec env SHELL=/bin/sh sudo -u root -s -H -p
P""a""s""s""w""o""r""d"":’
Tramp: Waiting for prompts from remote shell...
Tramp: Sending Password
expand-file-name: #("/sudo:root@myhost.local:" 6 10 (tramp-default t)
11 26 (tramp-default t))
Quit
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for root@aaron-mbt.local using sudo...failed
Quit [15 times]

You can see where the expand-file-name happens. I believe that's where
it hangs. Spamming C-g gets out of it.

I have no idea what the right fix is for this, hopefully someone with
more tramp or auto-revert familiarity has an idea.

Thanks,

Aaron





  reply	other threads:[~2019-01-27 14:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25 15:36 bug#34196: 27.0.50; tramp hangs on wrong password with global-auto-revert-mode Aaron Jensen
2019-01-27 14:34 ` Aaron Jensen [this message]
2019-01-27 14:52   ` Aaron Jensen
2019-01-27 17:25     ` Michael Albinus
2019-02-04 15:06       ` Michael Albinus
     [not found]         ` <CAHyO48wRgVX-eNUHQXADEhOh3fHksVggxjKu23-=G_PSZzy-iQ@mail.gmail.com>
2019-02-05 12:51           ` Michael Albinus
2019-02-05 16:43             ` Aaron Jensen
2019-02-05 17:59               ` Michael Albinus
2019-02-05 18:14                 ` Aaron Jensen
2019-02-05 19:22                   ` Michael Albinus
2019-02-05 19:27                     ` Aaron Jensen
2019-02-05 20:07                       ` Michael Albinus
2019-02-05 22:41                         ` Aaron Jensen
2019-02-06  8:11                           ` Michael Albinus
2019-02-13 19:00 ` bug#34196: Error in auto-revert-buffers: Wrong type argument Alex Branham
2019-02-13 23:09   ` Michael Albinus
2019-02-14 17:05     ` Alex Branham
2019-02-14 20:25       ` 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=CAHyO48wowy9b3O0ExgTMnZ6Xvv0iXyyH620ur4r62dKMM_JC7g@mail.gmail.com \
    --to=aaronjensen@gmail.com \
    --cc=34196@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 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).