[Bug 1904601] Re: lftp 4.8.1 crashes upon exit

Anja Stemme 1904601 at bugs.launchpad.net
Wed Nov 18 15:54:52 UTC 2020


I am not sure if you are using gitlab but for me the following yaml script finally did it:
(maybe as interim until someone fixes the bug)

image: ubuntu:18.04
before_script:
  - apt-get update -qy
  - apt-cache showpkg lftp
  - apt-get install -y lftp
  - apt-get install -y lftp=4.8.1-1ubuntu0.1 --allow-downgrades
  - age=$(stat -c %Y scripts/network.js)

-- 
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