Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-889

pyzoo_aget_children crashes due to incorrect watcher context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.3.1
    • None
    • contrib-bindings
    • None
    • OS X 10.6.5, Python 2.6.1

    Description

      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.

      Attachments

        1. repro.py
          1 kB
          Austin Bennett

        Activity

          People

            Unassigned Unassigned
            austin Austin Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: