Good day all, I have a crash of our proprietary server, which is happening inside libraries.
I will explain the set up. I built a module that uses gSoap, which in turn uses OpenSSL on Windows platform This module is used for credit card purchases. It serves multiple clients at a time, hence it's multithreaded. Each thread sends a SOAP request to a server to make a purchase. The crash happens sometimes inside SSLEAY32.dll, sometimes inside LIBEAY32.dll. As recommended by gSOAP docs, after calling soap_ssl_init(), I make a call to CRYPTO_thread_setup(), which sets up the locking function. I make sure that both soap_ssl_init and CRYPTO_thread_setup are called once, only in the first thread. The other objects (threads) are copy constructed from the first one, and the two functions do not execute anymore The client platform is Windows Server 2008, ssl libraries are version: 1.0.1.5. Dev environment is Visual Studio 2005. Please let me know if you have any suggestions. This is our major client... Thanks in advance, Michael