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

Details

Description:
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 (libc.so.6)
#1 0x00007fb77f95cec9 abort (libc.so.6)
#2 0x00007fb77cd38a5e n/a (libnss_resolve.so.2)
#3 0x00007fb77cd5456f n/a (libnss_resolve.so.2)
#4 0x00007fb77cd5e31f n/a (libnss_resolve.so.2)
#5 0x00007fb77cd5f5fa n/a (libnss_resolve.so.2)
#6 0x00007fb77cd5fbad n/a (libnss_resolve.so.2)
#7 0x00007fb77cd4cdad _nss_resolve_gethostbyname4_r (libnss_resolve.so.2)
#8 0x00007fb77fa06fd9 gaih_inet.constprop.7 (libc.so.6)
#9 0x00007fb77fa07f04 getaddrinfo (libc.so.6)
#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 (libc.so.6)
#22 0x000055f5c0dc353a _start (lftp)

Steps to reproduce:

>>> lftp some.ftp.site
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: https://github.com/systemd/systemd/pull/8080
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 

Loading...