Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-829

bucketFlush method with lower timeout causing segmentation fault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.0-beta.1
    • 3.1.0
    • None
    • None
    • 1

    Description

      When performing a flushBucket with a timeout like 1ms happens a segmentation fault.

       

       {"request_id":"842f194aa5da2e7adce74c34d90d4791","elapsed_time":"226ms","component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.020Z","level":"VERB","message":"[Couchbase] Flushing Bucket. [BucketName: Bomdia; Timeout: 100]"}
      {"request_id":"842f194aa5da2e7adce74c34d90d4791","elapsed_time":"230ms","component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.023Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> POST http://couchbase2.gvp-dev.com:8091/pools/default/buckets/Bomdia/controller/doFlush. Body=0 bytes"}
      {"request_id":"842f194aa5da2e7adce74c34d90d4791","elapsed_time":"230ms","component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.024Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (HE=0x3ba5d10) Creating new connection because none are available in the pool"}
      {"request_id":"842f194aa5da2e7adce74c34d90d4791","elapsed_time":"231ms","component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.024Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (HE=0x3ba5d10) New pool entry: I=0x3ba66c0"}
      {"request_id":"842f194aa5da2e7adce74c34d90d4791","elapsed_time":"232ms","component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.025Z","level":"INFO","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (SOCK=470b0836741ab10d) Starting. Timeout=100000us"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.036Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (SOCK=470b0836741ab10d) Received completion handler. Status=0. errno=0 [Success]"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.036Z","level":"INFO","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (SOCK=470b0836741ab10d) Connected established"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.037Z","level":"WARN","message":"[Couchbase] Translating errno=0, lcb=0x401 to NETWORK_ERROR"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.038Z","level":"INFO","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (SOCK=470b0836741ab10d) Couldn't set TCP_NODELAY"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.038Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (SOCK=470b0836741ab10d) Successfully set TCP_KEEPALIVE"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.038Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (HE=0x3ba5d10) Received result for I=0x3ba66c0,C=(nil); E=0x0"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.039Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (HE=0x3ba5d10) Assigning R=0x3ba6320 SOCKET=0x3ba69d0"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.039Z","level":"VERB","message":"[Couchbase] <couchbase2.gvp-dev.com:8091> (CTX=0x3ae5200,unknown) Pairing with SOCK=470b0836741ab10d"}
      {"component":"tvopenplatform.athena.api","timestamp":"2021-01-07T21:35:17.117Z","level":"VERB","message":"[Couchbase] Refreshing current cluster map (bucket: Bomdia)"}
      Segmentation fault (core dumped)
      

       

      version used: 3.1.0

       

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            kaiohenrique Kaio Chiarato
            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