[ https://issues.apache.org/jira/browse/THRIFT-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626630#comment-14626630 ]
James E. King, III commented on THRIFT-2225: -------------------------------------------- Is it likely that this is the root cause of the following backtrace from a core that uses thrift-0.8.0? {noformat} (gdb) bt #0 0x00007f45f1065425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f45f1068b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007f45f105e0ee in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007f45f105e192 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007f45ed6c1781 in boost::detail::sp_counted_impl_p<apache::thrift::concurrency::Mutex::impl>::dispose() () from /usr/lib/libthrift-0.8.0.so #5 0x00007f45ed6afc81 in apache::thrift::concurrency::Mutex::~Mutex() () from /usr/lib/libthrift-0.8.0.so #6 0x00007f45ed6afb94 in boost::detail::sp_counted_impl_pd<apache::thrift::concurrency::Mutex*, boost::checked_array_deleter<apache::thrift::concurrency::Mutex> >::dispose() () from /usr/lib/libthrift-0.8.0.so #7 0x00007f45ed6ad583 in apache::thrift::transport::TSSLSocketFactory::cleanupOpenSSL() () from /usr/lib/libthrift-0.8.0.so #8 0x00007f45ed6ad655 in apache::thrift::transport::TSSLSocketFactory::~TSSLSocketFactory() () from /usr/lib/libthrift-0.8.0.so #9 0x00007f45f1c990f7 in ~TLSOnlyTSSLServerSocketFactory (this=0x7f45d890b780, __in_chrg=<optimized out>) at /home/svtbuild/jenkins/workspace/LinuxSvtfsAndes.7Release/src/common/rpc/rpctlsserver.cpp:26 #10 TLSOnlyTSSLServerSocketFactory::~TLSOnlyTSSLServerSocketFactory (this=0x7f45d890b780, __in_chrg=<optimized out>) at /home/svtbuild/jenkins/workspace/LinuxSvtfsAndes.7Release/src/common/rpc/rpctlsserver.cpp:26 #11 0x00007f45ed6b36e1 in apache::thrift::transport::TSSLServerSocket::~TSSLServerSocket() () from /usr/lib/libthrift-0.8.0.so #12 0x00007f45ed6bbe8a in apache::thrift::server::TThreadedServer::~TThreadedServer() () from /usr/lib/libthrift-0.8.0.so #13 0x00007f45ed6bbf89 in apache::thrift::server::TThreadedServer::~TThreadedServer() () from /usr/lib/libthrift-0.8.0.so {noformat} > SSLContext destroy before cleanupOpenSSL > ---------------------------------------- > > Key: THRIFT-2225 > URL: https://issues.apache.org/jira/browse/THRIFT-2225 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Reporter: soyer > Assignee: Roger Meier > Fix For: 0.9.2 > > Attachments: ssl_ctx_cleanup_before_openssl.patch > > > destroy the SSLContext before cleanup the openSSL to avoid recreating some > openssl internal resource. -- This message was sent by Atlassian JIRA (v6.3.4#6332)