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

date mutated in libcouchbase's send buffer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.4.0-dp1
    • 2.2.0
    • library
    • Security Level: Public
    • libcouchbase-2.2.0
      couchbase-server 2.2.0
      ubuntu 13.04 g++ 4.8.1

    Description

      while true
      set 1000 json document to couchbase-server
      get 1000 json documents from couchbase-server
      some of them may become invalid json document

      the test code is here https://github.com/killgxlin/libcouchbase_testcode
      i think it may be a bug of libcouchbase. if not it may be a bug of myself ,please point out and mail me
      killgxlin@hotmail.com please.

      broken document is in attachment
      key_*.base64 is the broken document saved in couchbase-server
      key_*.json is a broken json which decoded from key_*base64,
      key_.hexdump is a hexdumped text from broken key_.json

      by watch key_*.hexdump i could see that the past of the document is overwroted by a network msgof couchbase which head is 80 01 PROTOCOL_BINARY_REQ PROTOCOL_BINARY_CMD_SET

      Attachments

        1. key_3423.base64
          21 kB
        2. key_3423.hexdump
          79 kB
        3. key_3423.json
          16 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            killgxlin killgxlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty