#1 max-lisp-eval-depth exceeded in emacs 20

open
nobody
None
5
2014-08-27
2002-02-18
Anonymous
No

Hello -

From the archives I can see that other folks have
reported the same problem. Here's a copy of the output
of tramp-debug and backtrace, in case it is of use to
anyone. (I went ahead and upgraded to emacs-21, and
tramp now works perfectly. It's just what I needed -
many thanks!)

I'm using emacs 20.7.2 on Debian potato, and I get
max-lisp-eval-method and max-specpdl-size errors when
attempting to connect using any ssh related mode.
(Haven't tried any others.) Increasing the size of both
variables changes nothing, until some value which is
between 10,000 and 100,000 beyond which emacs crashes.

The attached backtrace text file was taken while
attempting to open an existing file on the remote
machine. The output of debug is below:

Emacs : GNU Emacs 20.7.2 (i386-debian-linux-gnu, X
toolkit)
of Tue Jun 20 2000 on raven
Package: tramp ($Id: tramp.el,v 2.83 2002/01/22
17:24:23 kaig Exp $)

current state:

(setq
tramp-ls-command nil
tramp-test-groks-nt nil
tramp-file-exists-command nil
tramp-current-multi-method nil
tramp-current-method nil
tramp-current-user nil
tramp-current-host nil
tramp-auto-save-directory nil
tramp-default-method "scp"
tramp-rsh-end-of-line "\n"
tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin"
"/usr/local/bin"
"/usr/ccs/bin" "/local/bin"
"/local/freeware/bin"
"/local/gnu/bin" "/usr/freeware/bin"
"/usr/pkg/bin"
"/usr/contrib/bin")
tramp-login-prompt-regexp ".*ogin: *$"
tramp-password-prompt-regexp
"^.*\\([pP]assword\\|passphrase.*\\):? *$"
tramp-wrong-passwd-regexp "^.*\\(Permission
denied.\\|Login [Ii]ncorrect\\|Received signal
[0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try
again.\\|Name or service not known\\).*$"
tramp-temp-name-prefix "tramp."
tramp-file-name-structure
'("\\`/\\[\\(\\([a-zA-Z0-9]+\\)/\\)?\\(\\([-a-zA-Z0-9_#/:]+\\)@\\)?\\([-a-zA-Z0-9_#/:@.]+\\)\\]\\(.*\\)\\'"
2 4 5 6)
tramp-file-name-regexp "\\`/\\[.*\\]"
tramp-multi-file-name-structure
'("\\`/\\[\\(\\([a-z0-9]+\\)\\)?\\(\\(%s\\)+\\)\\]\\(.*\\)\\'"
2 3 -1)
tramp-multi-file-name-hop-structure
'("/\\([a-z0-9_]+\\):\\([a-z0-9_]+\\)@\\([a-z0-9.-]+\\)"
1 2 3)
tramp-multi-methods '("multi" "multiu")
tramp-multi-connection-function-alist '(("telnet"
tramp-multi-connect-telnet
"telnet %h%n")
("rsh" tramp-multi-connect-rlogin
"rsh %h -l %u%n")
("ssh" tramp-multi-connect-rlogin
"ssh %h -l %u%n")
("su" tramp-multi-connect-su
"su - %u%n")
("sudo" tramp-multi-connect-su
"sudo -u %u -s%n")
)
tramp-make-tramp-file-format "/[%m/%u@%h]%p"
tramp-end-of-output "/////"
shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
backup-by-copying nil
backup-by-copying-when-linked nil
backup-by-copying-when-mismatch nil
nil nil
file-name-handler-alist '(("\\`/\\[.*\\]" .
tramp-file-name-handler)
("^/[^/:]*\\'" .
ange-ftp-completion-hook-function)
("^/[^/:]*[^/:.]:" . ange-ftp-hook-function)
("\\`/:" . file-name-non-special))
)

Discussion

  • Logged In: YES
    user_id=309799

    I think this has been fixed in 2.86. Please
    try the current version.

    Thanks,
    kai