zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3222) Flaky: multiple intermittent segfaults in C++ tests
Date Tue, 18 Dec 2018 15:17:00 GMT
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

View raw message