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

N1QL query sanity issues cause libcouchbase to segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.7
    • 2.1.5
    • library
    • None
    • OS: CentOS 7
      Edition: Couchbase 4.0 Community
      SDK: couchnode v2.1.5

    Description

      After a while, N1QL queries causes an internal couchnode exception which results in an abort killing the process.
      I've attached the stack trace below.
      If you need more info let me know.

      (gdb) i stack
      #0 0x00007ffff6c075f7 in raise () from /lib64/libc.so.6
      #1 0x00007ffff6c08ce8 in abort () from /lib64/libc.so.6
      #2 0x00007ffff40da09d in Json::Value::asString() const ()
      from /opt/ls4-mage-console/node_modules/couchbase/build/Release/couchbase_impl.node
      #3 0x00007ffff40aa163 in lcb_n1ql_query () from /opt/ls4-mage-console/node_modules/couchbase/build/Release/couchbase_impl.node
      #4 0x00007ffff4081baa in Couchnode::CouchbaseImpl::fnN1qlQuery (info=...) at ../src/operations.cc:413
      #5 0x00007ffff407d466 in Nan::imp::FunctionCallbackWrapper (info=...) at ../node_modules/nan/nan_callbacks_12_inl.h:174
      #6 0x0000090de7e81f68 in ?? ()
      #7 0x00007fffffffd670 in ?? ()
      #8 0x00007fffffffd6c0 in ?? ()
      #9 0x0000000000000004 in ?? ()
      #10 0x0000000000000000 in ?? ()

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            AlmirKadric Almir Kadric
            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