[
https://issues.apache.org/jira/browse/HDFS-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410402#comment-16410402
]
Hudson commented on HDFS-9687:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13869 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13869/])
HDFS-9687. libhdfs++: potential segfault after teardown. Contributed by
(james.clampffer: rev 5cd2a1766c456b7b5c29f5182dd28da46fb23079)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/rpc/rpc_connection.h
> libhdfs++: potential segfault after teardown
> --------------------------------------------
>
> Key: HDFS-9687
> URL: https://issues.apache.org/jira/browse/HDFS-9687
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Bob Hansen
> Assignee: Bob Hansen
> Priority: Major
> Attachments: HDFS-9687.HDFS-8707.000.diff
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]