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

Bug#449513: axel: crashes when a HTTP 302 redirects it to a FTP location



Package: axel
Version: 1.0b-3
Severity: normal

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

Giridhar

--
Y Giridhar Appaji Nag | http://www.appaji.net/

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages axel depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

axel recommends no packages.

-- no debconf information




Reply to: