jeroen@epia ~ $ lftp --version Lftp | Version 3.0.13 | Copyright (c) 1996-2004 Alexander V. Lukyanov This is free software with ABSOLUTELY NO WARRANTY. See COPYING for details. Send bug reports and questions to . jeroen@epia ~ $ gdb --args lftp ftp://ftp.kernel.org/ GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB 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. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/lftp ftp://ftp.kernel.org/ (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) cd ok, cwd=/ lftp ftp.kernel.org:/> cd pub/linux/kernel/ Program received signal SIGSEGV, Segmentation fault. 0x4983c5ef in rl_redisplay () from /lib/libreadline.so.5 (gdb) bt #0 0x4983c5ef in rl_redisplay () from /lib/libreadline.so.5 #1 0x4983ec9c in rl_message () from /lib/libreadline.so.5 #2 0x0806c61d in completion_display_list () #3 0x49835ba7 in rl_complete_internal () from /lib/libreadline.so.5 #4 0x49834cf5 in rl_complete () from /lib/libreadline.so.5 #5 0x4982fcc7 in _rl_dispatch_subseq () from /lib/libreadline.so.5 #6 0x4982fadc in _rl_dispatch () from /lib/libreadline.so.5 #7 0x4982f861 in readline_internal_char () from /lib/libreadline.so.5 #8 0x4982fa25 in readline_internal_char () from /lib/libreadline.so.5 #9 0x4982f53f in readline () from /lib/libreadline.so.5 #10 0x0806e284 in lftp_readline () #11 0x0806b935 in ReadlineFeeder::NextCmd () #12 0x08072cdd in CmdExec::Do () #13 0x08088cbc in SMTask::Schedule () #14 0x0806b1d5 in main ()