[
https://issues.apache.org/jira/browse/IMPALA-13771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930174#comment-17930174
]
ASF subversion and git services commented on IMPALA-13771:
----------------------------------------------------------
Commit 2b761500ab4a4f71e2e91ffca0a0286da839d1cd in impala's branch
refs/heads/branch-4.5.0 from jasonmfehr
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2b761500a ]
IMPALA-13771: Fix heap-use-after-free in Cluster Membership Manager
The ASAN tests identified a heap-use-after-free issue. This patch
fixes that issue by moving the memory release to after its last use.
Local execution of custom-cluster-mgr-test ASAN replicated the same
heap-use-after-free failure.
Testing:
Existing custom-cluster-mgr-test passed locally using debug build.
Existing custom-cluster-mgr-test passed locally using ASAN build.
Change-Id: I4fd2c9faa6daba9274f38238b952c377a07794e9
Reviewed-on: http://gerrit.cloudera.org:8080/22503
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> ASAN Test Failure in cluster-membership-mgr-test
> ------------------------------------------------
>
> Key: IMPALA-13771
> URL: https://issues.apache.org/jira/browse/IMPALA-13771
> Project: IMPALA
> Issue Type: Bug
> Reporter: Jason Fehr
> Assignee: Jason Fehr
> Priority: Critical
> Labels: broken-build
> Attachments: stack_trace.rtf
>
>
> The ClusterMembershipMgrTest_TwoInstances_Test is failing the ASAN builds.
> Specifically, these builds are finding a heap-use-after-free on [this
> line|https://github.com/apache/impala/blob/7373ee27d43fe9ce7d89691764b388db7ecf05ac/be/src/scheduling/cluster-membership-mgr.cc#L306].
> See attached stack trace for further details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]