GNU bug report logs -
#50205
27.2; crashes or hangs when opening a specific file using tramp
Previous Next
Reported by: Mani Kancherla <kancherla.mani <at> gmail.com>
Date: Wed, 25 Aug 2021 19:56:02 UTC
Severity: normal
Found in version 27.2
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi Michael,
I followed the steps and could successfully compile using "M-x
tramp-recompile-elpa" and restart emacs after that (without -L
~/.emacs.d/elpa/tramp-2.5.1.1 -l tramp). I verified that it is running
tramp version 2.5.1.1 with M-x tramp-version. I still see the problem with
this. I open that specific problematic file and split the window, it hangs.
Thanks,
Mani
On Thu, Sep 2, 2021 at 12:22 AM Michael Albinus <michael.albinus <at> gmx.de>
wrote:
> Mani Kancherla <kancherla.mani <at> gmail.com> writes:
>
> > Hi Michael,
>
> Hi Mani,
>
> > Looks like the workaround for the installation issue is to run "M-x
> > tramp-recompile-elpa", but it complains there is no such command. So,
> > I just opened ~/.emacs.d/elpa/tramp-2.5.1.1/tramp.el in emacs and from
> > the menu selected Emacs-Lisp> Byte-Compile This File. I am not sure if
> > it does the same thing. After that I restarted emacs and M-x
> > tramp-version shows 2.5.1.1. With this, I still see the problem (still
> > hangs or crashes).
>
> Byte-compiling tramp*.el files is right, but the problem is that Emacs
> should not have loaded the built-in Tramp already. Tramp comes with the
> file tramp-compat.el, which offers defsubsts and defmacros different for
> Emacs versions. If Tramp is loaded already when byte-compiling, the
> loaded version of tramp-compat.el would be used.
>
> A recipe to cure this in your environment would be:
>
> 1. Remove all byte-compiled Tramp files.
>
> # rm -f ~/.emacs.d/elpa/tramp-2.5.1.1/tramp*.elc
>
> 2. Start Emacs with Tramp's source files
>
> # emacs -L ~/.emacs.d/elpa/tramp-2.5.1.1 -l tramp
>
> This should not give you the error.
>
> 3. Recompile Tramp ELPA package *with this running Emacs instance*
>
> M-x tramp-recompile-elpa
>
> Now everything shall be fine, and if you start Emacs again, using the
> Tramp ELPA package, there shouldn't be the error.
>
> > Thanks,
> > Mani
>
> Best regards, Michael.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.