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

Andor Molnar resolved ZOOKEEPER-5103.
-------------------------------------
    Fix Version/s: 3.10.0
       Resolution: Fixed

Issue resolved by pull request 2475
[https://github.com/apache/zookeeper/pull/2475]

> Address multiple memory leaks identified by static analysis
> -----------------------------------------------------------
>
>                 Key: ZOOKEEPER-5103
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-5103
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: Andrew Kyle Purtell
>            Assignee: Andrew Kyle Purtell
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.10.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The C client leaks memory across multiple error handling paths, request 
> serialization routines, and handle close sequences. A cluster of open JIRA 
> issues (ZOOKEEPER-4975, ZOOKEEPER-4999, ZOOKEEPER-5000, ZOOKEEPER-5004, 
> ZOOKEEPER-5005, ZOOKEEPER-5006, ZOOKEEPER-1985, ZOOKEEPER-2882, and 
> ZOOKEEPER-3868) all have the same essential root cause, which is an ambiguous 
> resource ownership contract (or lack thereof) between the client library and 
> application code during failure modes and connection termination.
> Dynamic analysis of master (commit 48f7cb00e) under AddressSanitizer and 
> LeakSanitizer reports 45,578 bytes leaked across 178 allocations in the 
> CppUnit test harness.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to