cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory leak

From: Robert Iakobashvili <coroberti_at_gmail.com>
Date: Fri, 24 Oct 2008 07:37:35 +0200

Gentlemen,

On Wed, Oct 22, 2008 at 10:42 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 22 Oct 2008, Vijay wrote:
>
> Linux buildsrv 2.4.21-15.0.3.ELsmp #1 SMP Tue Jun 29 18:04:47 EDT 2004 i686
>> i686 i386 GNU/Linux
>> curl - curl-7.18.0
>>
>
>
> Since you're using linux can you please use valgrind on your application
> and show us the valgrind report for this memory leak? And please upgrade to
> 7.19.0 before you chase after this a lot, just to make sure the leak is
> still present in the current version.
>
> / daniel.haxx.se
>

Just on a side note there is another option on linux, which is very good,
when looking for memory leaks,
out-of-bonds, etc memory related errors, it is:
http://dbgmem.sourceforge.net/

It works at loads, when valgrind crashes, and detects some errors, that
valgrind fails.

The cons of the project is that it is very fresh, less stable, and sometimes
one needs to dig in the code
and patch it.

-- 
Truly,
Robert Iakobashvili, Ph.D.
......................................................................
www.ghotit.com
Assistive technology that understands you
......................................................................
Received on 2008-10-24