curl-library
Re: BUG: free statement in http_negotiate.c giving heap error
Date: Tue, 26 Mar 2013 13:57:59 +0530
Ok line number 308 is the malloc call which occurs immediately after the
free statement that i talked about. This malloc is never reached, since the
free itself causes a breakpoint after which I cannot step forward
The call stack for your perusal(generated by using visual studio 2008 on
curl 7.28.1), I am still working on debugging it:-
1. msvcr90d.dll!_free_dbg_nolock(void * pUserData=0x006110e0, int
nBlockUse=1) Line 1317 + 0x30 bytes C++
2. msvcr90d.dll!_free_dbg(void * pUserData=0x006110e0, int nBlockUse=1)
Line 1258 + 0xd bytes C++
3. msvcr90d.dll!free(void * pUserData=0x006110e0) Line 49 + 0xb bytes C++
4. libcurld.dll!Curl_output_negotiate(connectdata * conn=0x005fefd8, bool
proxy=bool_false) Line 308 + 0xf bytes C
5. libcurld.dll!output_auth_headers(connectdata * conn=0x005fefd8, auth *
authstatus=0x005fb564, const char * 6. request=0x100636fc, const char *
path=0x023d5b58, bool proxy=bool_false) Line 533 + 0xd bytes C
7. libcurld.dll!Curl_http_output_auth(connectdata * conn=0x005fefd8, const
char * request=0x100636fc, const char * path=0x023d5b58, bool
proxytunnel=bool_false) Line 675 + 0x17 bytes C
8. libcurld.dll!Curl_http(connectdata * conn=0x005fefd8, bool *
done=0x0018f7e4) Line 1745 + 0x13 bytes C
9. libcurld.dll!Curl_do(connectdata * * connp=0x0018f800, bool *
done=0x0018f7e4) Line 5570 + 0x18 bytes C
10. libcurld.dll!Curl_do_perform(SessionHandle * data=0x005f2f40) Line
2111 + 0xd bytes C
11. libcurld.dll!Curl_perform(SessionHandle * data=0x005f2f40) Line 2247 +
0x9 bytes C
12. libcurld.dll!curl_easy_perform(void * curl=0x005f2f40) Line 536 + 0x9
bytes C
13. curl.exe!operate(Configurable * config=0x0018fc88, int argc=4, char * *
argv=0x005f2ec0) Line 1360 + 0xf bytes C
14. curl.exe!main(int argc=4, char * * argv=0x005f2ec0) Line 90 + 0x14
bytes C
15. curl.exe!__tmainCRTStartup() Line 582 + 0x19 bytes C
16. curl.exe!mainCRTStartup() Line 399 C
kernel32.dll!75b6339a()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
ntdll.dll!771f9ef2()
ntdll.dll!771f9ec5()
-- Arunav Sanyal 4th year undergraduate student B.E (Hons) Computer Science BITS Pilani K.K Birla Goa Campus
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-26