[
https://issues.apache.org/jira/browse/ZOOKEEPER-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andor Molnar resolved ZOOKEEPER-3222.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.4.14)
Issue resolved by pull request 740
[https://github.com/apache/zookeeper/pull/740]
> Flaky: multiple intermittent segfaults in C++ tests
> ---------------------------------------------------
>
> Key: ZOOKEEPER-3222
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3222
> Project: ZooKeeper
> Issue Type: Sub-task
> Components: c client
> Affects Versions: 3.5.4, 3.6.0, 3.4.13
> Reporter: Andor Molnar
> Assignee: Andor Molnar
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.6.0, 3.5.5
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> There're multiple places in C++ tests where zookeeper client handle
> (zkhandle_t) doesn't get closed correctly causing intermittent segmentations
> faults.
> e.g. In multi threaded tests IO thread remains open in these client which
> could when trying to log something in a log file which is already closed by
> the test.
> Another catch is when the test is trying to validate an already closed
> client: the client struct cannot be accessed after the memory has been freed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)