You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andor Molnar (JIRA)" <ji...@apache.org> on 2018/12/18 15:17:00 UTC

[jira] [Created] (ZOOKEEPER-3222) Flaky: multiple intermittent segfaults in C++ tests

Andor Molnar created ZOOKEEPER-3222:
---------------------------------------

             Summary: 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.4.13, 3.5.4, 3.6.0
            Reporter: Andor Molnar
            Assignee: Andor Molnar
             Fix For: 3.6.0, 3.5.5, 3.4.14


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)