Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#57475 - [lftp] can't resolve host names

Attached to Project: Arch Linux
Opened by lilydjwg (lilydjwg) - Monday, 12 February 2018, 03:04 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 12 February 2018, 03:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


lftp can't resolve host names, producing a coredump.

Additional info:

>>> pacman -Q systemd libsystemd lftp
systemd 237.0-2
libsystemd 237.0-2
lftp 4.8.3-1

Stack trace of thread 10783:
#0 0x00007fb77f95b860 raise (
#1 0x00007fb77f95cec9 abort (
#2 0x00007fb77cd38a5e n/a (
#3 0x00007fb77cd5456f n/a (
#4 0x00007fb77cd5e31f n/a (
#5 0x00007fb77cd5f5fa n/a (
#6 0x00007fb77cd5fbad n/a (
#7 0x00007fb77cd4cdad _nss_resolve_gethostbyname4_r (
#8 0x00007fb77fa06fd9 gaih_inet.constprop.7 (
#9 0x00007fb77fa07f04 getaddrinfo (
#10 0x000055f5c0e7f085 _ZN8Resolver9LookupOneEPKc (lftp)
#11 0x000055f5c0e7f2fb _ZN8Resolver15DoGethostbynameEv (lftp)
#12 0x000055f5c0e7fcc3 _ZN8Resolver2DoEv (lftp)
#13 0x000055f5c0e10385 _ZN6SMTask4RollEPS_ (lftp)
#14 0x000055f5c0e7dd4c _ZN9NetAccess7ResolveEPKcS1_S1_ (lftp)
#15 0x000055f5c0e55b01 _ZN3Ftp2DoEv (lftp)
#16 0x000055f5c0e104c5 _ZN6SMTask12ScheduleThisEv (lftp)
#17 0x000055f5c0e105db _ZN6SMTask11ScheduleNewEv (lftp)
#18 0x000055f5c0e106d9 _ZN6SMTask8ScheduleEv (lftp)
#19 0x000055f5c0dcb26e _ZN3Job8WaitDoneEv (lftp)
#20 0x000055f5c0dc197d main (lftp)
#21 0x00007fb77f947f4a __libc_start_main (
#22 0x000055f5c0dc353a _start (lftp)

Steps to reproduce:

>>> lftp
Assertion 'fd' failed at ../systemd-stable/src/basic/socket-util.c:1011, function getpeergroups(). Aborting.
[it then stops to waiting for resolving the host name.]

It works fine with an IP address.

This seems to have been fixed upstream:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 12 February 2018, 03:30 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57388