Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1428

An lcb_search call that would return an error calls the callback unexpectedly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.1
    • 3.2.0
    • library
    • None
    • 1
    • SDK32: Eventing Mgmt

    Description

      That segfaults the python client. I've worked around that for now (but it is a hack). The problem is, we don't clear the callback before calling the handle destructor (which will call the callback if it is set). One-liner fix - clear_callback() in search.cc:46

      Attachments

        Issue Links

          For Gerrit Dashboard: CCBC-1428
          # Subject Branch Project Status CR V

          Activity

            People

              david.kelly David Kelly (Inactive)
              david.kelly David Kelly (Inactive)
              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