NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/53532: ftp(1) dumps core while trying to download via HTTP with the auto-fetch feature



>Number:         53532
>Category:       bin
>Synopsis:       ftp(1) dumps core while trying to download via HTTP with the auto-fetch feature
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 17 01:45:00 +0000 2018
>Originator:     David H. Gutteridge
>Release:        8.0_STABLE
>Organization:
>Environment:
NetBSD arcusii.nonus-porta.net 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #0: Fri Jul 27 10:55:40 UTC 2018  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
While trying to download various files via ftp(1)'s auto-fetch
feature, I've found it consistently segfaults immediately upon
execution.

A sample command that triggers the issue is:

ftp -4 https://cdn.netbsd.org:443/pub/NetBSD/NetBSD-8.0/images/NetBSD-8.0-i386.iso

This results in:

Illegal instruction (core dumped) 

This occurs consistently on the i386 port (at least, running
8.0_STABLE). I cannot duplicate the issue on amd64 8.0_STABLE or
8.99.22, nor can I duplicate it on Fedora Linux i386 using their
version of the program ("tnftp 20151004").

I haven't had any luck getting a useful stack trace. I have the debug
set installed, yet I still get:

Reading symbols from /usr/bin/ftp...Reading symbols from /usr/libdata/debug//usr/bin/ftp.debug...done.
done.
[New process 1]
Core was generated by `ftp'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0xbb92bd50 in ?? ()
(gdb) bt
#0  0xbb92bd50 in ?? ()
#1  0x70502000 in ?? ()
#2  0xc0e090b0 in ?? ()
#3  0x10304060 in ?? ()
#4  0xa080f0d0 in ?? ()
#5  0x00000000 in ?? ()

>How-To-Repeat:
As above.
>Fix:
Unknown.

I won't have any further time to look into this further in the next
two weeks, but can do so after then, if need be.



Home | Main Index | Thread Index | Old Index