|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1229810 ] Memory leak in curl_easy_perform method
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 06 Jul 2005 06:05:41 -0700
Bugs item #1229810, was opened at 2005-06-29 16:18
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
I am currently using the libcurl library to perform file
I have found memory leaks while using the
I attach the report summary generated by Insure tool.
On the other hand, I indicate the libcurl version (curl -V) I
************************ curl -V ********************************
Could anybody tell me if this bug is fixed in the latest
Thanks in advance for all your support.
Julio Garvía
----------------------------------------------------------------------
>Comment By: jgarvia (jgarvia)
Message:
Certainly, the points mentioned by valgrind are not reported
Anyways, I continue trying to know why the memory is
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Certainly, the points mentioned by valgrind are not reported
Anyways, I continue trying to know why the memory is
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Certainly, the points mentioned by valgrind are not reported
Anyways, I continue trying to know why the memory is
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Your program never ends so whenever it is stopped of course
If you make it loop only N laps, does it still show those
But feel free to prove me wrong!
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Just one appointment:
Executing the program I attached (in Linux) using 'valgrind'
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Just one appointment:
Executing the program I attached (in Linux) using 'valgrind'
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Yes it certainly sounds like a leak. I just can't see
I'm puzzled why your insure tool reports a leak when my
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Not so far,
but 'ps axu' is telling that memory is increasing ...
I will continue investigating.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Any news?
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Ok, I modified the while(1) to become a counter=10;
Not a single byte leaks...
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Hi again,
I have prepared an example for uploading the same file in an
You could just modify the Makefile (LIBCURLDIR and
When you execute 'MyFtp' application the same file wil be
Then if you execute periodically a 'ps' (I have also attach
Best regards,
Julio Garvía
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
but I should mention that I don't think any fixes related to
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Daily snapshots:
(and my recent tru64-related memdebug things will be
http://cool.haxx.se/curl-daily/
How to get it off CVS:
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
O.K.
I will do what you said, but, Could you tell me where can I
Hopefully we wil solve this "trouble" soon :-)
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
built just now:
$ ./src/curl -V
This is curl on tru64, with --enable-debug (I've just made
It shows _no_ leak at all. When getting a file over FTP, I
I guess now is the time where you show me exactly what you
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
libcurl features a DNS cache where all successful name
The call to Curl_cache_addr() adds the resolved data to the
If the entry remains in the cache until the handle is
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
Yes, I call 'curl_easy_cleanup()' as well as
Well, let me show where I guess there is a memory leak
Ciao,
Julio Garvía
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Did you really call curl_easy_cleanup() too?
----------------------------------------------------------------------
Comment By: jgarvia (jgarvia)
Message:
I have just installed the new library version and the same
Regarding the Insure report, I attach the new one.
So, analyzing the second reported chunk (in the latest
Please, if you still need an example, tell me and I will
Thanks.
Julio Garvía
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
First, I must admit I don't understand the report. What
Can't you simply build 7.14.0 and test to see if the leak is
Can you show us an example program (that leaks this memory)
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info