cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: crash when using pkcs12 certs with multiple threads

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 17 Jun 2010 19:58:04 +0200 (CEST)

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...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-17