cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Crash on FTP and --dump-header

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 6 Sep 2005 23:48:03 +0200 (CEST)

On Tue, 6 Sep 2005, Ben Madsen wrote:

> Yes, every time I specify authentication details, it crashes.

...

> Broken:
> Curl release 7.14.0 on Fedora Core 4 (glibc 2.8.5-10.3)
> -- Dumps with: *** glibc detected *** curl: corrupted double-linked list:
> 0x098fe228 ***
> Curl release 7.13.1 on Debian (3.1) (glibc 2.4.7-1)
> -- Dumps with: free(): invalid pointer 0x4001a000!
>
> Working:
> Curl release 7.10.6 on RHEL 3 (glibc 2.3.2-95.6)
> Curl release 7.13.0 on HPUX 11i (11.11)
>
> HPUX does not use glibc, but it's running an older version of curl. I don't
> particularly know if the Debian curl binary uses glibc because it spits out
> a different error.

curl 7.14.0 works fine on Debian unstable for me:

$ curl -u [user]:[password] --dump-header dump ftp://localhost/
(ends successfully with no complaints)
$ ldd --version
ldd (GNU libc) 2.3.5

For fun I also tried curl 7.13.2 on an old Redhat using glibc 2.2.4 and it
worked just fine as well, using the full line:

$ curl -u anonymous:fool@fool.com --dump-header dump ftp://ftp.sunet.se/

... and on Solaris 7 I tried curl 7.9.8 (yep, I had it lying around!) and
7.14.1 with the exact same command line and they worked too.

I tried curl 7.10.6 on RHEL4 amd64 using glibc 2.3.2 and it worked fine.

But when I curl 7.12.1 on RHEL4 x86 it... crashed!

And when I try the latest CVS on this same box it crashes too. On a free when
disconnecting... I'll investigate further!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-09-06