[Bug 1904601] Re: lftp 4.8.1 crashes upon exit

Greg Camp 1904601 at bugs.launchpad.net
Tue Nov 17 20:19:57 UTC 2020


This command will trigger the segfault. This is predicated on the <user>
having an SSH-enabled account at <host>.

lftp sftp://user@host -e "ls; bye"

The output should be an ls listing of the user's home directory and a
clean exit / return to the shell prompt. But instead of clean exit the
output will be similar to this:

<directory listing>
lftp: RateLimit.cc:30: void RateLimit::AddXfer(int): Assertion `xfer_number>=0' failed.
Aborted (core dumped)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lftp in Ubuntu.
https://bugs.launchpad.net/bugs/1904601

Title:
  lftp 4.8.1 crashes upon exit

Status in lftp package in Ubuntu:
  New

Bug description:
  Release: Ubuntu 18.04.5 LTS
  Package: 4.8.1-1ubuntu0.2

  lftp 4.8.1 and 4.8.2 have a known bug where it will crash upon exit.
  This bug was fixed on Oct 3, 2017 and is included in lftp 4.8.3.

  This is the error reported on the console:
  RateLimit.cc:30: void RateLimit::AddXfer(int): Assertion `xfer_number>=0' failed.

  Here is the commit that addresses the issue:
  https://github.com/lavv17/lftp/commit/8ac64e9d664270d67fa4b8f75186af0884c030f0

  Currently lftp is not usable in scripts due to the segfault / core
  dump.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lftp/+bug/1904601/+subscriptions



More information about the foundations-bugs mailing list