cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: test 509 fails

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 24 Mar 2015 23:50:13 +0100

On Tue, Mar 24, 2015 at 10:14:10PM +0100, Dan Fandrich wrote:
> On Mon, Mar 23, 2015 at 10:45:45PM -0700, Chris Ghormley wrote:
> >
> > I am running automated tests and failing test 509. This is on Ubuntu 14.04
> > 32-bit with the following configuration:
> >
> > ./configure CFLAGS=-Os --enable-proxy --disable-debug --enable-crypto-auth -
> > -disable-ares --disable-dependency-tracking --disable-largefile
> > --disable-libtoo
> > l-lock --disable-ftp --disable-file --disable-gopher --disable-ldap
> > --disable-ld
> > aps --disable-rtsp --disable-dict --disable-telnet --disable-tftp
> > --disable-pop3
> > --disable-imap --disable-smtp --disable-manual --disable-ipv6
> > --enable-verbose
> > --disable-sspi --enable-hidden-symbols --with-axtls=/usr/local --without-ssl
> > --w
> > ithout-gnutls --without-nss --without-libidn --without-libssh2
> >
> > For testing veterans out there, what is this trying to tell me? Output
> > follows.
> >
> > test 0509...[initialization with memory callbacks and actual usage]
>
> I'm able to reproduce this; it shows up if configured simply with
> --disable-debug --with-axtls=/usr/local. What's odd is that it doesn't show up
> with --disable-debug and any of 4 other SSL libraries I've tried. I'll dig into
> this a bit more.

It turned out to be inconsistent inclusion of the curl_memory.h header which
redefines the standard heap functions with curl's own. In a few files it was
included before other header files that redefined its contents so curl's memory
callbacks weren't being used. I've pushed a fix for this into the repo. Thanks
for the report.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-24