[axel-devel] [axel-Bugs][310637] crashes when a HTTP 302 redirects it to a FTP location

axel-bugs at alioth.debian.org axel-bugs at alioth.debian.org
Thu Mar 6 15:34:53 UTC 2008


Bugs item #310637, was opened at 2008-03-06 21:02
Status: Open
>Priority: 2
Submitted By: Giridhar Appaji Nag Y (appaji-guest)
Assigned to: Nobody (None)
Summary: crashes when a HTTP 302 redirects it to a FTP location 


Initial Comment:
$ axel http://www.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
Initializing download: http://www.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
Too many redirects.

[1]    9860 segmentation fault (core dumped)  axel 

But ...

$ wget http://www.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
--13:34:54--  http://www.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
           => `ubuntu-6.06.1-alternate-amd64.iso'
Resolving www.mirrorservice.org... 212.219.56.135, 212.219.56.138, 212.219.56.139, ...
Connecting to www.mirrorservice.org|212.219.56.135|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: ftp://ftp.ukc.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso [following]
--13:34:56--  ftp://ftp.ukc.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
           => `ubuntu-6.06.1-alternate-amd64.iso'
Resolving ftp.ukc.mirrorservice.org... 212.219.56.132, 212.219.56.133, 212.219.56.134, ...
Connecting to ftp.ukc.mirrorservice.org|212.219.56.132|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /sites/releases.ubuntu.com/dapper ... done.
==> PASV ... done.    ==> RETR ubuntu-6.06.1-alternate-amd64.iso ... done.
Length: 73,16,70,528 (698M) (unauthoritative)

Output from a debug build:

$ axel http://www.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
Initializing download: http://www.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
tcp_connect( www.mirrorservice.org, 80 ) = 33718
--- Sending request ---
GET /sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso HTTP/1.0
Host: www.mirrorservice.org
User-Agent: Axel 1.0b (Linux)
Range: bytes=1-
--- End of request ---
--- Reply headers ---
HTTP/1.0 302 Found
Date: Tue, 06 Nov 2007 08:32:30 GMT
Content-Length: 449
Content-Type: text/html; charset=iso-8859-1
Server: Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/2.4.2
Location: ftp://ftp.ukc.mirrorservice.org/sites/releases.ubuntu.com/dapper/ubuntu-6.06.1-alternate-amd64.iso
Via: 1.1 www.mirrorservice.org, 1.1 nc-btc01 (NetCache NetApp/6.0.3)
--- End of headers ---
tcp_connect( ftp.ukc.mirrorservice.org, 21 ) = 33218
fd(3)-->220 UK Mirror Service FTP server version 1.4 ready
fd(3)<--USER anonymous
fd(3)-->331 Guest login ok: please send your email address as the password
fd(3)<--PASS -lara_hack at gmx.co.uk
fd(3)-->230-  Welcome to the University of Kent's UK Mirror Service
230-  
230-  More information can be found at our web site: http://www.mirrorservice.org/
230-  Please send comments or questions to help at mirrorservice.org
230-  
230-  Please use rsync.mirrorservice.org for rsync access rather than
230-  ftp.mirrorservice.org.
230-  
230 Logged in for anonymous FTP
fd(3)<--TYPE I
fd(3)-->200 Type set to I
fd(3)<--CWD /sites/releases.ubuntu.com/dapper/
fd(3)-->250 Current directory now /sites/releases.ubuntu.com/dapper
fd(3)<--PASV
fd(3)-->227 Entering Passive Mode (212,219,56,133,218,225)
tcp_connect( 212.219.56.133, 56033 ) = 37015
fd(3)<--REST 1
fd(3)-->350 Restarting at 1.  Send RETR to initiate transfer
fd(3)<--RETR ubuntu-6.06.1-alternate-amd64.iso
fd(3)-->150 About to open data connection for file (731670528 bytes).
tcp_connect( ftp.ukc.mirrorservice.org, 21 ) = 36396
fd(3)-->220 UK Mirror Service FTP server version 1.4 ready
fd(3)<--USER anonymous
fd(3)-->331 Guest login ok: please send your email address as the password
fd(3)<--PASS -lara_hack at gmx.co.uk
fd(3)-->230-  Welcome to the University of Kent's UK Mirror Service
230-  
230-  More information can be found at our web site: http://www.mirrorservice.org/
230-  Please send comments or questions to help at mirrorservice.org
230-  
230-  Please use rsync.mirrorservice.org for rsync access rather than
230-  ftp.mirrorservice.org.
230-  
230 Logged in for anonymous FTP
fd(3)<--TYPE I
fd(3)-->200 Type set to I
fd(3)<--CWD /sites/releases.ubuntu.com/dapper/
fd(3)-->250 Current directory now /sites/releases.ubuntu.com/dapper
fd(3)<--PASV
fd(3)-->227 Entering Passive Mode (212,219,56,135,135,233)
tcp_connect( 212.219.56.135, 34793 ) = 49293
fd(3)<--REST 1
fd(3)-->350 Restarting at 1.  Send RETR to initiate transfer
fd(3)<--RETR ubuntu-6.06.1-alternate-amd64.iso
fd(3)-->150 About to open data connection for file (731670528 bytes).
tcp_connect( ftp.ukc.mirrorservice.org, 21 ) = 36398
fd(3)-->220 UK Mirror Service FTP server version 1.4 ready
fd(3)<--USER anonymous
fd(3)-->331 Guest login ok: please send your email address as the password
fd(3)<--PASS -lara_hack at gmx.co.uk
fd(3)-->230-  Welcome to the University of Kent's UK Mirror Service
230-  
230-  More information can be found at our web site: http://www.mirrorservice.org/
230-  Please send comments or questions to help at mirrorservice.org
230-  
230-  Please use rsync.mirrorservice.org for rsync access rather than
230-  ftp.mirrorservice.org.
230-  
230 Logged in for anonymous FTP
fd(3)<--TYPE I
fd(3)-->200 Type set to I
fd(3)<--CWD /sites/releases.ubuntu.com/dapper/
fd(3)-->250 Current directory now /sites/releases.ubuntu.com/dapper
fd(3)<--PASV
fd(3)-->227 Entering Passive Mode (212,219,56,135,158,207)
tcp_connect( 212.219.56.135, 40655 ) = 60135
fd(3)<--REST 1
fd(3)-->350 Restarting at 1.  Send RETR to initiate transfer
fd(3)<--RETR ubuntu-6.06.1-alternate-amd64.iso
fd(3)-->150 About to open data connection for file (731670528 bytes).
tcp_connect( ftp.ukc.mirrorservice.org, 21 ) = 60479
fd(3)-->220 UK Mirror Service FTP server version 1.4 ready
fd(3)<--USER anonymous
fd(3)-->331 Guest login ok: please send your email address as the password
fd(3)<--PASS -lara_hack at gmx.co.uk
fd(3)-->230-  Welcome to the University of Kent's UK Mirror Service
230-  
230-  More information can be found at our web site: http://www.mirrorservice.org/
230-  Please send comments or questions to help at mirrorservice.org
230-  
230-  Please use rsync.mirrorservice.org for rsync access rather than
230-  ftp.mirrorservice.org.
230-  
230 Logged in for anonymous FTP
fd(3)<--TYPE I
fd(3)-->200 Type set to I
fd(3)<--CWD /sites/releases.ubuntu.com/dapper/
fd(3)-->250 Current directory now /sites/releases.ubuntu.com/dapper
fd(3)<--PASV
fd(3)-->227 Entering Passive Mode (212,219,56,138,161,250)
tcp_connect( 212.219.56.138, 41466 ) = 47505
fd(3)<--REST 1
fd(3)-->350 Restarting at 1.  Send RETR to initiate transfer
fd(3)<--RETR ubuntu-6.06.1-alternate-amd64.iso
fd(3)-->150 About to open data connection for file (731670528 bytes).
[1]    10048 segmentation fault (core dumped)  ./axel 

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413085&aid=310637&group_id=100070



More information about the axel-devel mailing list