Dmitry Sokolov created ZOOKEEPER-4615:
-----------------------------------------

             Summary: C сlient LOG_DEBUG after api_epilog causes segmentation 
fault
                 Key: ZOOKEEPER-4615
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4615
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
            Reporter: Dmitry Sokolov


 
{code:java}
api_epilog(zh, 0);
LOG_DEBUG(LOGCALLBACK(zh), "completion thread terminated"); {code}
{code:java}
api_epilog(zh, 0);
LOG_DEBUG(LOGCALLBACK(zh), "IO thread terminated"); {code}
Handle zh is freed in api_epilog.
LOG_CALLBACK(zh) causes segmentation fault.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to