EFS 1.12 bug: synchronization errors

Andy Norman (ange@hplb.hpl.hp.com)
Wed, 14 Sep 1994 14:49:25 +0100


Logging for posterity...  ;-)

Whilst continually visiting a file in a buffer and then killing the buffer,
efs locked up on me when apparently the 'ftp>' prompt in the process buffer
got somehow intermixed with the command it was sending.

See the *ftp* buffer below.

Emacs  : GNU Emacs 18.59.22 of Wed Aug 31 1994 on cuckoo.hpl.hp.com (hpux)
Package: efs

efs believes that the host type of cuckoo is unix.

Contents of *ftp root@cuckoo*:
Please edit sensitive or irrelevant information.
================================================

open cuckoo
Connected to cuckoo.hpl.hp.com.
220 cuckoo.hpl.hp.com FTP server (Version 1.7.193.3 Thu Jul 22 18:32:22 GMT 1993) ready.
quote user "root"
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 331 Password required for root.
quote pass  Turtle Power!
ftp> 230 User root logged in.
hash
ftp> Hash mark printing on (1024 bytes/hash mark).
ftp> ls "-al /usr/adm/syslog/." /tmp/efsa29846
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> quote site idle
200 Current IDLE time limit is 900 seconds; max 7200
ftp> ls "-al /usr/adm/." /tmp/efsa29846
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> type image
200 Type set to I.
ftp> get /usr/adm/syslog /tmp/efsa29846
200 PORT command successful.
150 Opening BINARY mode data connection for /usr/adm/syslog (56212 bytes).
226 Transfer complete.
quote mdtm /usr/adm/syslog
56212 bytes received in 0.03 seconds (1878.08 Kbytes/s)
ftp> 213 19940914134507
ftp> get /usr/adm/syslog /tmp/efsa29846
200 PORT command successful.
150 Opening BINARY mode data connection for /usr/adm/syslog (56325 bytes).
226 Transfer complete.
56325 bytes received in 0.03 seconds (2084.39 Kbytes/s)
fquote mdtm /usr/adm/syslog
tp> 213 19940914134508
ftp> [ange sent interrupt here]
Process *ftp root@cuckoo* kill


current state:
==============
(setq
 efs-18-version "1.12/1.11"
 efs-auto-version "1.12/1.6"
 efs-cu-version "1.12/1.7"
 efs-defun-version "1.12/1.3"
 efs-dired-version "1.12/1.25"
 efs-fnh-version "1.12/1.1"
 efs-netrc-version "1.12/1.7"
 efs-ovwrt-version "1.12/1.5"
 efs-report-version "1.12/1.7"
 efs-version "1.12/1.43"
 efs-36-bit-binary-file-name-regexp nil
 efs-anonymous-umask nil
 efs-auto-save 1
 efs-auto-save-remotely nil
 efs-backup-by-copying nil
 efs-binary-file-host-regexp nil
 efs-binary-file-name-regexp "\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
 efs-buffer-name-case nil
 efs-compute-remote-buffer-file-truename nil
 efs-debug-ftp-connection nil
 efs-ding-on-chmod-failure t
 efs-ding-on-umask-failure t
 efs-disable-netrc-security-check nil
 efs-expire-ftp-buffers t
 efs-ftp-buffer-expire-time nil
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-hash-mark-size nil
 efs-gateway-incoming-binary-hm-size nil
 efs-generate-anonymous-password t
 efs-hash-mark-size 1024
 efs-high-security-hosts nil
 efs-incoming-binary-hm-size nil
 efs-local-apollo-unix nil
 efs-ls-cache-max 5
 efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix dumb-unix super-dumb-unix)
 efs-max-ftp-buffer-size 3000
 efs-maximize-idle nil
 efs-message-interval 0
 efs-nlist-cmd "nlist"
 efs-nslookup-on-connect nil
 efs-nslookup-program "nslookup"
 efs-prompt-for-transfer-type nil
 efs-pty-check-retry-time 5
 efs-pty-check-threshold 1000
 efs-retry-time 5
 efs-root-umask nil
 efs-send-hash t
 efs-short-circuit-to-remote-root nil
 efs-suppress-abort-recursive-edit-and-then nil
 efs-text-file-name-regexp ".*"
 efs-treat-crlf-as-nl t
 efs-umask nil
 efs-verbose t
 efs-verify-anonymous-modtime nil
 efs-verify-modtime-host-regexp ".*"
 efs-ftp-program-name "ftp"
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-local-host-regexp "\\.hp\\.com$\\|^[^.]*$"
 efs-ftp-local-host-regexp ".*"
 efs-gateway-host "hplose"
 efs-gateway-type nil
 reporter-version "2.12"
 features '(sendmail
	    reporter
	    efs-report
	    efs-dired
	    passwd
	    efs-netrc
	    efs-defun
	    efs
	    comint
	    dired-shell
	    dired
	    bbdb-com
	    mh-comp
	    mh-funcs
	    ange-x11
	    new-x-mouse
	    bbdb-mhe
	    bbdb
	    byte-optimize
	    byte-compile
	    x-mouse
	    ange-mwm
	    ange-gnus
	    mh-utils
	    mh-e
	    ange-mh
	    dos-mode
	    worklog
	    auto-save
	    gmhist-app
	    gmhist-mh
	    gmhist
	    view
	    default-dir
	    fn-handler
	    efs-cu
	    emacs-19
	    efs-18
	    efs-fnh
	    efs-ovwrt
	    efs-auto
	    header
	    ange-crypt
	    ange-acts
	    gin-mode
	    ange-hooks
	    ange-keys
	    compile
	    ange-defuns
	    ange-auto
	    ange-vars
	    emacs-type
	    supercite
	    regi
	    mail-utils
	    gnus
	    chat
	    backquote
	    nntp
	    gnuserv
	    tags
	    )
 )