Hi:

I'm using CSMTP code, witch is based on OpenSSL, to send email from our 
software to SMTP servers. And everything works fine if the concurrency is low 
but as soon ad more than 3 thread start sending at the same time, after a while 
the module crash and for what I see it has something to do with a crash in 
crypto_free. 
I've seen some post around the internet about this and for what I've read the 
issue should be solve.
I'm replaying here because I think it could have something to do with what is 
happening to us here.

Regards, 


Ludwig O'Hallorans 
Software Developer

Phone 1.786.454.8472 
Fax 1.786.363.1784 
email: [email protected]

www.magaya.com

This email message and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error, please notify the sender 
via returned email. Please note that any views or opinions expressed in this 
email are solely those of the author and do not necessarily represent those of 
the company. Although Magaya Corporation operates anti-virus programs, it does 
not accept responsibility for any damage whatsoever that is caused by viruses 
being passed. Please consider the environment before printing this email.


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Joshua Miller
Sent: Tuesday, August 13, 2013 12:45 PM
To: [email protected]
Subject: Thread safe callbacks never actually called

Hello OpenSSL,

I am attempting to encrypt a data stream with multiple threads calling 
EVP_CipherUpdate.  I have set the thread_id and call_back functions as defined 
by the API.  These functions are never being called, however.  I've used 
CRYPTO_get_locking_callback() to verify that my function has been set correctly.

Everything works correctly when the threads are serialized, but not when 
created concurrently.  The main goal is to run EVP_CipherUpdate() on a large 
amount of data on many threads.  

It seems to me that this should be working, can you tell me what I have done 
wrong?

Thanks,
Joshua 
Miller______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to