ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-540

zkpython needs better tracking of handle validity

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2, 3.3.0
    • Component/s: contrib-bindings
    • Labels:
      None

      Description

      I was getting a python segfault in one of my scripts. Turns out I was closing a session handle and then reusing it (async call). This was causing python to segfault.

      zkpython should track handle state and complain, rather than crash, if the handle is invalid (closed).

        Issue Links

          Activity

          Patrick Hunt made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Patrick Hunt made changes -
          Link This issue is part of ZOOKEEPER-541 [ ZOOKEEPER-541 ]
          Patrick Hunt made changes -
          Fix Version/s 3.2.2 [ 12314335 ]
          Mahadev konar made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Patrick Hunt created issue -

            People

            • Assignee:
              Henry Robinson
              Reporter:
              Patrick Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development