Dear All,
do you think this may be a bug? Should I report it in the issue tracker? Or is it to be expected that cleanupOpenSSL() can not be recovered from? On 07.06.2018 11:05, Mario Emmenlauer wrote: > > Hi, > > I am quite plagued by an issue with openSSL mutexes. A corresponding > issue report is here: https://issues.apache.org/jira/browse/THRIFT-4411 > > However there is something fundamental I don't understand: after my app > cleans up openSSL for the first time, it seems I can no longer successfully > use openSSL, even when using initializeOpenSSL() again. Is that to be > expected? After cleanupOpenSSL(), when I initializeOpenSSL() again and > use it, I will eventually get a mutex error 'Assertion `px != 0' failed.' > as described in THRIFT-4411. > > From the code in TSSLSocket.cpp, I understood that it should be supported > to repeatedly initialize and cleanup openSSL, because there is a matching > tracker variable 'openSSLInitialized'. All the best and thanks, Mario Emmenlauer -- BioDataAnalysis GmbH, Mario Emmenlauer Tel. Buero: +49-89-74677203 Balanstr. 43 mailto: memmenlauer * biodataanalysis.de D-81669 München http://www.biodataanalysis.de/
