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

zkpython segfault on close (assertion error in io thread)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Component/s: contrib-bindings
    • Labels:
      None
    • Environment:

      ubuntu lucid (10.04), zookeeper trunk (java/c/zkpython)

      Description

      While trying to create a test case showing slow average add_auth, i stumbled upon a test case that reliably segfaults for me, albeit with variable amount of iterations (anwhere from 0 to 20 typically). fwiw, I've got about 220 processes in my test environment (ubuntu lucid 10.04). The test case opens a connection, adds authentication to it, and closes the connection, in a loop. I'm including the sample program and the gdb stack traces from the core file. I can upload the core file if thats helpful.

        Attachments

        1. zkpython-segfault.py
          0.8 kB
          Kapil Thangavelu
        2. zkpython-segfault-client-log.txt
          2 kB
          Kapil Thangavelu
        3. zkpython-segfault-on-close-core.bz2
          504 kB
          Kapil Thangavelu
        4. zkpython-segfault-stack-traces.txt
          6 kB
          Kapil Thangavelu

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kapilt Kapil Thangavelu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: