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

cbc user-upsert aborts with segmentation fault

    XMLWordPrintable

Details

    • 1

    Description

      cbc user-upsert aborts with segmentation fault.

      valgrind report an issue in file cbc.cc which contains HttpReceiver::maybeInvokeStatus where the headers map is updated. The HttpReceiver this pointer is wrong.

      The HttpReceiver object is retrieved higher up in the call stack in http_callback as a cookie, and the address does not correspond to a previously created HttpReceiver.

      No HttpReceiver has been destroyed when it happens.

      The cookie must not have been set properly.

      Attachments

        Issue Links

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

          Activity

            People

              avsej Sergey Avseyev
              vincent.lextrait Vincent Lextrait
              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