GNU bug report logs -
#71709
Fix recent change in tramp-sh-handle-make-process
Previous Next
Reported by: Iurie Marian <marian.iurie <at> gmail.com>
Date: Fri, 21 Jun 2024 19:13:02 UTC
Severity: normal
Fixed in version 30.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #38 received at 71709 <at> debbugs.gnu.org (full text, mbox):
Alright, yes last time I've only applied the patch in *.el file and
evaluated the buffer :D
I've recompiled from scratch and it works as expected! :)
Many thanks!
Iurie
On Sat, 22 Jun 2024 at 19:05, Michael Albinus <michael.albinus <at> gmx.de> wrote:
>
> Iurie Marian <marian.iurie <at> gmail.com> writes:
>
> Hi Iurie,
>
> > Unfortunately, the patch doesn't help.
> > By the way, this is what I noticed:
> > * the issue seems to occur more often in a docker container
> > * over /ssh it is working well, or at least it never occurred
> > * the temporary buffers like ~/tmp/tramp.J0RZDc~ are actually created on remote
> > * after repetitive tests I noticed that it doesn't reproduce anymore
> > and I added a line to print the default-directory right before
> > `make-process` for stderr: ~lisp/net/tramp-sh.el:3057~
> > - when it fails, the default-directory is on local host
> > - when it succeeds - it's on remote (where I guess it finds that
> > temporary file)
>
> But this was exactly the change I have sent to you: preserve proper default-directory.
>
> > * on emacs restart it starts reproducing again
> > * once it starts working, it never reproduces again until emacs restart
> >
> > It looks like it has something to do with `stderr` process execution
> > environment.
>
> Yes. Did you apply the change as I have said? That means
>
> - Patch tramp.el inside the emacs tree
> - Remove all compiled Tramp files, like 'rm lisp/net/tramp*.elc'
> - Recompile EWmacs by calling 'make'.
>
> Best regards, Michael.
This bug report was last modified 1 year and 19 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.