RE: ssl_connect core dump in multi-threading application

2011-05-31 Thread Yan, Bob
Thanks Steve, Currently my test program does not setup the locking callbacks as well as the thread ID callback. In general, should I must setup them in multi-threading openssl application? If so, should the following two functions be used to setup the locking callbacks and the thread ID callbac

Re: ssl_connect core dump in multi-threading application

2011-05-31 Thread Dr. Stephen Henson
On Tue, May 31, 2011, Yan, Bob wrote: > Hi, > > I have an application which has more than 100 SSL client threads and each of > those threads tried to connect to a SSL server simultaneously. Occasionally > the application process got coredump on the call to ssl_connect(), please see > the stack

ssl_connect core dump in multi-threading application

2011-05-31 Thread Yan, Bob
Hi, I have an application which has more than 100 SSL client threads and each of those threads tried to connect to a SSL server simultaneously. Occasionally the application process got coredump on the call to ssl_connect(), please see the stack trace below for detail. *** glibc detected *** te