On Fri, Dec 06, 2013 at 04:19:22PM +0400, Alexander V. Lukyanov wrote:
> A new development snapshot is available from
>       http://lftp.yar.ru/ftp/devel/lftp-pre4.5.0-20131206.tar.gz
> 
> * optimized cpu usage.
> * fixed file info fetching from http server.
> 
> Please test.

I grabbed this version to see if it reintroduced a problem I had with
one of my servers (server does not support HEAD when redirected), but
ran into a more severe problem.

Whenever I've connected to a https server, lftp segfaults at shutdown,
built with: Readline 6.2, GnuTLS 2.12.23, zlib 1.2.8

It is not reproducible with 4.4.13 built with the same set of libraries.

Stack trace:
====8<====
lftp :~> open https://www.acc.umu.se/
cd ok, cwd=/                                
lftp www.acc.umu.se:/> exit

Program received signal SIGSEGV, Segmentation fault.
0x000000000047f447 in Log::WillOutput (this=0x0, l=13) at log.cc:47
47         if(!enabled || l>level || output==-1)
(gdb) bt
#0  0x000000000047f447 in Log::WillOutput (this=0x0, l=13) at log.cc:47
#1  0x000000000047f7d9 in Log::Format (this=0x0, l=13, f=0x512054
"GNUTLS: %s") at log.cc:108
#2  0x00000000004e56f3 in lftp_ssl_gnutls_log_func (level=4,
msg=0x775fd0 "REC[0xb73e10]: Epoch #1 freed\n")
    at lftp_ssl.cc:222
#3  0x00007ffff7923d7f in _gnutls_log () from
/usr/lib/x86_64-linux-gnu/libgnutls.so.26
#4  0x00007ffff793387e in ?? () from
/usr/lib/x86_64-linux-gnu/libgnutls.so.26
#5  0x00007ffff793b8e4 in gnutls_deinit () from
/usr/lib/x86_64-linux-gnu/libgnutls.so.26
#6  0x00000000004e5ba5 in lftp_ssl_gnutls::~lftp_ssl_gnutls
(this=0x7a3760, __in_chrg=<optimized out>)
    at lftp_ssl.cc:324
#7  0x00000000004b6d23 in Ref<lftp_ssl_gnutls>::~Ref (this=0x76dff0,
__in_chrg=<optimized out>) at Ref.h:34
#8  0x00000000004bd2de in Http::Connection::~Connection (this=0x76dfd0,
__in_chrg=<optimized out>) at Http.cc:125
#9  0x00000000004c7875 in Ref<Http::Connection>::operator=
(this=0x78ff08, p=0x0) at Ref.h:35
#10 0x00000000004bd956 in Http::Disconnect (this=0x78fb20) at
Http.cc:219
#11 0x00000000004bd71f in Http::~Http (this=0x78fb20,
__in_chrg=<optimized out>) at Http.cc:198
#12 0x00000000004c6c63 in Https::~Https (this=0x78fb20,
__in_chrg=<optimized out>) at Http.cc:2365
#13 0x00000000004c6c98 in Https::~Https (this=0x78fb20,
__in_chrg=<optimized out>) at Http.cc:2367
#14 0x000000000046316b in SMTask::CollectGarbage () at SMTask.cc:187
#15 0x000000000046350d in SMTask::Cleanup () at SMTask.cc:273
#16 0x000000000040836e in main (argc=1, argv=0x7fffffffe4f8) at
lftp.cc:597
====8<====

-- 
Lars Viklund | z...@acc.umu.se
_______________________________________________
lftp-devel mailing list
lftp-devel@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel

Reply via email to