curl-library
Re: curl giving unhandled exception [was Re: unresolved symbol in 7.14.0]
Date: Wed, 31 Aug 2005 23:16:02 +0200 (CEST)
On Wed, 31 Aug 2005, JB wrote:
> tried with curl_global_init both uncommented and commented as it isn't clear
> from the docs if curl_easy_init calls it for you
In the man page for curl_global_init it says:
If this function hasn't been invoked when curl_easy_init(3) is called, it
will be done automatically by libcurl.
In my eyes this is pretty clear, but please let me know how I can rephrase
this to be clearer!
> When I run the above, I get an unhandled exception after attempting to free
> mem on the heap. The call stack looks like:
> msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x015d4d40)
> Line 1807 C
> msvcr71d.dll!_free_dbg_lk(void * pUserData=0x015d4d40, int nBlockUse=1)
> Line 1132 + 0x9 C
> msvcr71d.dll!_free_dbg(void * pUserData=0x015d4d40, int nBlockUse=1) Line
> 1070 + 0xd C
> msvcr71d.dll!free(void * pUserData=0x015d4d40) Line 1025 + 0xb C
> client.exe!_Curl_destroy_thread_data() + 0x13 C
I've not seen this before.
Can you figure out more specificly what line number in the source that final
"client.exe!_Curl_destroy_thread_data() + 0x13 C" means?
Does it happen every time?
Can you try the most recent daily snapshot version and see if it works?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-08-31