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

Austin Shoemaker resolved ZOOKEEPER-889.
----------------------------------------

    Resolution: Fixed

Just noticed that the fix is already in trunk, closing the issue.

> pyzoo_aget_children crashes due to incorrect watcher context
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-889
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-889
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.3.1
>         Environment: OS X 10.6.5, Python 2.6.1
>            Reporter: Austin Shoemaker
>            Priority: Critical
>         Attachments: repro.py
>
>
> The pyzoo_aget_children function passes the completion callback ("pyw") in 
> place of the watcher callback ("get_pyw"). Since it is a one-shot callback, 
> it is deallocated after the completion callback fires, causing a crash when 
> the watcher callback should be invoked.

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