I have experienced the following segmentation fault when trying to rels
or mget from a vendor's server. The rels or mget works if there is a
file to list/retrieve, but does not work on an empty directory.
Below is a debug 9 of the server. I am doing this debug from a FC4
box. I have LFTP 3.1.13 installed on RHEL-3.0 that experiences the
same problem.
FYI - I also tried using upper case for the home directory (/Home) with
the same affect.
Let me know if you need any more information
----------------------------------------
Todd Wells
Systems Engineer
Raley's Superstores
[EMAIL PROTECTED]
----------------------------------------------------------
001-002096 twells$ lftp
lftp :~> version
LFTP | Version 3.2.1 | Copyright (c) 1996-2005 Alexander V. Lukyanov
LFTP is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
There is absolutely no warranty for LFTP. See COPYING for details.
Send bug reports and questions to <[email protected]>.
Libraries used: Readline 5.0, Expat 1.95.8
lftp :~> debug 9
lftp :~> connect sftp://raleys:[EMAIL PROTECTED]
lftp [EMAIL PROTECTED]:~> rels /home
---- Running connect program (ssh -a -x -s -l raleys
secureftp.restat.com sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- [EMAIL PROTECTED]'s password: XXXX
<--- got a packet, length=5, type=2(VERSION), id=0
---- protocol version set to 3
---> sending a packet, length=10, type=16(REALPATH), id=1
<--- got a packet, length=53, type=104(NAME), id=1
---- home set to /Home/raleys
---- path on wire is `/home'
---> sending a packet, length=14, type=11(OPENDIR), id=2
<--- got a packet, length=13, type=102(HANDLE), id=2
---- got file handle 00000000 (4)
---> sending a packet, length=13, type=12(READDIR), id=3
<--- got a packet, length=124, type=104(NAME), id=3
---- file name count=1
---> sending a packet, length=13, type=12(READDIR), id=4
---> sending a packet, length=13, type=12(READDIR), id=5
<--- got a packet, length=28, type=101(STATUS), id=4
---- eof
<--- got a packet, length=28, type=101(STATUS), id=5
---> sending a packet, length=13, type=4(CLOSE), id=6
dr-xr-xr-x 0 0 0 0 Jan 1 1980 raleys
<--- got a packet, length=24, type=101(STATUS), id=6
lftp [EMAIL PROTECTED]:~> rels /home/raleys
---- path on wire is `/home/raleys'
---> sending a packet, length=25, type=11(OPENDIR), id=7
<--- got a packet, length=13, type=102(HANDLE), id=7
---- got file handle 00000000 (4)
---> sending a packet, length=13, type=12(READDIR), id=8
<--- got a packet, length=28, type=101(STATUS), id=8
---- eof
Segmentation fault