unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 988581-forwarded@bugs.debian.org, 48476@debbugs.gnu.org,
	Thomas Lundqvist <tlundqvist@acm.org>,
	Rob Browning <rlb@defaultvalue.org>,
	988581@bugs.debian.org
Subject: bug#48476: Bug#988581: emacs-gtk: Emacs hangs with 100% cpu if started within a current directory that has a name ending with ".tar"
Date: Mon, 17 May 2021 17:51:45 +0200	[thread overview]
Message-ID: <871ra5bbou.fsf@gmx.de> (raw)
In-Reply-To: <87h7j1juau.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 17 May 2021 16:42:33 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

Hi Lars,

>>> My emacs get stuck with 100% cpu when started from a directory ending with
>>> ".tar".

Sure, this is the Tramp archive handler. But it shall be invoked only
when the file name ends with ".tar/" - see the trailing slash.

>>> For example, the following commands trigger the error:
>>> - mkdir test.tar
>>> - cd test.tar
>>> - emacs

Yes. But is this a real scenario?

> I have not tried to debug further, but this strace seems to indicate
> that this might be Tramp-related, so I've added Michael to the CCs --
> perhaps it'll be immediately obvious to him what the problem is.  :-)

Hmm, Tramp shall return with an error message (possibly) or give
up. Will investigate.

Anyway, setting tramp-archive-enabled to nil should mitigate the
problem.

Best regards, Michael.





      parent reply	other threads:[~2021-05-17 15:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <162115594747.5027.12325478473634405780.reportbug@ant64>
2021-05-16 22:49 ` bug#48476: Bug#988581: emacs-gtk: Emacs hangs with 100% cpu if started within a current directory that has a name ending with ".tar" Rob Browning
2021-05-17 14:42   ` Lars Ingebrigtsen
2021-05-17 15:24     ` Robert Pluim
2021-05-17 16:03       ` Michael Albinus
     [not found]       ` <87wnrx9wl6.fsf@gmx.de>
2021-05-19 14:22         ` Michael Albinus
2021-05-20  7:44           ` Robert Pluim
2021-05-20  9:24             ` Michael Albinus
2021-05-20 12:53               ` Robert Pluim
2021-05-20 13:05                 ` Michael Albinus
2021-05-20 13:33                   ` Robert Pluim
2021-05-23 11:42                   ` Michael Albinus
2021-05-25  8:11                     ` Robert Pluim
2021-05-25 11:04                       ` Michael Albinus
2021-05-17 15:51     ` Michael Albinus [this message]

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=871ra5bbou.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=48476@debbugs.gnu.org \
    --cc=988581-forwarded@bugs.debian.org \
    --cc=988581@bugs.debian.org \
    --cc=larsi@gnus.org \
    --cc=rlb@defaultvalue.org \
    --cc=tlundqvist@acm.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).