curl-library
R: R: run time error with test_curl.exe
Date: Sat, 10 Nov 2012 13:09:15 +0100
Thank you very much, Maxime.
Yes, I run the Release mode from within Visual C++ debugger.
test_curl.exe crashes exactly when “ ccCurlResult =
curl_easy_perform(hCurl);” is performed;
Here are the error messages I get in the call Stack window when
test_curl.exe fails.
Thanks again for attention;
Have a nice weekend.
Donato
-----Messaggio originale-----
Da: curl-library [mailto:curl-library-bounces_at_cool.haxx.se] Per conto di
Maxime Larocque
Inviato: venerdì 9 novembre 2012 20:26
A: libcurl development
Oggetto: Re: R: run time error with test_curl.exe
Hi Donato,
Le 07/11/2012 06:42, Donato Settembre a écrit :
> But, when I compiled in “release mode” , the compiling process goes
> successfully, but the execution fails immediately, with the following
> message:
>
> Unhandled exception at 0x772fe3be in test_curl.exe: 0xC0000005: Access
> violation reading location 0x520b8a27.
>
> (Original message in Italian: “Eccezione non gestita a 0x772fe3be in
> test_curl.exe: 0xC0000005: Violazione di accesso nella lettura del
> percorso 0x520b8a27”).
>
> According with Visual Studio 2010 displayed info, the error is related
> to Ms “free.c” function when it attempts to free a block in the heap;
>
I do not think that the trouble lies within free.c... most likely, an
invalid buffer is being freed by the caller.
Did you try to run the Release mode application from within the Visual
C++ debugger? It would help a lot to have a back trace; even if it can
be somewhat crippled being compiled in release mode. You can activate logs,
add printf, whatever to try to pinpoint the problem.
We can't help you much more than this, since an Access violation can mean
anything...
Maxime
-------------------------------------------------------------------
List admin: <http://cool.haxx.se/list/listinfo/curl-library>
http://cool.haxx.se/list/listinfo/curl-library
Etiquette: <http://curl.haxx.se/mail/etiquette.html>
http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html