[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kezhu Wang resolved ZOOKEEPER-4615.
-----------------------------------
    Resolution: Duplicate

[~bibmaster] Thank you for reporting this! This has been fixed in 
ZOOKEEPER-4809. cc [~gowrima] 

> C сlient LOG_DEBUG after api_epilog uses freed handle
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-4615
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4615
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: Dmitry Sokolov
>            Priority: Major
>
>  
> {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) uses freed handle and may cause segmentation fault.
>  



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

Reply via email to