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

Crash during lcb_destroy when ping is running

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3.5
    • 3.2.2
    • library
    • None
    • 1

    Description

      When the lcb_destroy function is called and I have running ping operations in other thread the application crashes. Looks like in handle_ping callback it is trying to get bucket name from the instance, but this instance was set to nullptr in Server destructor before puring running operations. I attached sample program and backtrace.

      Attachments

        1. gdb.txt
          6 kB
        2. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            Mink0 Dominik Balaz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty