cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory leak using default resolver and short timeouts

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 23 Feb 2015 18:22:50 +0100

On Mon, Feb 23, 2015 at 03:52:37PM +0100, Ståle Kristoffersen wrote:
> This was on a x64 machine running debian 7.6:
> $ dpkg -l | grep libc6
> ii libc6:amd64 2.13-38+deb7u6 amd64 Embedded GNU C Library: Shared libraries

That might well be an affected version.

> I think this might be the issue we are hitting:
> http://curl.haxx.se/mail/lib-2008-09/0197.html

Maybe, but unlikely. You'd likely see more serious problems if that were the
case. If so, then you could switch to the threaded resolver and see if that
helps. I suspect not, but the code path is very different so there's a chance
it might not leak.

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