Hi,

Today I've compiled the current lftp version from source code. The initial 
execute of lftp failed with a segmentation violation.

Details are:
# ./configure --with-openssl --without-gnutls --with-debug

# make

# src/lftp
Segmentation fault

# ldd src/lftp
        linux-vdso.so.1 =>  (0x00007fffa47a8000)
        libssl.so.6 => /lib64/libssl.so.6 (0x00002b083036a000)
        libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002b08305b6000)
        librt.so.1 => /lib64/librt.so.1 (0x00002b0830907000)
        libreadline.so.5 => /usr/lib64/libreadline.so.5 (0x00002b0830b11000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00002b0830d4e000)
        libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000003641200000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002b0830f52000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b0831156000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b0831364000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b083014d000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b08316bd000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 
(0x00002b08318d8000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002b0831b06000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002b0831d9c000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002b0831f9e000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003641600000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 
(0x00002b08321c4000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003648e00000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b08323cc000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00002b08325e2000)
        libsepol.so.1 => /lib64/libsepol.so.1 (0x00002b08327fa000)

# gdb src/lftp
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5)
Copyright (C) 2009 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /root/root/lftp-4.3.8/src/lftp...done.
(gdb) run
Starting program: /root/root/lftp-4.3.8/src/lftp
warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x2aaaaaac7000
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0000003641201140 in strcat () from /lib64/libtermcap.so.2
(gdb) bt full
#0  0x0000003641201140 in strcat () from /lib64/libtermcap.so.2
No symbol table info available.
#1  0x0000003641201328 in tgetstr () from /lib64/libtermcap.so.2
No symbol table info available.
#2  0x0000000000481af2 in get_string_term_cap (terminfo_cap=0x4f5b2b "tsl", 
tcap_cap=0x4f5b28 "ts")
    at lftp_tinfo.cc:70
        ret = 0x7fffffffe9f0 ""
#3  0x0000000000477ef3 in __static_initialization_and_destruction_0 
(__initialize_p=1,
    __priority=65535) at StatusLine.cc:134
No locals.
#4  0x0000000000477f3b in global constructors keyed to res_status_interval() () 
at StatusLine.cc:283
No locals.
#5  0x00000000004e6266 in __do_global_ctors_aux ()
No symbol table info available.
#6  0x00000000004065fb in _init ()
No symbol table info available.
#7  0x00002aaaaaacb000 in ?? ()
No symbol table info available.
#8  0x00000000004e61c7 in __libc_csu_init ()
No symbol table info available.
#9  0x00002aaaabcdf92e in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#10 0x0000000000407b79 in _start ()
No symbol table info available.

Do you have any ideas about the source of this failure?

Regards,
Carsten

-- 
Carsten Grohmann, Unix System Engineer




_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to