Hi Alexander. I've encountered lftp crash. Although I know this is caused by under-configuration of ftp server I still think it's worth to fix as program should not crash :) Below are details of crash.
support@tablet ~ $ LC_ALL=C gdb lftp GNU gdb (Gentoo 7.3.1 p1) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/lftp...Reading symbols from /vt/debug/usr/bin/lftp.debug...done. done. (gdb) r -u pva peopleschoice.ru Starting program: /usr/bin/lftp -u pva peopleschoice.ru [Thread debugging using libthread_db enabled] Password: lftp p...@peopleschoice.ru:~> debug lftp p...@peopleschoice.ru:~> ls ---- Connecting to peopleschoice.ru (46.46.154.106) port 21 <--- 220 ProFTPD 1.3.1 Server (PeoplesChoice & TrendSpace FTP Server) [46.46.154.106] ---> FEAT <--- 550 FEAT: Operation not permitted ---> AUTH TLS <--- 500 AUTH not understood ---> USER pva <--- 331 Password required for pva ---> PASS XXXX <--- 230 User pva logged in ---> FEAT <--- 550 FEAT: Operation not permitted ---> PWD <--- 550 PWD: No such file or directory ---> PASV <--- 227 Entering Passive Mode (46,46,154,106,155,204). ---- Connecting data socket to (46.46.154.106) port 39884 ---- Data connection established ---> LIST <--- 150 Opening ASCII mode data connection for file list ---- Got EOF on data connection ---- Closing data socket <--- 226 Transfer complete lftp p...@peopleschoice.ru:~> cd Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5f2844a in Ftp::SendCWD (this=0x622c30, path=<optimized out>, path_url=<optimized out>, c=Ftp::Expect::CWD) at ftpclass.cc:705 705 ftpclass.cc: No such file or directory. in ftpclass.cc (gdb) bt #0 0x00007ffff5f2844a in Ftp::SendCWD (this=0x622c30, path=<optimized out>, path_url=<optimized out>, c=Ftp::Expect::CWD) at ftpclass.cc:705 #1 0x00007ffff5f30d8d in Ftp::Do (this=0x622c30) at ftpclass.cc:1883 #2 0x00007ffff7948d68 in SMTask::Roll (task=0x622c30) at SMTask.cc:173 #3 0x00007ffff7bba850 in Roll (this=<optimized out>) at SMTask.h:93 #4 CmdExec::builtin_cd (this=0x612cd0) at commands.cc:648 #5 0x00007ffff7bb36de in CmdExec::exec_parsed_command (this=0x612cd0) at CmdExec.cc:229 #6 0x00007ffff7bb3d68 in CmdExec::Do (this=0x612cd0) at CmdExec.cc:675 #7 0x00007ffff7948e86 in SMTask::Schedule () at SMTask.cc:237 #8 0x00007ffff7bb11bc in Job::WaitDone (this=0x612cd0) at Job.cc:525 #9 0x0000000000406582 in main (argc=<optimized out>, argv=<optimized out>) at lftp.cc:531 Thank you in advance, -- Peter. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp