Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-321

Segfaults when trying to replace a locked key.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.4
    • 2.0.3
    • library
    • Security Level: Public

    Description

      I have attached the code. The core dump was 455M and did not compress well.
      I have tested the same functionally with the python client and it works so I believe it is a php problem and not a LCB one.

      Output from the script:

      php broken-lock.php

      Trying to update a doc that is locked without the CAS.

      Update failed, Document is locked: The key already exists in the server. If you have supplied a CAS then the key exists with a CAS value different than specified

      Trying to update a doc that is locked with the correct CAS.

      Segmentation fault: 11 (core dumped)

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            pvarley Patrick Varley (Inactive)
            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