> On Thu, 17 Jun 2010, Brian Makin wrote: 
> 
> 
> > In this case I had an apache server with a PKCS12 cert. 
> > Every so often this crashes. (it's about 50% for me) 
> 
> 
> Crashes are good hints. Use gdb and valgrind to make use of those
> hints. 
> 
> 
> I also recommend taking a good look and snippets from this example: 
> http://curl.haxx.se/libcurl/c/opensslthreadlock.html 
> 
> 
> It was not immediately obvious to me where the problem might be... 

Near as I can figure there must be a thread race in the init code for
the Cert stuff.  The crash is generally under here.  Could there be a
missing mutex in there?

...
#10  in cert_stuff () 
#11  in Curl_ossl_connect_step1 () 
#12 in Curl_ossl_connect_common () 
#13 in Curl_ossl_connect () 
#14 in Curl_ssl_connect ()

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to