curl-library
Re: curl crash in Curl_safefree on windows
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Sep 2009 20:06:02 +0200 (CEST)
Date: Wed, 16 Sep 2009 20:06:02 +0200 (CEST)
On Wed, 16 Sep 2009, Gokul Krishna wrote:
> i am running libcurl 7.19.3 compiled with openssl and libssh2 support on a
> windows xp machine. i try to post a http request to a url and read the data
> returned(binary data).
>
> The code seems to crash randomly in free(). i verified if both the CRT
> versions are the same and both are using /MDd switch.
99.9% of the times someone reports something like this the problems are
outside of libcurl. It's either a memory system confusion/mixup (in windows),
usage of SSL multi-threaded without mutex callbacks set or otherwise ruining
memory from the app itself.
If you build just a sample app from docs/examples/ and run it, does it crash
too?
-- / daniel.haxx.seReceived on 2009-09-16