Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1407

SDK 4: repeated calls to cluster.close() results in segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.5
    • 4.0.3
    • library
    • None
    • 1
    • SDK37

    Description

      Calling cluster.close() multiple times results in a segmentation fault.

      If you run the test program without parameters, it will run a loop 4 times to simulate a larger program that may make multiple calls to Cluster to instantiate cluster objects along with REST API calls. If the loop runs more than once, the second call to cluster.close() results in a segmentation fault.

      Works (does not do a close in the loop):

      u_test.py

      Seg faults:

      u_test.py --close

      Attachments

        1. u_test.py
          13 kB
          Michael Minichino

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              david.kelly David Kelly (Inactive)
              michael.minichino Michael Minichino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty