curl-library
Re: autobuilds test 512 fails
Date: Tue, 5 Oct 2010 15:09:10 +0200
On Sun, Oct 3, 2010 at 19:21, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Sun, 3 Oct 2010, Guenter wrote:
>
>> I've just seen that test 512 fails now for a while;
>> here's a build form me:
>
> The only recent change in there that I can recall is that we now use
> ares_dup() and require c-ares 1.6.0 or later.
>
> Any chance one of you can run that test case with -g and do some little
> debugging to at least get a backtrace?
A quick initial check indicates that the problem is in ares_init.c, line 503:
/* copy sortlist */
if ((optmask & ARES_OPT_SORTLIST) && channel->nsort == -1)
{
channel->sortlist = malloc(options->nsort * sizeof(struct apattern));
if (!channel->sortlist)
options->nsort == 0. This malloc calls curl_dmalloc() if libcurl is
built with --enable-debug, and there's an assert in there which fails
then. (The test doesn't fail without --enable-debug)
-Tor
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-05