cURL / Mailing Lists / curl-users / Single Mail

curl-users

Compiled with defaults, curl (latest CVS) fails tests on AIX 5.2

From: Scott Davis <scott_victor_davis_at_hotmail.com>
Date: Wed, 09 Mar 2005 16:55:02 -0500

I compiled and tested curl thusly on my AIX 5.2 box:

./configure --without-ssl
make all test

And got these errors.

test 101...FAILED [FTP dir list, PORT with specified IP]
test 103...FAILED [FTP RETR PORT with CWD]
test 108...FAILED [FTP PORT upload with CWD]
test 119...FAILED [FTP download, failed RETR with PORT]
test 144...FAILED [FTP NLST dir list without contents, using PORT]
test 145...FAILED [FTP NLST dir list with weird reply code, using PORT]
test 212...FAILED [Get two FTP files with no remote EPRT or LPRT support]
test 241...FAILED [HTTP-IPv6 GET with username+password in URL]

I noticed that one test was an IPV6 test so I tried:

make clean
./configure --without-ssl --disable-ipv6
make all test

And viola, 100% of the tests passed.

Additionally, if I enabled SSL support along with IPV6 I get this disaster:

make clean
./configure --with-ssl=my-ssl-path
make all test

test 005...[HTTP over proxy] core dumped! data FAILED
test 012...[HTTP range support] core dumped! data FAILED
test 013...[HTTP custom request 'DELETE'] core dumped! data FAILED
test 016...[HTTP with proxy athorization] core dumped! data FAILED
test 017...[HTTP with config file on stdin] core dumped! data FAILED
test 043...[HTTP Location: following over HTTP proxy] core dumped! data
FAILED
test 056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
core dumped! data FAILED
test 058...[HTTP PUT from file with weird letters] core dumped! data FAILED
test 071...[HTTP and -F upload in config file] core dumped! data FAILED
test 080...[HTTP CONNECT with proxy and host Basic authentication] core
dumped! data FAILED
test 081...[HTTP with proxy using NTLM authorization] core dumped! data
FAILED
test 082...[HTTP with proxy requiring NTLM, but we send Basic] core dumped!
data FAILED
test 083...[HTTP over proxy-tunnel with site authentication] core dumped!
data FAILED
test 084...[HTTP over proxy with site authentication] core dumped! data
FAILED
test 086...[HTTP, urlglob []-retrieval and -o #[num] usage] core dumped!
protocol FAILED
test 093...[HTTP GET with failed proxy auth] core dumped! data FAILED
test 094...[HTTPS GET with failed proxy auth] core dumped! protocol FAILED
test 095...[HTTP over proxytunnel using POST] core dumped! data FAILED
test 097...[HTTP POST with custom content-type] core dumped! data FAILED
test 101...[FTP dir list, PORT with specified IP] data FAILED
test 103...[FTP RETR PORT with CWD] data FAILED
test 108...[FTP PORT upload with CWD] core dumped! upload FAILED
test 119...[FTP download, failed RETR with PORT] core dumped! protocol
FAILED
test 120...[ftp download with post-quote delete operation] core dumped!
data FAILED
test 121...[ftp download with post- and pre-transfer delete operations] core
dumped! data FAILED
test 126...[FTP download with multiple replies at once in RETR] core dumped!
  data FAILED
test 135...[FTP retrieve a byte-range] core dumped! data FAILED
test 136...[FTP with user and no password] core dumped! data FAILED
test 137...[FTP download without size in RETR string] core dumped! data
FAILED
test 138...[FTP download without size in RETR string and no SIZE command]
core dumped! data FAILED
test 143...[FTP URL with type=a] core dumped! data FAILED
test 144...[FTP NLST dir list without contents, using PORT] protocol FAILED
test 145...[FTP NLST dir list with weird reply code, using PORT] protocol
FAILED
test 162...[HTTP GET asking for --proxy-ntlm when some other authentication
is required] core dumped! protocol FAILED
test 163...[HTTP multipart formpost with contents from a file] core dumped!
data FAILED
test 166...[HTTP formpost a file with spaces in name] core dumped! data
FAILED
test 167...[HTTP with proxy-requiring-Basic to site-requiring-Digest] core
dumped! data FAILED
test 168...[HTTP with proxy-requiring-Digest to site-requiring-Digest] core
dumped! data FAILED
test 169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest] core
dumped! data FAILED
test 171...[HTTP, get cookie with dot prefixed full domain] core dumped!
data FAILED
test 183...[HTTP GET two URLs over a single proxy with persistent
connection] core dumped! data FAILED
test 184...[HTTP replace Host: when following Location: to new host] core
dumped! data FAILED
test 185...[HTTP replace Host: when following Location: on the same host]
core dumped! data FAILED
test 191...[FTP URL with ?-letters in username and password ] core dumped!
data FAILED
test 210...[Get two FTP files from the same remote dir: no second CWD] core
dumped! data FAILED
test 211...[Get two FTP files with no remote EPSV support] core dumped!
data FAILED
test 212...[Get two FTP files with no remote EPRT or LPRT support] data
FAILED
test 213...[HTTP proxy CONNECT auth NTLM and then POST] core dumped! data
FAILED
test 215...[Get two FTP dir listings from the same remote dir: no second
CWD] core dumped! data FAILED
test 216...[FTP upload two files to the same dir] core dumped! protocol
FAILED
test 217...[HTTP proxy CONNECT to proxy returning 405] core dumped! stdout
FAILED
test 218...[HTTP PUT from a file but enforce chunked transfer-encoding] core
dumped! data FAILED
test 230...[FTP 3rd party transfer] core dumped! protocol FAILED
test 231...[FTP 3rd party transfer, make target use PORT] core dumped!
protocol FAILED
test 241...[HTTP-IPv6 GET (using ip6-localhost)] data FAILED
test 504...[simple multi through local proxy without listener] core dumped!
curl returned 0.54296875, 100 was expected exit FAILED
test 505...[FTP upload with rename after transfer] core dumped! upload
FAILED

Look at all those core dumps!

Taking away IPV6 (but leaving SSL) brings harmony again:

make clean
./configure --with-ssl=my-ssl-path --disable-ipv6
make all test

Has anyone else with AIX 5.2 trying recent curl builds seen this?
Shall I report this as a bug?
Disabling the IPV6 support is not a big deal for me at all, but finding out
it *was* the ipv6 support that caused the errors took almost a day of
playing around with the build.

I'd like other AIX users to be aware of this so they don't waste their time.
And hopefully someone who knows AIX + curl can fix the problem, or at least
make --disable-ipv6 the default configuration on AIX (5.2 only?) until the
problem is sorted out.
Received on 2005-03-09