You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Dmitry Sokolov (Jira)" <ji...@apache.org> on 2022/09/23 07:03:00 UTC

[jira] [Updated] (ZOOKEEPER-4615) C сlient LOG_DEBUG after api_epilog uses freed handle

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

Dmitry Sokolov updated ZOOKEEPER-4615:
--------------------------------------
    Summary: C сlient LOG_DEBUG after api_epilog uses freed handle  (was: C сlient LOG_DEBUG after api_epilog causes segmentation fault)

> 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)