I compiled lftp 3.4.4
% ./configure
% make
on cygwin version 1.5.19.
%uname -a
CYGWIN_NT-5.1 jbuckles-home2 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin
Attempt to execute lftp.exe gives a segmentation fault:
% ./lftp.exe
Segmentation fault (core dumped)
Here is the stack trace from gdb:
(gdb) run
Starting program: /home/Admin/ftp/admin/net/lftp/lftp-3.4.4/src/lftp.exe
Program received signal SIGSEGV, Segmentation fault.
0x0049e010 in cgetcap () at buffer.h:86
86 void Put(const char *buf,int size);
(gdb) where
#0 0x0049e010 in cgetcap () at buffer.h:86
#1 0x0049eb73 in cgetstr () at buffer.h:86
#2 0x0049da7e in tgetstr () at buffer.h:86
#3 0x00473fc9 in get_string_term_cap (terminfo_cap=0x4b9f10 "tsl", tcap_cap=0x4b9f0d
"ts")
at lftp_tinfo.cc:71
#4 0x004335a8 in __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535)
at StatusLine.cc:137
#5 0x00433634 in global constructors keyed to res_status_interval () at
StatusLine.cc:56
#6 0x61004772 in do_global_ctors () from /usr/bin/cygwin1.dll
#7 0x10031d6f in ?? ()
#8 0x0022edf8 in ?? ()
#9 0x61004812 in __main () from /usr/bin/cygwin1.dll
Previous frame inner to this frame (corrupt stack?)
(gdb) quit
Any ideas what to look for next?
Thanks and Best Regards,
Jeff Buckles
Aloha, OR, USA