cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL locks installed, never called, still crashing

From: Marc Wandschneider <marcwan_at_chipmunkninja.com>
Date: Sat, 5 Dec 2009 17:54:58 +0800

2009/12/3 Marc Wandschneider <marcwan_at_chipmunkninja.com>

>
>
> 2009/12/2 Daniel Stenberg <daniel_at_haxx.se>
>
> On Wed, 2 Dec 2009, Marc Wandschneider wrote:
>>
>> I'm developing an app for the Mac that does multi-threaded
>>> curl_easy_perform calls to https servers. As I've learned, this leads to
>>> periodic crashing, and various searches have led me to subsequently install
>>> OpenSSL locks (as in threaded-ssl.c).
>>>
>>
>> Is this on an older Mac OS version by any chance?
>>
>>

Actually, after some more research, this is happening on 10.6 only, while
10.5 works perfectly fine. I've been trying to figure out what could be
different between the two OSes, and - of course - openssl would be the prime
culprit, except that I statically link in a libcrypto and libssl that I
build myself.

However, otool still tells me that both processes are linking in a
libcrypto-.0.9.7.dylib and a libopenssl-0.9.7.dylib from /usr/lib. I'm
guessing it's a violation of some sort of rule to just copy the 10.5 dylibs
into my project directory and run them from there.

Will continue to investimigate.

Thanks,
mark.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-05