[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714049#action_12714049
 ] 

Patrick Hunt commented on ZOOKEEPER-419:
----------------------------------------

Is there test code currently that exercises the "stat and acl objects passed to 
Py_BuildValue." codepath? If so then I'd say this is fine, otw
I'd suggest adding a test or two that exercise this codepath. Perhaps add a 
JIRA that documents we need to verify refcnt at some point? 
Is there some facility/extn/addon for python that supports test/verification of 
refcnt correctness?


> Reference counting bug in Python bindings causes abort errors
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-419
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-419
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>            Reporter: Henry Robinson
>            Assignee: Henry Robinson
>            Priority: Critical
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-419.patch
>
>
> Due to reference counts being incremented incorrectly for stat-based calls, 
> Python's GC occasionally aborts.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to