[sldev] SNOW-2 (Curl crash) update

Thickbrick Sleaford thickbrick.sleaford at gmail.com
Fri Jul 3 06:39:00 PDT 2009


On Friday 03 July 2009 15:50:18 Aleric Inglewood wrote:
> On Fri, Jul 3, 2009 at 2:18 PM, Tofu Linden<tofu.linden at lindenlab.com> 
wrote:
> > This fix in libcurl 7.18.1 looks like a really plausible candidate
> > for the 7.16.4 bug:
> >
> > # sharing DNS cache between easy handles running in multiple threads
> > could lead to crash
>
> So yes, a threading issue that got solved between 7.16.4
> and 7.18.2 seems a good possibility, or else it would be the
> -cares part.
>

There is also an unfixed windows-only crash in libcurl:

http://curl.haxx.se/docs/knownbugs.html
> 64. The threaded resolver used in libcurl on Windows has some kind of race
>  problem when multiple simultanoes resolves are done, like with the multi
>  interface transferring many files in parallell:
>  http://curl.haxx.se/mail/lib-2009-04/0028.html

The backtrace associated with it is seems similar to what Merov posted (from 
http://curl.haxx.se/mail/lib-2009-03/0108.html ):

 libcurld.dll!Curl_llist_insert_next(curl_llist * list=0x01398910, 
curl_llist_element * e=0x035c8fe0, const void * p=0x036c1098)
Line 70 C
   libcurld.dll!Curl_hash_add(curl_hash * h=0x01398810, void * key=0x03530e88, 
unsigned int key_len=20, void * p=0x0363d118) Line
162 + 0x14 bytes C
   libcurld.dll!Curl_cache_addr(SessionHandle * data=0x0154fbd8, Curl_addrinfo 
* addr=0x0356a5a8, const char * hostname=0x0356aec8,
int port=80) Line 368 + 0x1a bytes C
   libcurld.dll!addrinfo_callback(void * arg=0x0348c0d0, int status=0, void * 
addr=0x01359490) Line 118 + 0x21 bytes C
   libcurld.dll!Curl_addrinfo4_callback(void * arg=0x0348c0d0, int status=0, 
hostent * hostent=0x01359490) Line 154 + 0x11 bytes C
   libcurld.dll!gethostbyname_thread(void * arg=0x0348c0d0) Line 264 + 0xf 
bytes C





More information about the SLDev mailing list