You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/04/03 14:24:41 UTC
[jira] [Created] (THRIFT-4164) Core in TSSLSocket cleanupOpenSSL
when destroying a mutex used by openssl
James E. King, III created THRIFT-4164:
------------------------------------------
Summary: Core in TSSLSocket cleanupOpenSSL when destroying a mutex used by openssl
Key: THRIFT-4164
URL: https://issues.apache.org/jira/browse/THRIFT-4164
Project: Thrift
Issue Type: Bug
Components: C++ - Library
Affects Versions: 0.10.0
Environment: Ubuntu 14.04, openssl (version TBD, I believe it is a 1.1.0 variant)
Reporter: James E. King, III
Assignee: James E. King, III
In a project where thrift is used, i was investigating a core in an assertion in apache::thrift::concurrency::~Mutex (pthread variety). The mutex in question was one of the locking mutexes that thrift gives to openssl. The core occurred in TSSLSocket::cleanupOpenSSL() where the mutexes are destroyed (on the last line).
I suspect that we might be changing the locking callbacks too early in the cleanup process; perhaps one of the other cleanup calls that follows it would have released a mutex in some situations? In any case, this needs to be investigated and I am assigning it to myself.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)