hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Hansen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9687) libhdfs++: potential segfault after teardown
Date Fri, 22 Jan 2016 22:51:39 GMT
Bob Hansen created HDFS-9687:
--------------------------------

             Summary: libhdfs++: potential segfault after teardown
                 Key: HDFS-9687
                 URL: https://issues.apache.org/jira/browse/HDFS-9687
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Bob Hansen
            Assignee: Bob Hansen


During shutdown, it is possible for an RPC task to outlive the RPC connection and segfault
when it attempts to signal the engine on timeout.

In rpc_connection.h, the callback 
{code}
req->timer().async_wait(std::bind(
      &RpcConnection::HandleRpcTimeout, this, req, _1));
{code}
does not retain a reference to shared_this, so the connection can be destroyed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message