ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-670

zkpython leading to segfault on zookeeper server restart

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.1, 3.2.2
    • Fix Version/s: None
    • Component/s: contrib-bindings
    • Labels:
      None
    • Environment:

      CentOS w/ Python 2.4

      Description

      Zookeeper client using zkpython segfaults on zookeeper server restart. It is reliably reproducible using the attached script zk.py.
      I'm able to stop segfault using the attached patch voyager.patch, but zkpython seems to have deeper issue on its use of watcher_dispatch - on zookeeper server restart, I see up to 6 invocation of watcher_dispatch while my script is simply sleeping in the main thread. This can't be right.

      1. zk.py
        1 kB
        Lei Zhang
      2. voyager.patch
        1 kB
        Lei Zhang

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Henry Robinson
              Reporter:
              Lei Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development