curl-and-python

Re: OpenSSL thread locking callbacks and segfaults

From: Jayne <corvine_at_gmail.com>
Date: Fri, 23 Jun 2006 17:24:59 +0100

Following up - looks like the callbacks were the culprit and I've got the
patch working now, no more segfaulting in my testing so far. The patch is
solely for pthreads/OpenSSL - would it still be useful to post?

On 6/22/06, Jayne <corvine_at_gmail.com> wrote:
>
> Hi,
>
> I've got a python program using pycurl that regularly segfaults when
> trying to download webpages over HTTPS (never over HTTP). I suspect it might
> be caused by needing to pass locking callback functions to OpenSSL as here:
> http://www.openssl.org/docs/crypto/threads.html - I've included a couple
> of stacktraces if anyone could have a look and possibly confirm this? I've
> tried to patch pycurl myself to include the callback functions, but I either
> haven't done it properly (likely) or that's not the problem as I'm still
> getting segfaults. So - is there any chance of a patch for pycurl to include
> the locking callback functions in the right places? And if that's not what's
> causing my segfaults - any suggestions?
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2006-06-23