After updating Emacs sources from master on Savannah recently, I could
no longer access a remote site via sftp using Tramp.  I ran git bisect
and it put the blame on this commit:

commit 6a8fda1f3396da8340430609ae687abf85765c8b
Author:     Renato Ferreira <[email protected]>
Commit:     Michael Albinus <[email protected]>
CommitDate: Wed Oct 1 12:44:33 2025 +0200

  Fix process name matching in 'tramp-process-running-p'
  
  * lisp/net/tramp.el (tramp-process-running-p): Use 'compare-strings'
  for matching PROCESS-NAME with process command.  (Bug#79545)

And indeed, after reverting that commit and byte-compiling tramp.el and
tramp-gvfs.el, the sftp access worked again.

I can reliably reproduce the problem on current master by starting Emacs
with -Q and simply calling dired using the sftp method with the URL of
the site.  However, I have been unable to get any Tramp traces, only
Lisp backtraces.  I've attached three of the latter, the first one just
by making the Dired call, the second by first setting debug-on-error and
debug-on-signal to t and tramp-verbose to 6, and the third setting
tramp-verbose to 10.  I've also attached Tramp's current state as
generated by `M-x tramp-bug'.

Emacs  : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, 
cairo version 1.18.4)
 of 2025-10-20
Package: tramp (2.8.1-pre master/d208502e4c83b2509be84f334f4d3bc11aecbf7c)

Steve Berman

Attachment: backtrace1
Description: Binary data

Attachment: backtrace2
Description: Binary data

Attachment: backtrace3
Description: Binary data

Attachment: tramp-current-state.gz
Description: Binary data

Reply via email to