cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 7.21.0 - debug assertion in debug build

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Jul 2010 16:57:29 +0200 (CEST)

On Tue, 6 Jul 2010, nir droid wrote:

> hi, I'm running the lib in debug mode, and this assertion closes my app:
> http.c:3743: Curl_http_readwrite_headers: Assertion `!data->req.location'
> failed.
>
> can someone take a look and tell me how bad it is?

It means that the pointer wasn't NULL, which probably means it contains an
allocated resource when it gets reassigned without freeing the old contents.

Can you use valgrind or similar to see if you also get a memory leak in that
situation? Can you help us repeat that assert in our tests?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-06