lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.11k stars 162 forks source link

4.9.0: test suite is failing with core dump #575

Open kloczek opened 4 years ago

kloczek commented 4 years ago

lft is configured with:

        --disable-static \
        --with-openssl \
        --without-debug \
        --without-gnutls \
        --without-modules \

And test suite fails with:

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
/usr/bin/make  check-recursive
Making check in m4
make[2]: Nothing to be done for 'check'.
Making check in doc
make[2]: Nothing to be done for 'check'.
Making check in lib
/usr/bin/make  check-recursive
Making check in src
make[2]: Nothing to be done for 'check'.
Making check in po
make[2]: Nothing to be done for 'check'.
Making check in contrib
make[2]: Nothing to be done for 'check'.
Making check in tests
/usr/bin/make  ftp-mlsd ftp-list http-get ftp-cls-l module1.la \
  module1 lftp-https-get lftp-queue-kill
make[3]: 'module1' is up to date.
make[3]: Nothing to be done for 'lftp-https-get'.
make[3]: Nothing to be done for 'lftp-queue-kill'.
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
g++ -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio -I../src   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o http-get.o http-get.cc
http-get.cc: In function 'int main(int, char**)':
http-get.cc:45:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
   45 |       write(1,buf.Get(),res);
      |       ~~~~~^~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
g++ -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio -I../src   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o ftp-list.o ftp-list.cc
ftp-list.cc: In function 'int main(int, char**)':
ftp-list.cc:52:12: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
   52 |       write(1,buf.Get(),res);
      |       ~~~~~^~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
g++ -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio -I../src   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o ftp-cls-l.o ftp-cls-l.cc
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
g++ -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio -I../src   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o ftp-mlsd.o ftp-mlsd.cc
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/bin/sh ../libtool --silent  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../lib  -I../lib -I../trio -I../src   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -c -o module1.lo module1.cc
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/bin/sh ../libtool --silent  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -module -avoid-version -rpath /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests/.libs -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o module1.la  module1.lo  -lutil -ltinfo  -lidn2
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/bin/sh ../libtool --silent  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o http-get http-get.o ../src/proto-http.la ../src/liblftp-tasks.la -lutil -ltinfo  -lidn2
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/bin/sh ../libtool --silent  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o ftp-list ftp-list.o ../src/proto-ftp.la ../src/liblftp-tasks.la -lutil -ltinfo  -lidn2
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/bin/sh ../libtool --silent  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o ftp-mlsd ftp-mlsd.o ../src/proto-ftp.la ../src/liblftp-tasks.la -lutil -ltinfo  -lidn2
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/bin/sh ../libtool --silent  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fno-exceptions -fno-rtti -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o ftp-cls-l ftp-cls-l.o ../src/proto-ftp.la ../src/liblftp-jobs.la ../src/liblftp-tasks.la -lutil -ltinfo  -lidn2
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
/usr/bin/make  check-TESTS
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
SKIP: module1
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
PASS: ftp-mlsd
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
PASS: lftp-queue-kill
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
PASS: ftp-cls-l
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
PASS: http-get
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
../build-aux/test-driver: line 107: 3682258 Segmentation fault      (core dumped) "$@" > $log_file 2>&1
FAIL: ftp-list
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
FAIL: lftp-https-get
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests'
======================================
   lftp 4.9.0: tests/test-suite.log
======================================

# TOTAL: 7
# PASS:  4
# SKIP:  1
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: ftp-list
==============

---- Resolving host address...
---- 2 addresses found: 2a02:6b8::183, 213.180.204.183
---- Connecting to mirror.yandex.ru (2a02:6b8::183) port 21
**** connect(control_sock): Network is unreachable
---- Connecting to mirror.yandex.ru (213.180.204.183) port 21
---> FEAT
<--- 220-Welcome to Yandex Mirror FTP service. Your served by: mirror01man.mds.yandex.net
<--- 220
<--- 211-Features:
<---  EPRT
<---  EPSV
<---  MDTM
<---  PASV
<---  REST STREAM
<---  SIZE
<---  TVFS
<--- 211 End
---> USER anonymous
---> PASS lftp@
---> PWD
<--- 331 Please specify the password.
<--- 230 Login successful.
<--- 257 "/" is the current directory
---> STAT /
<--- 213-Status follows:
drwxr-xr-x   51 ftp      ftp          4096 Jan 17 09:51 .
drwxr-xr-x   51 ftp      ftp          4096 Jan 17 09:51 ..
-rw-r--r--    1 ftp      ftp             0 Jan 17 09:51 .ok.txt
drwxr-xr-x   23 ftp      ftp          4096 Feb 25 07:27 altlinux
drwxr-sr-x   21 ftp      ftp          4096 Feb 25 07:15 altlinux-beta
drwxr-xr-x    9 ftp      ftp          4096 Feb 25 06:50 altlinux-nightly
drwxr-xr-x    5 ftp      ftp          4096 Feb 25 06:12 altlinux-starterkits
drwxr-xr-x   18 ftp      ftp          4096 Feb 25 08:30 archlinux
drwxr-xr-x    7 ftp      ftp          4096 Feb 25 08:30 archlinux-arm
drwxr-xr-x    9 ftp      ftp          4096 Feb 25 08:30 archlinux32
dr-xr-xr-x    7 ftp      ftp          4096 Feb 25 06:12 archserver
drwxr-xr-x    7 ftp      ftp          4096 Feb 25 08:13 astra
drwxr-xr-x   10 ftp      ftp          4096 Feb 25 05:56 calculate
drwxrwxr-x   52 ftp      ftp          4096 Feb 25 06:05 centos
drwxr-xr-x    9 ftp      ftp          4096 Feb 25 03:11 debian
drwxrwsr-x    5 ftp      ftp          4096 Feb 24 16:15 debian-backports
drwxr-xr-x    5 ftp      ftp          4096 Feb 25 06:35 debian-cd
drwxr-sr-x    8 ftp      ftp          4096 Feb 25 08:52 debian-multimedia
drwxr-xr-x   20 ftp      ftp          4096 Feb 25 07:17 debian-ports
drwxr-xr-x    7 ftp      ftp          4096 Feb 24 19:44 debian-security
drwxrwsr-x    9 ftp      ftp          4096 Feb 25 04:30 epel
drwxr-xr-x    9 ftp      ftp          4096 Feb 24 20:35 fedora
drwxrwxr-x    5 ftp      ftp          4096 Feb 24 20:35 fedora-secondary
drwxrwxr-x    7 ftp      ftp          4096 Feb 25 04:15 freebsd
drwxr-xr-x    6 ftp      ftp          4096 Feb 25 08:30 gentoo-distfiles
drwxr-xr-x  175 ftp      ftp          4096 Feb 25 08:30 gentoo-portage
drwxr-xr-x   10 ftp      ftp         12288 Feb 25 00:02 knoppix
drwxr-xr-x    3 ftp      ftp          4096 Feb 25 06:04 libreoffice
drwxr-xr-x    5 ftp      ftp          4096 Feb 25 08:15 linuxmint
drwxr-xr-x    5 ftp      ftp          4096 Feb 14 17:15 linuxmint-packages
drwxr-xr-x    4 ftp      ftp          4096 Feb 25 08:04 lotos
drwxr-xr-x    6 ftp      ftp          4096 Feb 25 08:21 macports
drwxr-xr-x    6 ftp      ftp          4096 Feb 25 08:33 mageia
drwxr-xr-x   54 ftp      ftp          4096 Oct 08 10:50 mirrors
drwxr-xr-x    6 ftp      ftp          4096 Mar 11  2014 mopslinux
drwxr-xr-x   60 ftp      f<--- 213 End of status
tp          4096 Feb 25 06:57 openbsd
drwxr-xr-x    8 ftp      ftp          4096 Dec 05 23:03 openmandriva
drwxr-xr-x    8 ftp      ftp          4096 Feb 25 06:32 opensuse
drwxr-xr-x    8 ftp      ftp          4096 Feb 25 08:02 pub
drwxr-xr-x   38 ftp      ftp          4096 Feb 25 06:26 puias
drwxr-xr-x   17 ftp      ftp          4096 Feb 21 13:22 puppyrus
drwxrwxrwx   14 ftp      ftp          4096 Feb 25 08:31 rosa
drwxr-xr-x    6 ftp      ftp          4096 Feb 25 04:01 runtu
drwxrwxr-x    9 ftp      ftp          4096 Feb 25 08:32 sabayon
drwxr-xr-x   28 ftp      ftp          4096 Feb 25 08:31 scientificlinux
drwxr-xr-x    6 ftp      ftp          4096 Apr 02  2014 simplelinux
drwxr-xr-x   49 ftp      ftp          4096 Feb 25 08:35 slackware
drwxr-xr-x   15 ftp      ftp          4096 Feb 25 08:33 slackwarearm
drwxr-xr-x    7 ftp      ftp          4096 Feb 25 03:08 ubuntu
drwxr-xr-x   24 ftp      ftp          4096 Feb 25 08:15 ubuntu-cdimage
drwxr-xr-x    6 ftp      ftp          4096 Feb 25 06:07 ubuntu-ports
drwxr-xr-x   12 ftp      ftp          4096 Feb 25 08:15 ubuntu-releases
---> QUIT
FAIL ftp-list (exit status: 139)

SKIP: module1
=============

No modules support
SKIP module1 (exit status: 77)

FAIL: lftp-https-get
====================

<!DOCTYPE HTML>
<HTML>
<HEAD><LINK REL=STYLESHEET TYPE="text/css" HREF="/style.css">
        <TITLE>LFTP features</TITLE>
        <meta name="description" value="" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <script>(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create", "UA-87081912-1", "auto");ga("send", "pageview");</script>
</HEAD><BODY><DIV class="body">
<p class=nav_bar><nav><A HREF="/">Home</A>
| <A HREF="desc.html">Description</A>
| <A HREF="features.html">Features</A>
| <A HREF="lftp-man.html">Man page</A>
| <A HREF="FAQ.html">FAQ</A>
| <A HREF="get.html">Download</A>
| <A HREF="news.html">Changes</A>
| <A HREF="list.html">Mailing lists</A>
| <A HREF="author.html">Author</A>
| <A HREF="rfc.html">Related RFC</A>
| <A HREF="contribute.html">Contribute!</A></nav><hr size=1 noshade></p>
LFTP includes the following features (some may be missed in this list):<UL>
<p>
<li> FTP and HTTP protocols support.
<li> FTP (e.g. TIS FWTK) proxy support.
<li> HTTP proxy support.
<li> FTP over HTTP proxy support (hftp and CONNECT method).
<li> HTTPS and FTPS protocols support using GNU TLS or OpenSSL library.
<li> Automatic OPIE/SKEY support in FTP protocol.
<li> FXP transfers support (between two FTP servers, bypassing client machine).
<li> FTP listings support: unix-style, NT, EPLF, OS/2, AS400, MacWebStar, MLSD.
<li> FTP implicit compression (MODE Z) support.
<li> Automatic reconnect and retry of an operation on retriable errors or timeout.
<li> IPv6 support in both FTP and HTTP.
<li> FISH protocol support. It uses ssh with no special program on server side.
<li> SFTP protocol v3-v6 support.
<li> HTTP/1.1 keep-alive support.
<li> HTTP basic and digest authentication.
<li> Partial WebDAV support.
<li> BitTorrent protocol support (including IPv6).
<li> BitTorrent extensions: Fast, DHT, PEX, Multi-tracker, Metadata, magnet.
<li> Experimental support for SRV DNS records.
<li> SOCKS support (configure option).
<p>
<li> Modification time preservation (if server can report it).
<li> `reget' and `reput' support.
<li> Built-in mirror and reverse mirror (mirror -R).
<li> Transfer rate throttling for each connection, for each host and for all
  connections in total.
<li> Limit for number of connections to the same site. Interruption of background
  transfer to do a foreground operation when the limit is reached.
<li> Socket options tuning: buffer size and maximum segment size.
<li> Job queueing.
<li> Job execution at specified time.
<li> Comprehensive scripting support.
<li> URL recognition in most operations.
<li> Readline library is used for input.
<li> Context sensitive completion.
<li> Bash-like prompt extensions.
<li> Launching of local shell commands.
<li> Suspend support.
<li> Bookmarks.
<li> Aliases.
<li> Saving of last directory on each site. `cd -' to go there.
<li> Copying of files (including mirror) between two servers over the client,
  automatic usage of FXP when possible to bypass the client.
<li> Numerous settings which can be associated with a specific server or a group.
<li> Paging of remote files using external program.
<li> `zcat' and `zmore' support.
<li> Help for commands.
<li> Command history saved in a file.
<li> Transfer status includes rate and ETA.
<li> File listing cache.
<p>
<li> Background jobs (bash-like).
<li> Job output redirection to a file or to a program via pipe.
<li> Conditional commands depending on exit status of previous one.
<li> Loading of binary modules at run time (configure option).
<li> `pget' to download a file using several connections. `pget' download
  can be continued as it saves a status file periodically.
<li> `mirror' can download several files in parallel (--parallel option)
  and a single file with `pget' (--use-pget-n option).
<li> Slots. Each slot is a separate session, switch using Meta-{1-9} or `slot'
  command. Refer to a slot site using pseudo URL slot:name.
</UL></DIV></BODY></HTML>
lftp: xheap.h:127: void xheap<T>::remove(xheap<T>::node&) [with T = Timer]: Assertion `ptr(x.heap_index)==&x' failed.
./lftp-https-get: line 8: 3682263 Aborted                 (core dumped) ../src/lftp <<EOF
# test if https is available first
open https://localhost & || exit 77
# try to get a file via https
cat https://lftp.yar.ru/features.html
EOF

FAIL lftp-https-get (exit status: 134)

============================================================================
Testsuite summary for lftp 4.9.0
============================================================================
# TOTAL: 7
# PASS:  4
# SKIP:  1
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to lftp-bugs@lftp.yar.ru
============================================================================
]$ coredumpctl | grep lftp
Tue 2020-02-25 08:50:52 GMT  3670078  1000  1000   6 present   /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest
Tue 2020-02-25 08:51:16 GMT  3672139  1000  1000   6 present   /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest
Tue 2020-02-25 08:52:46 GMT  3682258  1000  1000  11 present   /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests/ftp-list
Tue 2020-02-25 08:52:46 GMT  3682263  1000  1000   6 present   /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/src/lftp
$ coredumpctl gdb 3670078
           PID: 3670078 (conftest)
           UID: 1000 (tkloczko)
           GID: 1000 (tkloczko)
        Signal: 6 (ABRT)
     Timestamp: Tue 2020-02-25 08:50:52 GMT (5min ago)
  Command Line: ./conftest
    Executable: /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (tkloczko)
       Boot ID: 08190b1bb4b948b9b313f21ca84bc739
    Machine ID: d033f66b249a4ec09acfa81ac205554f
      Hostname: barrel
       Storage: /var/lib/systemd/coredump/core.conftest.1000.08190b1bb4b948b9b313f21ca84bc739.3670078.1582620652000000000000.lz4
       Message: Process 3670078 (conftest) of user 1000 dumped core.

                Stack trace of thread 3670078:
                #0  0x00007f01eb921a35 raise (libc.so.6)
                #1  0x00007f01eb90a895 abort (libc.so.6)
                #2  0x00007f01eb965887 __libc_message (libc.so.6)
                #3  0x00007f01eb96590a __libc_fatal (libc.so.6)
                #4  0x00007f01eb952fa0 __vfprintf_internal (libc.so.6)
                #5  0x00007f01eb95e024 __vsprintf_internal (libc.so.6)
                #6  0x00007f01eb9f49cb __sprintf_chk (libc.so.6)
                #7  0x000055f33cb890e4 n/a (/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest)

GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest: No such file or directory.
[New LWP 3670078]
Missing separate debuginfo for the main executable file
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/b2/b2dfc2d1b6e22511e81c345df46fb2fdeaf37f
Core was generated by `./conftest'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f01eb921a35 in ?? ()
(gdb) bt full
#0  0x00007f01eb921a35 in ?? ()
No symbol table info available.
#1  0x0000000000000000 in ?? ()
No symbol table info available.
$ coredumpctl gdb 3672139
           PID: 3672139 (conftest)
           UID: 1000 (tkloczko)
           GID: 1000 (tkloczko)
        Signal: 6 (ABRT)
     Timestamp: Tue 2020-02-25 08:51:16 GMT (5min ago)
  Command Line: ./conftest
    Executable: /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (tkloczko)
       Boot ID: 08190b1bb4b948b9b313f21ca84bc739
    Machine ID: d033f66b249a4ec09acfa81ac205554f
      Hostname: barrel
       Storage: /var/lib/systemd/coredump/core.conftest.1000.08190b1bb4b948b9b313f21ca84bc739.3672139.1582620676000000000000.lz4
       Message: Process 3672139 (conftest) of user 1000 dumped core.

                Stack trace of thread 3672139:
                #0  0x00007f97de159a35 raise (libc.so.6)
                #1  0x00007f97de142895 abort (libc.so.6)
                #2  0x00007f97de19d887 __libc_message (libc.so.6)
                #3  0x00007f97de19d90a __libc_fatal (libc.so.6)
                #4  0x00007f97de18afa0 __vfprintf_internal (libc.so.6)
                #5  0x00007f97de19ca6a __vsnprintf_internal (libc.so.6)
                #6  0x00007f97de22cac1 __snprintf_chk (libc.so.6)
                #7  0x000055d0c628c0d9 n/a (/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest)

GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/conftest: No such file or directory.
[New LWP 3672139]
Missing separate debuginfo for the main executable file
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/bf/8c29000821336c264ea434d6b2851507674963
Core was generated by `./conftest'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f97de159a35 in ?? ()
(gdb) bt full
#0  0x00007f97de159a35 in ?? ()
No symbol table info available.
#1  0x0000000000000000 in ?? ()
No symbol table info available.
$ coredumpctl gdb 3682258
           PID: 3682258 (ftp-list)
           UID: 1000 (tkloczko)
           GID: 1000 (tkloczko)
        Signal: 11 (SEGV)
     Timestamp: Tue 2020-02-25 08:52:45 GMT (4min 32s ago)
  Command Line: ./ftp-list
    Executable: /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests/ftp-list
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (tkloczko)
       Boot ID: 08190b1bb4b948b9b313f21ca84bc739
    Machine ID: d033f66b249a4ec09acfa81ac205554f
      Hostname: barrel
       Storage: /var/lib/systemd/coredump/core.ftp-list.1000.08190b1bb4b948b9b313f21ca84bc739.3682258.1582620765000000000000.lz4
       Message: Process 3682258 (ftp-list) of user 1000 dumped core.

                Stack trace of thread 3682258:
                #0  0x0000558869691218 n/a (/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests/ftp-list)

GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/tests/ftp-list...
[New LWP 3682258]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./ftp-list'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  Timer::TimeLeft (this=0x6000600070007) at TimeDate.h:140
140     TimeDate.h: No such file or directory.
 expat-2.2.9-2.1.fc32.x86_64 glibc-2.31-1.fc32.x86_64 libgcc-10.0.1-0.8.fc33.x86_64 libidn2-2.3.0-3.fc33.x86_64 libstdc++-10.0.1-0.8.fc33.x86_64 libunistring-0.9.10-8.fc32.x86_64 openssl-libs-1.1.1d-7.fc32.x86_64 zlib-1.2.11-22.fc33.x86_64
(gdb) bt full
Missing separate debuginfos, use: dnf debuginfo-install#0  Timer::TimeLeft (this=0x6000600070007) at TimeDate.h:140
No locals.
#1  0x00005588696912e6 in operator< (a=..., b=...) at Timer.cc:178
No locals.
#2  0x000055886969135f in xheap<Timer>::siftup (i=4, this=0x5588696e1e80 <Timer::running_timers>) at xheap.h:55
No locals.
#3  0x00005588696914b4 in xheap<Timer>::remove (x=..., this=0x5588696e1e80 <Timer::running_timers>) at xheap.h:128
        __PRETTY_FUNCTION__ = <optimized out>
#4  0x00005588696914e9 in Timer::~Timer (this=<optimized out>, this=<optimized out>) at Timer.cc:133
No locals.
#5  0x0000558869693444 in NetAccess::SiteData::~SiteData (this=<optimized out>, this=<optimized out>) at NetAccess.h:31
No locals.
#6  xmap_p<NetAccess::SiteData>::dispose (this=<optimized out>, p=0x55886aa9bba0) at xmap.h:107
No locals.
#7  xmap_p<NetAccess::SiteData>::dispose (this=0x5588696e19e0 <NetAccess::site_data>, p=0x55886aa9bba0) at xmap.h:107
No locals.
#8  xmap_p<NetAccess::SiteData>::~xmap_p (this=<optimized out>, this=<optimized out>) at xmap.h:112
        e = <optimized out>
        e = <optimized out>
#9  0x00007f689b0fe3c7 in __run_exit_handlers () from /lib64/libc.so.6
No symbol table info available.
#10 0x00007f689b0fe570 in exit () from /lib64/libc.so.6
No symbol table info available.
#11 0x00007f689b0e6049 in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#12 0x00005588696740ae in _start () at ftp-list.cc:53
No symbol table info available.
$ coredumpctl gdb 3682263
           PID: 3682263 (lftp)
           UID: 1000 (tkloczko)
           GID: 1000 (tkloczko)
        Signal: 6 (ABRT)
     Timestamp: Tue 2020-02-25 08:52:45 GMT (5min ago)
  Command Line: ../src/lftp
    Executable: /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/src/lftp
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (tkloczko)
       Boot ID: 08190b1bb4b948b9b313f21ca84bc739
    Machine ID: d033f66b249a4ec09acfa81ac205554f
      Hostname: barrel
       Storage: /var/lib/systemd/coredump/core.lftp.1000.08190b1bb4b948b9b313f21ca84bc739.3682263.1582620765000000000000.lz4
       Message: Process 3682263 (lftp) of user 1000 dumped core.

                Stack trace of thread 3682263:
                #0  0x00007fd1769dda35 raise (libc.so.6)
                #1  0x00007fd1769c6895 abort (libc.so.6)
                #2  0x00007fd1769c6769 __assert_fail_base.cold (libc.so.6)
                #3  0x00007fd1769d5e76 __assert_fail (libc.so.6)
                #4  0x00005634bb530589 n/a (/home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/src/lftp)

GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/tkloczko/rpmbuild/BUILD/lftp-4.9.0/src/lftp...
[New LWP 3682263]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `../src/lftp'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fd1769dda35 in raise () from /lib64/libc.so.6
 expat-2.2.9-2.1.fc32.x86_64 glibc-2.31-1.fc32.x86_64 libgcc-10.0.1-0.8.fc33.x86_64 libidn2-2.3.0-3.fc33.x86_64 libstdc++-10.0.1-0.8.fc33.x86_64 libunistring-0.9.10-8.fc32.x86_64 ncurses-libs-6.1-15.20191109.fc32.x86_64 openssl-libs-1.1.1d-7.fc32.x86_64 readline-8.0-5.fc33.x86_64 zlib-1.2.11-22.fc33.x86_64
(gdb) bt full
Missing separate debuginfos, use: dnf debuginfo-install#0  0x00007fd1769dda35 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fd1769c6895 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007fd1769c6769 in __assert_fail_base.cold () from /lib64/libc.so.6
No symbol table info available.
#3  0x00007fd1769d5e76 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#4  0x00005634bb530589 in xheap<Timer>::remove (this=<optimized out>, x=...) at xheap.h:129
        __PRETTY_FUNCTION__ = <optimized out>
#5  xheap<Timer>::remove (x=..., this=0x5634bb5e8d20 <Timer::running_timers>) at xheap.h:124
        __PRETTY_FUNCTION__ = <optimized out>
#6  0x00005634bb5310e3 in Timer::~Timer (this=<optimized out>, this=<optimized out>) at Timer.cc:133
No locals.
#7  0x00005634bb531e94 in NetAccess::SiteData::~SiteData (this=<optimized out>, this=<optimized out>) at NetAccess.h:31
No locals.
#8  xmap_p<NetAccess::SiteData>::dispose (this=<optimized out>, p=0x5634bce2f450) at xmap.h:107
No locals.
#9  xmap_p<NetAccess::SiteData>::dispose (p=0x5634bce2f450, this=<optimized out>) at xmap.h:107
No locals.
#10 0x00005634bb531ebf in xmap_p<NetAccess::SiteData>::~xmap_p (this=<optimized out>, this=<optimized out>) at xmap.h:117
        e = <optimized out>
        e = <optimized out>
#11 0x00007fd1769e03c7 in __run_exit_handlers () from /lib64/libc.so.6
No symbol table info available.
#12 0x00007fd1769e0570 in exit () from /lib64/libc.so.6
No symbol table info available.
#13 0x00007fd1769c8049 in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#14 0x00005634bb508ede in _start () at lftp.cc:619
No symbol table info available.