EFS 1.15 bug: Large files makes EFS go blind

Jean-Francois Crespo (jfcrespo@nortelnetworks.com)
Mon, 22 Feb 1999 16:51:30 -0500 (EST)


To whom it may concern:


I have this nasty bug with EFS version 1.15/1.56 in XEmacs 20.4 that
make it virtually unusable. When I try to get a directory listing by
pressing TAB-TAB, I see only part of the files in the directory. Upon
closer inspection, it turns out that the listing stops before a file
that is moderately big (in bytes). Why you ask? Take a look at the
following output in the *Completions* buffer:

Possible completions are:
../  DMixture.h DRotation.h cmodel.h correction.h
./  DMixture.o DRotation.o cmodel.o correction.o
DMixture.cc DRotation.cc cmodel.cc correction.c

Now take a look at the listing produced by EFS in the ftp buffer (I cut
and pasted the ls command to see what happened)

ftp> ls "-al /tmp_mnt/u/bmtln135/jfcrespo/CC/discrim/src/."
/tmp/efsa15896
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> ls "-al /tmp_mnt/u/bmtln135/jfcrespo/CC/discrim/src/."
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 9440
drwxr-s---   3 jfcrespo speechdev   4096 Feb 10 13:41 .
drwxr-s---   5 jfcrespo speechdev   8192 Feb 10 13:40 ..
-rw-r-----   1 jfcrespo speechdev   2153 Feb 10 13:14 DMixture.cc
-rw-r-----   1 jfcrespo speechdev    764 Feb 27  1998 DMixture.h
-rw-rw-rw-   1 jfcrespo speechdev   5136 Feb 10 13:41 DMixture.o
-rw-r-----   1 jfcrespo speechdev   3878 Feb 10 13:16 DRotation.cc
-rw-r-----   1 jfcrespo speechdev   1450 Feb 26  1998 DRotation.h
-rw-rw-rw-   1 jfcrespo speechdev   6916 Feb 10 13:41 DRotation.o
-rw-r-----   1 jfcrespo speechdev  39452 Jul  1  1998 cmodel.cc
-rw-r-----   1 jfcrespo speechdev   4658 Apr  3  1998 cmodel.h
-rw-rw-rw-   1 jfcrespo speechdev  30344 Feb 10 13:40 cmodel.o
-rw-r-----   1 jfcrespo speechdev  26881 Jul  1  1998 correction.cc
-rw-r-----   1 jfcrespo speechdev   4485 May 12  1998 correction.h
-rw-rw-rw-   1 jfcrespo speechdev  26856 Feb 10 13:40 correction.o
-rwxr-x---   1 jfcrespo speechdev2146304 Feb 10 13:41 discrim
-rw-r-----   1 jfcrespo speechdev  15996 May 13  1998 discrim.cc#
-rw-r-----   1 jfcrespo speechdev   3552 May 13  1998 discrim.h
#
226 Transfer complete.
ftp>

Notice the fact that there is no space between the size of the discrim
file and the speechdev group! This is precisely where EFS stopped
looking, as if it believed that there were no more files. I doubt that
this is a coincidence!

Incidently, if I change the group name to something smaller, then it
works like a charm!

Anybody ran into this problem before? Is there a workaround less
intrusive than the one I propose? Should I make an official bug report?

Jean-Francois Crespo
Nortel Networks

Emacs  : XEmacs 20.4 "Emerald" [Lucid] (hppa1.1-hp-hpux10.20) of Thu Dec  3 1998 on wmtl249b
Package: efs

efs believes that the host type of wmtl24a8 is unknown.

current state:
==============
(setq
 efs-cu-version "1.15/1.12"
 efs-defun-version "1.15/1.1"
 efs-fnh-version "1.15/1.3"
 efs-netrc-version "1.15/1.2"
 efs-ovwrt-version "1.15/1.2"
 efs-report-version "1.15/1.9"
 efs-version "1.15/1.56"
 efs-x19.15-version "1.15/1.2"
 efs-36-bit-binary-file-name-regexp nil
 efs-anonymous-umask nil
 efs-auto-save 0
 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 "jfcrespo@nortelnetworks.ca"
 efs-hash-mark-size nil
 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
			 dumb-apollo-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-set-modtimes-synchronously nil
 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 nil
 efs-umask nil
 efs-use-passive-mode 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 "^47\\.\\|^[^.]*$"
 efs-ftp-local-host-regexp "^47\\.\\|^[^.]*$"
 efs-gateway-host "ecargce0"
 efs-gateway-type '(raptor "ftp" ("-i" "-n" "-g" "-v") "jfcrespo")
 reporter-version "3.2"
 features '(mail-abbrevs sendmail reporter efs-report compile makefile cc-mode cc-cmds
	    cc-styles cc-align cc-menus cc-langs cc-defs cc-engine cc-vars vc-hooks
	    cus-face paren blink-paren font-lock gnuserv efs-x19\.15 efs-fnh passwd
	    efs-ovwrt efs-cu efs-netrc efs-defun comint ring efs x11-autoloads
	    w3-autoloads vm-autoloads viper-autoloads vc-autoloads utils-autoloads
	    tm-autoloads tl-autoloads rmail-autoloads psgml-autoloads prim-autoloads
	    pcl-cvs-autoloads packages-autoloads modes-autoloads mh-e-autoloads
	    mel-autoloads mailcrypt-autoloads iso-autoloads hm--html-menus-autoloads
	    gnus-autoloads gnats-autoloads games-autoloads eterm-autoloads
	    emulators-autoloads electric-autoloads efs-autoloads ediff-autoloads
	    edebug-autoloads custom-autoloads comint-autoloads cc-mode-autoloads
	    calendar-autoloads bytecomp-autoloads auctex-autoloads apel-autoloads
	    auto-show fontl-hooks ediff-hook x-iso8859-1 x-menubar mouse mode-motion
	    itimer lisp-mode easymenu iso8859-1 page buff-menu lib-complete help-nomule
	    derived frame text-props cus-start custom widget cl-autoloads cl-extra
	    mini-cl cl cl-19 packages backquote tooltalk lucid-scrollbars cut-buffer
	    lucid-menubars xpm png gif jpeg motif-dialogs x tty-frames tty toolbar
	    scrollbar network-streams subprocesses menubar dbm md5 xemacs cde
	    lisp-float-type hpux dialog window-system c-balloon-help)
 )