Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-203

Segmentation fault with N1QL

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Test Blocker
    • Resolution: Won't Do
    • 1.3.15
    • None
    • None
    • Linux Ubuntu 16.04
      Libcouchbase 2.8.2
      Couchbase Server: 4.6.0-3453 Enterprise Edition (build-3453).

    Description

      NB: The affected version is 1.3.14 ( https://rubygems.org/gems/couchbase/versions/1.3.14 ), not 1.3.15. I selected version 1.3.15 since I cannot select 1.3.14.

      By doing some requests on Couchbase with N1QL sometimes I hit a segmentation fault.
      The error does not occur at each occurrence, so it is not so easy to recreate.

      Here the request:

      N1QL request: SELECT `:id` AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'session' AND `user`='c9ce85ad-1edd-46cc-97a7-7a494fa4913e'

       And here the backlog:

      (eval):3: [BUG] Segmentation fault at 0x00000000000018
      ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

      – Control frame information -----------------------------------------------
      c:0011 p:---- s:0041 e:000040 CFUNC :query
      c:0010 p:0018 s:0037 e:000036 BLOCK (eval):3
      c:0009 p:0008 s:0034 e:000033 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:64 [FINISH]
      c:0008 p:---- s:0032 e:000031 CFUNC :handle_interrupt
      c:0007 p:0038 s:0028 e:000027 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63 [FINISH]
      c:0006 p:---- s:0025 e:000024 CFUNC :handle_interrupt
      c:0005 p:0030 s:0021 e:000020 METHOD /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60
      c:0004 p:0011 s:0017 e:000016 METHOD (eval):2
      c:0003 p:0030 s:0012 e:000011 BLOCK /home/stefanoseluxit/Documents/filemercurial/rest_service/database/couchbase.rb:38 [FINISH]
      c:0002 p:0059 s:0009 e:000008 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:1076 [FINISH]
      c:0001 p:---- s:0002 e:000001 (none) [FINISH]

      – Ruby level backtrace information ----------------------------------------
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:1076:in `block in spawn_threadpool'
      /home/stefanoseluxit/Documents/filemercurial/rest_service/database/couchbase.rb:38:in `block in query_request'
      (eval):2:in `query'
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `with'
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `handle_interrupt'
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `block in with'
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `handle_interrupt'
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:64:in `block (2 levels) in with'
      (eval):3:in `block in query'
      (eval):3:in `query'

      – Machine register context ------------------------------------------------
      RIP: 0x00007fb94a155fa8 RBP: 0x0000000000000008 RSP: 0x00007fb93afc8200
      RAX: 0x000000000526fbb0 RBX: 0x0000000000000008 RCX: 0x0000000000000000
      RDX: 0x0000000000000008 RDI: 0x0000000000000008 RSI: 0x000000000526fbb0
      R8: 0x0000000000000008 R9: 0x00000000007dc9e0 R10: 0x000000000526fc62
      R11: 0x0000000003001810 R12: 0x00007fb93afc82cb R13: 0x00007fb93afc8270
      R14: 0x00007fb9080077a0 R15: 0x00000000052e0888 EFL: 0x0000000000010206

      – C level backtrace information -------------------------------------------
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_vm_bugreport+0x4ea) [0x7fb94a29368a] vm_dump.c:688
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_bug_context+0xd4) [0x7fb94a125294] error.c:435
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(sigsegv+0x3e) [0x7fb94a20207e] signal.c:890
      /lib/x86_64-linux-gnu/libc.so.6 [0x7fb949d124b0]
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_hash_lookup2+0x8) [0x7fb94a155fa8] hash.c:802
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.14/lib/couchbase_ext.so(n1ql_callback+0x1da) [0x7fb9438e02ba] n1ql.c:37
      /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7fb94365abb4]
      /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7fb943652ac2]
      /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7fb943631195]
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.14/lib/couchbase_ext.so(timers_run+0x5a) [0x7fb9438d667a] multithread_plugin.c:384
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.14/lib/couchbase_ext.so(loop_run_select+0x390) [0x7fb9438d6e80] multithread_plugin.c:651
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_ensure+0xb0) [0x7fb94a12e310] eval.c:901
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.14/lib/couchbase_ext.so(lcb_io_run_event_loop+0xa6) [0x7fb9438d7306] multithread_plugin.c:899
      /usr/lib/x86_64-linux-gnu/libcouchbase.so.2(lcb_wait+0x53) [0x7fb943679673]
      /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.14/lib/couchbase_ext.so(cb_bucket_query+0x128) [0x7fb9438e0648] n1ql.c:103
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7fb94a27c5c0] vm_insnhelper.c:1638
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_method_each_type+0x5e) [0x7fb94a28bf6e] vm_insnhelper.c:2022
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_method+0xe3) [0x7fb94a28c4e3] vm_insnhelper.c:2172
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_opt_send+0x14e) [0x7fb94a28c8fe] vm_insnhelper.c:1846
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7fb94a2858cb] insns.def:964
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7fb94a28a4f6] vm.c:1650
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7fb94a28b19e] vm.c:921
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_yield+0x5c) [0x7fb94a28b40c] vm.c:988
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_thread_s_handle_interrupt+0x115) [0x7fb94a2a2025] thread.c:1835
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7fb94a27c5c0] vm_insnhelper.c:1638
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7fb94a2858cb] insns.def:964
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7fb94a28a4f6] vm.c:1650
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7fb94a28b19e] vm.c:921
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_yield+0x5c) [0x7fb94a28b40c] vm.c:988
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_thread_s_handle_interrupt+0x115) [0x7fb94a2a2025] thread.c:1835
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7fb94a27c5c0] vm_insnhelper.c:1638
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7fb94a2858cb] insns.def:964
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7fb94a28a4f6] vm.c:1650
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7fb94a28b19e] vm.c:921
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7fb94a28b273] vm.c:996
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_opt_call+0xa4) [0x7fb94a28be94] vm.c:1072
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x1318) [0x7fb94a285998] insns.def:995
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7fb94a28a4f6] vm.c:1650
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7fb94a28b19e] vm.c:921
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7fb94a28b273] vm.c:996
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(thread_start_func_2+0x671) [0x7fb94a2a1001] thread.c:584
      /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(thread_start_func_1+0xd0) [0x7fb94a2a15c0] thread_pthread.c:882
      /lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xca) [0x7fb949ac76ba]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fb949de43dd] ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

       

       

      NB: At the moment I switched to Couchbase 1.3.15. I will add a comment if I will it this error on this version too.

      Attachments

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

        Activity

          Stefano Martin, thank you for the feedback. I will check and get back soon. What version of libcouchbase do you have?

          avsej Sergey Avseyev added a comment - Stefano Martin , thank you for the feedback. I will check and get back soon. What version of libcouchbase do you have?
          Stefano Stefano Martin added a comment - - edited

          By using "sudo apt search libcouchbase" I can see that I have: xenial 2.8.2-1 amd64

          Couchbase running is: 4.6.0-3453 Enterprise Edition (build-3453).

          Stefano Stefano Martin added a comment - - edited By using "sudo apt search libcouchbase" I can see that I have: xenial 2.8.2-1 amd64 Couchbase running is: 4.6.0-3453 Enterprise Edition (build-3453).

          Thanks, we have similar reports, is it possible to set environment variable LCB_LOGLEVEL=5 while you running your script and attach logs (should be in standard output) next time it segfault? It will raise logging to maximum level, just to proof that this is the same issue with libcouchbase we've seen in other cases.

          avsej Sergey Avseyev added a comment - Thanks, we have similar reports, is it possible to set environment variable LCB_LOGLEVEL=5 while you running your script and attach logs (should be in standard output) next time it segfault? It will raise logging to maximum level, just to proof that this is the same issue with libcouchbase we've seen in other cases.

          I will set up it in the test mode and I will report back if I will hit the error again.

          Stefano Stefano Martin added a comment - I will set up it in the test mode and I will report back if I will hit the error again.
          Stefano Stefano Martin added a comment - - edited

          You are "lucky" since I hit the error again just now (this time with version 1.3.15 of couchbase-ruby).
          I did three requests on my application in quick succession. The first two went successfully, the third one no. All of them have one N1QL request and several set, get, increment/decrement request to couchbase.

          EDIT: Sorry for the numerous edit.

          =====================================
          START FIRST REQUEST
          GET /services/search?type=user&attribute=[role]&value=[writer]

          Query
          SELECT DISTINCT(`:id`) AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'user' AND `global` = true AND (`role` = 'writer' AND ARRAY_CONTAINS(`public`, 'role') ) LIMIT 11 OFFSET 0
          ========================================

          217163ms [I0]

          {12409} [TRACE] (http-io - L:228) <couchbase.local:8093> POST http://couchbase.local:8093/query/service. Body=222 bytes
          217163ms [I0] {12409}

          [DEBUG] (lcbio_mgr - L:413) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Creating new connection because none are available in the pool
          217163ms [I0]

          {12409} [TRACE] (lcbio_mgr - L:328) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) New pool entry: I=0x7f99cc01ae20
          217163ms [I0] {12409}

          [INFO] (connection - L:465) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Starting. Timeout=75000000us
          217163ms [I0]

          {12409} [DEBUG] (connection - L:230) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Created new socket with FD=45
          217163ms [I0] {12409}

          [TRACE] (connection - L:332) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Scheduling I/O watcher for asynchronous connection completion.
          217163ms [I0]

          {12409} [INFO] (connection - L:139) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Connected established
          217163ms [I0] {12409}

          [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Successfully set TCP_NODELAY
          217163ms [I0]

          {12409} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Successfully set TCP_KEEPALIVE
          217163ms [I0] {12409}

          [DEBUG] (lcbio_mgr - L:287) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Received result for I=0x7f99cc01ae20,C=(nil); E=0x0
          217163ms [I0]

          {12409} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Assigning R=0x7f99cc00f2b0 SOCKET=0x7f99cc00a930
          217163ms [I0] {12409}

          [DEBUG] (ioctx - L:101) <couchbase.local:8093> (CTX=0x7f99cc00a860,unknown) Pairing with SOCK=0x7f99cc00a930
          217295ms [I0]

          {12409} [DEBUG] (ioctx - L:151) <couchbase.local:8093> (CTX=0x7f99cc00a860,mgmt/capi) Destroying context. Pending Writes=0, Entered=true, Socket Refcount=1
          217295ms [I0] {12409}

          [INFO] (lcbio_mgr - L:463) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Placing socket back into the pool. I=0x7f99cc01ae20,C=0x7f99cc00a930

          =====================================
          FIRST REQUEST RETURNED SUCCESSFULLY
          START SECOND REQUEST
          GET /services/search?type=user&attribute=[first_name,last_name]&value=[Luigi,Pirandello]

          Query
          SELECT DISTINCT(`:id`) AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'user' AND `global` = true AND (`first_name` = 'Luigi' AND ARRAY_CONTAINS(`public`, 'first_name') ) OR (`last_name` = 'Pirandello' AND ARRAY_CONTAINS(`public`, 'last_name') ) LIMIT 11 OFFSET 0
          ======================================

          217313ms [I0]

          {12401} [TRACE] (http-io - L:228) <couchbase.local:8093> POST http://couchbase.local:8093/query/service. Body=308 bytes
          217313ms [I0] {12401}

          [INFO] (lcbio_mgr - L:406) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Found ready connection in pool. Reusing socket and not creating new connection
          217313ms [I0]

          {12401} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Assigning R=0x7f99f0069c10 SOCKET=0x7f99cc00a930
          217313ms [I0] {12401}

          [DEBUG] (ioctx - L:101) <couchbase.local:8093> (CTX=0x7f99f00409d0,unknown) Pairing with SOCK=0x7f99cc00a930
          218404ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          220906ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          223407ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          225910ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          228413ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          230913ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          233416ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          235918ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          238419ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          240920ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          243423ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          245925ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          248426ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          250926ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          253428ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          255929ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          258430ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          260932ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          263433ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          265935ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          268436ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          270937ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          273440ms [I0]

          {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          275942ms [I0] {12401}

          [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error

          ==================================
          SECOND REQUEST RETURNED SUCCESSFULLY

          START THIRD REQUEST
          GET /services/search?type=user&attribute=[first_name,last_name]&value=[Luigi,Pirandello]
          ==================================

          277367ms [I3] {12285} [INFO] (instance - L:420) Version=2.8.1, Changeset=5a66d8607605bb23e66ed7ae9e7196fe45be6856
          277367ms [I3] {12285} [INFO] (instance - L:421) Effective connection string: couchbase+explicit://couchbase.local,/bastard?. Bucket=bastard
          277395ms [I3] {12285} [INFO] (instance - L:135) DNS SRV lookup failed: DNS/Hostname lookup failed. Ignore this if not relying on DNS SRV records
          277395ms [I3] {12285} [DEBUG] (instance - L:77) Adding host couchbase.local:8091 to initial HTTP bootstrap list
          277395ms [I3] {12285} [DEBUG] (instance - L:77) Adding host couchbase.local:11210 to initial CCCP bootstrap list
          277395ms [I3] {12285} [DEBUG] (confmon - L:85) Preparing providers (this may be called multiple times)
          277395ms [I3] {12285} [DEBUG] (confmon - L:94) Provider CCCP is DISABLED
          277395ms [I3] {12285} [DEBUG] (confmon - L:92) Provider HTTP is ENABLED
          277395ms [I3] {12285} [TRACE] (confmon - L:272) Refreshing current cluster map
          277395ms [I3] {12285} [TRACE] (confmon - L:259) Attempting to retrieve cluster map via HTTP
          277395ms [I3] {12285} [TRACE] (htconfig - L:338) Starting HTTP Configuration Provider 0x40abdf0
          277395ms [I3] {12285} [INFO] (connection - L:465) <couchbase.local:8091> (SOCK=0x50ebb70) Starting. Timeout=2000000us
          277396ms [I3] {12285} [DEBUG] (connection - L:230) <couchbase.local:8091> (SOCK=0x50ebb70) Created new socket with FD=25
          277396ms [I3] {12285} [TRACE] (connection - L:332) <couchbase.local:8091> (SOCK=0x50ebb70) Scheduling I/O watcher for asynchronous connection completion.
          277396ms [I3] {12285} [INFO] (connection - L:139) <couchbase.local:8091> (SOCK=0x50ebb70) Connected established
          277396ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:8091> (SOCK=0x50ebb70) Successfully set TCP_NODELAY
          277396ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:8091> (SOCK=0x50ebb70) Successfully set TCP_KEEPALIVE
          277396ms [I3] {12285} [DEBUG] (htconfig - L:298) Successfuly connected to REST API couchbase.local:8091
          277396ms [I3] {12285} [DEBUG] (ioctx - L:101) <couchbase.local:8091> (CTX=0x4b64770,unknown) Pairing with SOCK=0x50ebb70
          277398ms [I3] {12285} [TRACE] (htconfig - L:209) <couchbase.local:8091> Received 200 bytes on HTTP stream
          277398ms [I3] {12285} [TRACE] (htconfig - L:209) <couchbase.local:8091> Received 8198 bytes on HTTP stream
          277398ms [I3] {12285} [TRACE] (htconfig - L:209) <couchbase.local:8091> Received 9 bytes on HTTP stream
          277398ms [I3] {12285} [DEBUG] (htconfig - L:224) <couchbase.local:8091> Generation 0 -> 1
          277398ms [I3] {12285} [INFO] (confmon - L:158) Setting new configuration. Received via HTTP
          277399ms [I3] {12285} [DEBUG] (bootstrap - L:56) Instance configured
          277399ms [I3] {12285} [DEBUG] (lcbio_mgr - L:413) <couchbase.local:11210> (HE=0x4084310) Creating new connection because none are available in the pool
          277399ms [I3] {12285} [TRACE] (lcbio_mgr - L:328) <couchbase.local:11210> (HE=0x4084310) New pool entry: I=0x3e143a0
          277399ms [I3] {12285} [INFO] (connection - L:465) <couchbase.local:11210> (SOCK=0x4b73fb0) Starting. Timeout=2500000us
          277399ms [I3] {12285} [DEBUG] (connection - L:230) <couchbase.local:11210> (SOCK=0x4b73fb0) Created new socket with FD=27
          277399ms [I3] {12285} [TRACE] (connection - L:332) <couchbase.local:11210> (SOCK=0x4b73fb0) Scheduling I/O watcher for asynchronous connection completion.
          277399ms [I3] {12285} [INFO] (connection - L:139) <couchbase.local:11210> (SOCK=0x4b73fb0) Connected established
          277399ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:11210> (SOCK=0x4b73fb0) Successfully set TCP_NODELAY
          277399ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:11210> (SOCK=0x4b73fb0) Successfully set TCP_KEEPALIVE
          277399ms [I3] {12285} [DEBUG] (lcbio_mgr - L:287) <couchbase.local:11210> (HE=0x4084310) Received result for I=0x3e143a0,C=(nil); E=0x0
          277399ms [I3] {12285} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:11210> (HE=0x4084310) Assigning R=0x3cbb8d0 SOCKET=0x4b73fb0
          277399ms [I3] {12285} [TRACE] (server - L:633) <couchbase.local:11210> (SRV=0x3eae870) Session not yet negotiated. Negotiating
          277399ms [I3] {12285} [DEBUG] (ioctx - L:101) <couchbase.local:11210> (CTX=0x3cfad30,unknown) Pairing with SOCK=0x4b73fb0
          277480ms [I3] {12285} [DEBUG] (negotiation - L:418) <couchbase.local:11210> (SASLREQ=0x42689e0) Server supports feature: 0x3 (TCP NODELAY)
          277480ms [I3] {12285} [TRACE] (negotiation - L:563) <couchbase.local:11210> (SASLREQ=0x42689e0) GET_ERRORMAP unsupported/disabled
          277480ms [I3] {12285} [DEBUG] (ioctx - L:151) <couchbase.local:11210> (CTX=0x3cfad30,sasl) Destroying context. Pending Writes=0, Entered=true, Socket Refcount=1
          277480ms [I3] {12285} [DEBUG] (ioctx - L:101) <couchbase.local:11210> (CTX=0x4b97d00,unknown) Pairing with SOCK=0x4b73fb0

          =========================================================================
          STILL THE THIRD REQUEST

          Query
          SELECT DISTINCT(`:id`) AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'user' AND `global` = true AND (`first_name` = 'Luigi' AND ARRAY_CONTAINS(`public`, 'first_name') ) OR (`last_name` = 'Pirandello' AND ARRAY_CONTAINS(`public`, 'last_name') ) LIMIT 11 OFFSET 0
          =========================================================================

          277483ms [I3] {12405} [TRACE] (http-io - L:228) <couchbase.local:8093> POST http://couchbase.local:8093/query/service. Body=308 bytes
          277483ms [I3] {12405} [DEBUG] (lcbio_mgr - L:413) <couchbase.local:8093> (HE=0x7f99dc02e130) Creating new connection because none are available in the pool
          277483ms [I3] {12405} [TRACE] (lcbio_mgr - L:328) <couchbase.local:8093> (HE=0x7f99dc02e130) New pool entry: I=0x7f99dc0219c0
          277483ms [I3] {12405} [INFO] (connection - L:465) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Starting. Timeout=75000000us
          277483ms [I3] {12405} [DEBUG] (connection - L:230) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Created new socket with FD=28
          277484ms [I3] {12405} [TRACE] (connection - L:332) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Scheduling I/O watcher for asynchronous connection completion.
          277484ms [I3] {12405} [INFO] (connection - L:139) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Connected established
          277484ms [I3] {12405} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Successfully set TCP_NODELAY
          277484ms [I3] {12405} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Successfully set TCP_KEEPALIVE
          277484ms [I3] {12405} [DEBUG] (lcbio_mgr - L:287) <couchbase.local:8093> (HE=0x7f99dc02e130) Received result for I=0x7f99dc0219c0,C=(nil); E=0x0
          277484ms [I3] {12405} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:8093> (HE=0x7f99dc02e130) Assigning R=0x7f99dc04d7d0 SOCKET=0x7f99dc04a950
          277484ms [I3] {12405} [DEBUG] (ioctx - L:101) <couchbase.local:8093> (CTX=0x7f99dc046ec0,unknown) Pairing with SOCK=0x7f99dc04a950
          278442ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          279901ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          280945ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          282402ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          283445ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          284904ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          285946ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          287406ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          288448ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          289908ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          290950ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error
          292313ms [I0] {12401} [TRACE] (confmon - L:272) Refreshing current cluster map

          (eval):3: [BUG] Segmentation fault at 0x00000000000018
          ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

          – Control frame information -----------------------------------------------
          c:0011 p:---- s:0041 e:000040 CFUNC :query
          c:0010 p:0018 s:0037 e:000036 BLOCK (eval):3
          c:0009 p:0008 s:0034 e:000033 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:64 [FINISH]
          c:0008 p:---- s:0032 e:000031 CFUNC :handle_interrupt
          c:0007 p:0038 s:0028 e:000027 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63 [FINISH]
          c:0006 p:---- s:0025 e:000024 CFUNC :handle_interrupt
          c:0005 p:0030 s:0021 e:000020 METHOD /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60
          c:0004 p:0011 s:0017 e:000016 METHOD (eval):2
          c:0003 p:0030 s:0012 e:000011 BLOCK /home/stefanoseluxit/Documents/filemercurial/rest_service/database/couchbase.rb:38 [FINISH]
          c:0002 p:0059 s:0009 e:000008 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:1076 [FINISH]
          c:0001 p:---- s:0002 e:000001 (none) [FINISH]

          – Ruby level backtrace information ----------------------------------------
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:1076:in `block in spawn_threadpool'
          /home/stefanoseluxit/Documents/filemercurial/rest_service/database/couchbase.rb:38:in `block in query_request'
          (eval):2:in `query'
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `with'
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `handle_interrupt'
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `block in with'
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `handle_interrupt'
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:64:in `block (2 levels) in with'
          (eval):3:in `block in query'
          (eval):3:in `query'

          – Machine register context ------------------------------------------------
          RIP: 0x00007f9a33e7cfa8 RBP: 0x0000000000000008 RSP: 0x00007f9a28758200
          RAX: 0x0000000004aa1dc0 RBX: 0x0000000000000008 RCX: 0x0000000000000000
          RDX: 0x0000000000000008 RDI: 0x0000000000000008 RSI: 0x0000000004aa1dc0
          R8: 0x0000000000000008 R9: 0x00000000008159e0 R10: 0x0000000004aa1e72
          R11: 0x0000000003979bf0 R12: 0x00007f9a287582cb R13: 0x00007f9a28758270
          R14: 0x00007f99f0034e80 R15: 0x00000000053aa020 EFL: 0x0000000000010206

          – C level backtrace information -------------------------------------------
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_vm_bugreport+0x4ea) [0x7f9a33fba68a] vm_dump.c:688
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_bug_context+0xd4) [0x7f9a33e4c294] error.c:435
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(sigsegv+0x3e) [0x7f9a33f2907e] signal.c:890
          /lib/x86_64-linux-gnu/libc.so.6 [0x7f9a33a394b0]
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_hash_lookup2+0x8) [0x7f9a33e7cfa8] hash.c:802
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(n1ql_callback+0x1da) [0x7f9a2d6072ba] n1ql.c:37
          /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7f9a2d381bb4]
          /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7f9a2d379ac2]
          /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7f9a2d358195]
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(timers_run+0x5a) [0x7f9a2d5fd67a] multithread_plugin.c:384
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(loop_run_select+0x390) [0x7f9a2d5fde80] multithread_plugin.c:651
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_ensure+0xb0) [0x7f9a33e55310] eval.c:901
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(lcb_io_run_event_loop+0xa6) [0x7f9a2d5fe306] multithread_plugin.c:899
          /usr/lib/x86_64-linux-gnu/libcouchbase.so.2(lcb_wait+0x53) [0x7f9a2d3a0673]
          /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(cb_bucket_query+0x128) [0x7f9a2d607648] n1ql.c:103
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7f9a33fa35c0] vm_insnhelper.c:1638
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_method_each_type+0x5e) [0x7f9a33fb2f6e] vm_insnhelper.c:2022
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_method+0xe3) [0x7f9a33fb34e3] vm_insnhelper.c:2172
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_opt_send+0x14e) [0x7f9a33fb38fe] vm_insnhelper.c:1846
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7f9a33fac8cb] insns.def:964
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_yield+0x5c) [0x7f9a33fb240c] vm.c:988
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_thread_s_handle_interrupt+0x115) [0x7f9a33fc9025] thread.c:1835
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7f9a33fa35c0] vm_insnhelper.c:1638
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7f9a33fac8cb] insns.def:964
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_yield+0x5c) [0x7f9a33fb240c] vm.c:988
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_thread_s_handle_interrupt+0x115) [0x7f9a33fc9025] thread.c:1835
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7f9a33fa35c0] vm_insnhelper.c:1638
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7f9a33fac8cb] insns.def:964
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7f9a33fb2273] vm.c:996
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_opt_call+0xa4) [0x7f9a33fb2e94] vm.c:1072
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x1318) [0x7f9a33fac998] insns.def:995
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7f9a33fb2273] vm.c:996
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(thread_start_func_2+0x671) [0x7f9a33fc8001] thread.c:584
          /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(thread_start_func_1+0xd0) [0x7f9a33fc85c0] thread_pthread.c:882
          /lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xca) [0x7f9a337ee6ba]
          /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f9a33b0b3dd] ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

           

           

          Stefano Stefano Martin added a comment - - edited You are "lucky" since I hit the error again just now (this time with version 1.3.15 of couchbase-ruby). I did three requests on my application in quick succession. The first two went successfully, the third one no. All of them have one N1QL request and several set, get, increment/decrement request to couchbase. EDIT: Sorry for the numerous edit. ===================================== START FIRST REQUEST GET /services/search?type=user&attribute= [role] &value= [writer] Query SELECT DISTINCT(`:id`) AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'user' AND `global` = true AND (`role` = 'writer' AND ARRAY_CONTAINS(`public`, 'role') ) LIMIT 11 OFFSET 0 ======================================== 217163ms [I0] {12409} [TRACE] (http-io - L:228) <couchbase.local:8093> POST http://couchbase.local:8093/query/service . Body=222 bytes 217163ms [I0] {12409} [DEBUG] (lcbio_mgr - L:413) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Creating new connection because none are available in the pool 217163ms [I0] {12409} [TRACE] (lcbio_mgr - L:328) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) New pool entry: I=0x7f99cc01ae20 217163ms [I0] {12409} [INFO] (connection - L:465) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Starting. Timeout=75000000us 217163ms [I0] {12409} [DEBUG] (connection - L:230) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Created new socket with FD=45 217163ms [I0] {12409} [TRACE] (connection - L:332) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Scheduling I/O watcher for asynchronous connection completion. 217163ms [I0] {12409} [INFO] (connection - L:139) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Connected established 217163ms [I0] {12409} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Successfully set TCP_NODELAY 217163ms [I0] {12409} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99cc00a930) Successfully set TCP_KEEPALIVE 217163ms [I0] {12409} [DEBUG] (lcbio_mgr - L:287) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Received result for I=0x7f99cc01ae20,C=(nil); E=0x0 217163ms [I0] {12409} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Assigning R=0x7f99cc00f2b0 SOCKET=0x7f99cc00a930 217163ms [I0] {12409} [DEBUG] (ioctx - L:101) <couchbase.local:8093> (CTX=0x7f99cc00a860,unknown) Pairing with SOCK=0x7f99cc00a930 217295ms [I0] {12409} [DEBUG] (ioctx - L:151) <couchbase.local:8093> (CTX=0x7f99cc00a860,mgmt/capi) Destroying context. Pending Writes=0, Entered=true, Socket Refcount=1 217295ms [I0] {12409} [INFO] (lcbio_mgr - L:463) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Placing socket back into the pool. I=0x7f99cc01ae20,C=0x7f99cc00a930 ===================================== FIRST REQUEST RETURNED SUCCESSFULLY START SECOND REQUEST GET /services/search?type=user&attribute= [first_name,last_name] &value= [Luigi,Pirandello] Query SELECT DISTINCT(`:id`) AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'user' AND `global` = true AND (`first_name` = 'Luigi' AND ARRAY_CONTAINS(`public`, 'first_name') ) OR (`last_name` = 'Pirandello' AND ARRAY_CONTAINS(`public`, 'last_name') ) LIMIT 11 OFFSET 0 ====================================== 217313ms [I0] {12401} [TRACE] (http-io - L:228) <couchbase.local:8093> POST http://couchbase.local:8093/query/service . Body=308 bytes 217313ms [I0] {12401} [INFO] (lcbio_mgr - L:406) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Found ready connection in pool. Reusing socket and not creating new connection 217313ms [I0] {12401} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:8093> (HE=0x7f9a0c01c3e0) Assigning R=0x7f99f0069c10 SOCKET=0x7f99cc00a930 217313ms [I0] {12401} [DEBUG] (ioctx - L:101) <couchbase.local:8093> (CTX=0x7f99f00409d0,unknown) Pairing with SOCK=0x7f99cc00a930 218404ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 220906ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 223407ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 225910ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 228413ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 230913ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 233416ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 235918ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 238419ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 240920ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 243423ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 245925ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 248426ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 250926ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 253428ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 255929ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 258430ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 260932ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 263433ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 265935ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 268436ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 270937ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 273440ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 275942ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error ================================== SECOND REQUEST RETURNED SUCCESSFULLY START THIRD REQUEST GET /services/search?type=user&attribute= [first_name,last_name] &value= [Luigi,Pirandello] ================================== 277367ms [I3] {12285} [INFO] (instance - L:420) Version=2.8.1, Changeset=5a66d8607605bb23e66ed7ae9e7196fe45be6856 277367ms [I3] {12285} [INFO] (instance - L:421) Effective connection string: couchbase+explicit://couchbase.local,/bastard?. Bucket=bastard 277395ms [I3] {12285} [INFO] (instance - L:135) DNS SRV lookup failed: DNS/Hostname lookup failed. Ignore this if not relying on DNS SRV records 277395ms [I3] {12285} [DEBUG] (instance - L:77) Adding host couchbase.local:8091 to initial HTTP bootstrap list 277395ms [I3] {12285} [DEBUG] (instance - L:77) Adding host couchbase.local:11210 to initial CCCP bootstrap list 277395ms [I3] {12285} [DEBUG] (confmon - L:85) Preparing providers (this may be called multiple times) 277395ms [I3] {12285} [DEBUG] (confmon - L:94) Provider CCCP is DISABLED 277395ms [I3] {12285} [DEBUG] (confmon - L:92) Provider HTTP is ENABLED 277395ms [I3] {12285} [TRACE] (confmon - L:272) Refreshing current cluster map 277395ms [I3] {12285} [TRACE] (confmon - L:259) Attempting to retrieve cluster map via HTTP 277395ms [I3] {12285} [TRACE] (htconfig - L:338) Starting HTTP Configuration Provider 0x40abdf0 277395ms [I3] {12285} [INFO] (connection - L:465) <couchbase.local:8091> (SOCK=0x50ebb70) Starting. Timeout=2000000us 277396ms [I3] {12285} [DEBUG] (connection - L:230) <couchbase.local:8091> (SOCK=0x50ebb70) Created new socket with FD=25 277396ms [I3] {12285} [TRACE] (connection - L:332) <couchbase.local:8091> (SOCK=0x50ebb70) Scheduling I/O watcher for asynchronous connection completion. 277396ms [I3] {12285} [INFO] (connection - L:139) <couchbase.local:8091> (SOCK=0x50ebb70) Connected established 277396ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:8091> (SOCK=0x50ebb70) Successfully set TCP_NODELAY 277396ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:8091> (SOCK=0x50ebb70) Successfully set TCP_KEEPALIVE 277396ms [I3] {12285} [DEBUG] (htconfig - L:298) Successfuly connected to REST API couchbase.local:8091 277396ms [I3] {12285} [DEBUG] (ioctx - L:101) <couchbase.local:8091> (CTX=0x4b64770,unknown) Pairing with SOCK=0x50ebb70 277398ms [I3] {12285} [TRACE] (htconfig - L:209) <couchbase.local:8091> Received 200 bytes on HTTP stream 277398ms [I3] {12285} [TRACE] (htconfig - L:209) <couchbase.local:8091> Received 8198 bytes on HTTP stream 277398ms [I3] {12285} [TRACE] (htconfig - L:209) <couchbase.local:8091> Received 9 bytes on HTTP stream 277398ms [I3] {12285} [DEBUG] (htconfig - L:224) <couchbase.local:8091> Generation 0 -> 1 277398ms [I3] {12285} [INFO] (confmon - L:158) Setting new configuration. Received via HTTP 277399ms [I3] {12285} [DEBUG] (bootstrap - L:56) Instance configured 277399ms [I3] {12285} [DEBUG] (lcbio_mgr - L:413) <couchbase.local:11210> (HE=0x4084310) Creating new connection because none are available in the pool 277399ms [I3] {12285} [TRACE] (lcbio_mgr - L:328) <couchbase.local:11210> (HE=0x4084310) New pool entry: I=0x3e143a0 277399ms [I3] {12285} [INFO] (connection - L:465) <couchbase.local:11210> (SOCK=0x4b73fb0) Starting. Timeout=2500000us 277399ms [I3] {12285} [DEBUG] (connection - L:230) <couchbase.local:11210> (SOCK=0x4b73fb0) Created new socket with FD=27 277399ms [I3] {12285} [TRACE] (connection - L:332) <couchbase.local:11210> (SOCK=0x4b73fb0) Scheduling I/O watcher for asynchronous connection completion. 277399ms [I3] {12285} [INFO] (connection - L:139) <couchbase.local:11210> (SOCK=0x4b73fb0) Connected established 277399ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:11210> (SOCK=0x4b73fb0) Successfully set TCP_NODELAY 277399ms [I3] {12285} [DEBUG] (connection - L:98) <couchbase.local:11210> (SOCK=0x4b73fb0) Successfully set TCP_KEEPALIVE 277399ms [I3] {12285} [DEBUG] (lcbio_mgr - L:287) <couchbase.local:11210> (HE=0x4084310) Received result for I=0x3e143a0,C=(nil); E=0x0 277399ms [I3] {12285} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:11210> (HE=0x4084310) Assigning R=0x3cbb8d0 SOCKET=0x4b73fb0 277399ms [I3] {12285} [TRACE] (server - L:633) <couchbase.local:11210> (SRV=0x3eae870) Session not yet negotiated. Negotiating 277399ms [I3] {12285} [DEBUG] (ioctx - L:101) <couchbase.local:11210> (CTX=0x3cfad30,unknown) Pairing with SOCK=0x4b73fb0 277480ms [I3] {12285} [DEBUG] (negotiation - L:418) <couchbase.local:11210> (SASLREQ=0x42689e0) Server supports feature: 0x3 (TCP NODELAY) 277480ms [I3] {12285} [TRACE] (negotiation - L:563) <couchbase.local:11210> (SASLREQ=0x42689e0) GET_ERRORMAP unsupported/disabled 277480ms [I3] {12285} [DEBUG] (ioctx - L:151) <couchbase.local:11210> (CTX=0x3cfad30,sasl) Destroying context. Pending Writes=0, Entered=true, Socket Refcount=1 277480ms [I3] {12285} [DEBUG] (ioctx - L:101) <couchbase.local:11210> (CTX=0x4b97d00,unknown) Pairing with SOCK=0x4b73fb0 ========================================================================= STILL THE THIRD REQUEST Query SELECT DISTINCT(`:id`) AS `:id` FROM `bastard` WHERE `_system`.`type_obj` = 'user' AND `global` = true AND (`first_name` = 'Luigi' AND ARRAY_CONTAINS(`public`, 'first_name') ) OR (`last_name` = 'Pirandello' AND ARRAY_CONTAINS(`public`, 'last_name') ) LIMIT 11 OFFSET 0 ========================================================================= 277483ms [I3] {12405} [TRACE] (http-io - L:228) <couchbase.local:8093> POST http://couchbase.local:8093/query/service . Body=308 bytes 277483ms [I3] {12405} [DEBUG] (lcbio_mgr - L:413) <couchbase.local:8093> (HE=0x7f99dc02e130) Creating new connection because none are available in the pool 277483ms [I3] {12405} [TRACE] (lcbio_mgr - L:328) <couchbase.local:8093> (HE=0x7f99dc02e130) New pool entry: I=0x7f99dc0219c0 277483ms [I3] {12405} [INFO] (connection - L:465) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Starting. Timeout=75000000us 277483ms [I3] {12405} [DEBUG] (connection - L:230) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Created new socket with FD=28 277484ms [I3] {12405} [TRACE] (connection - L:332) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Scheduling I/O watcher for asynchronous connection completion. 277484ms [I3] {12405} [INFO] (connection - L:139) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Connected established 277484ms [I3] {12405} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Successfully set TCP_NODELAY 277484ms [I3] {12405} [DEBUG] (connection - L:98) <couchbase.local:8093> (SOCK=0x7f99dc04a950) Successfully set TCP_KEEPALIVE 277484ms [I3] {12405} [DEBUG] (lcbio_mgr - L:287) <couchbase.local:8093> (HE=0x7f99dc02e130) Received result for I=0x7f99dc0219c0,C=(nil); E=0x0 277484ms [I3] {12405} [DEBUG] (lcbio_mgr - L:247) <couchbase.local:8093> (HE=0x7f99dc02e130) Assigning R=0x7f99dc04d7d0 SOCKET=0x7f99dc04a950 277484ms [I3] {12405} [DEBUG] (ioctx - L:101) <couchbase.local:8093> (CTX=0x7f99dc046ec0,unknown) Pairing with SOCK=0x7f99dc04a950 278442ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 279901ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error 280945ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 282402ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error 283445ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 284904ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error 285946ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 287406ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error 288448ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 289908ms [I3] {12405} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3eae870,IX=0) Scheduling next timeout for 2500 ms. This is not an error 290950ms [I0] {12401} [TRACE] (server - L:576) <couchbase.local:11210> (SRV=0x3fe8f70,IX=0) Scheduling next timeout for 2500 ms. This is not an error 292313ms [I0] {12401} [TRACE] (confmon - L:272) Refreshing current cluster map (eval):3: [BUG] Segmentation fault at 0x00000000000018 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] – Control frame information ----------------------------------------------- c:0011 p:---- s:0041 e:000040 CFUNC :query c:0010 p:0018 s:0037 e:000036 BLOCK (eval):3 c:0009 p:0008 s:0034 e:000033 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:64 [FINISH] c:0008 p:---- s:0032 e:000031 CFUNC :handle_interrupt c:0007 p:0038 s:0028 e:000027 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63 [FINISH] c:0006 p:---- s:0025 e:000024 CFUNC :handle_interrupt c:0005 p:0030 s:0021 e:000020 METHOD /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60 c:0004 p:0011 s:0017 e:000016 METHOD (eval):2 c:0003 p:0030 s:0012 e:000011 BLOCK /home/stefanoseluxit/Documents/filemercurial/rest_service/database/couchbase.rb:38 [FINISH] c:0002 p:0059 s:0009 e:000008 BLOCK /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:1076 [FINISH] c:0001 p:---- s:0002 e:000001 (none) [FINISH] – Ruby level backtrace information ---------------------------------------- /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:1076:in `block in spawn_threadpool' /home/stefanoseluxit/Documents/filemercurial/rest_service/database/couchbase.rb:38:in `block in query_request' (eval):2:in `query' /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `with' /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `handle_interrupt' /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `block in with' /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `handle_interrupt' /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/connection_pool-2.2.1/lib/connection_pool.rb:64:in `block (2 levels) in with' (eval):3:in `block in query' (eval):3:in `query' – Machine register context ------------------------------------------------ RIP: 0x00007f9a33e7cfa8 RBP: 0x0000000000000008 RSP: 0x00007f9a28758200 RAX: 0x0000000004aa1dc0 RBX: 0x0000000000000008 RCX: 0x0000000000000000 RDX: 0x0000000000000008 RDI: 0x0000000000000008 RSI: 0x0000000004aa1dc0 R8: 0x0000000000000008 R9: 0x00000000008159e0 R10: 0x0000000004aa1e72 R11: 0x0000000003979bf0 R12: 0x00007f9a287582cb R13: 0x00007f9a28758270 R14: 0x00007f99f0034e80 R15: 0x00000000053aa020 EFL: 0x0000000000010206 – C level backtrace information ------------------------------------------- /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_vm_bugreport+0x4ea) [0x7f9a33fba68a] vm_dump.c:688 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_bug_context+0xd4) [0x7f9a33e4c294] error.c:435 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(sigsegv+0x3e) [0x7f9a33f2907e] signal.c:890 /lib/x86_64-linux-gnu/libc.so.6 [0x7f9a33a394b0] /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_hash_lookup2+0x8) [0x7f9a33e7cfa8] hash.c:802 /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(n1ql_callback+0x1da) [0x7f9a2d6072ba] n1ql.c:37 /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7f9a2d381bb4] /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7f9a2d379ac2] /usr/lib/x86_64-linux-gnu/libcouchbase.so.2 [0x7f9a2d358195] /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(timers_run+0x5a) [0x7f9a2d5fd67a] multithread_plugin.c:384 /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(loop_run_select+0x390) [0x7f9a2d5fde80] multithread_plugin.c:651 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_ensure+0xb0) [0x7f9a33e55310] eval.c:901 /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(lcb_io_run_event_loop+0xa6) [0x7f9a2d5fe306] multithread_plugin.c:899 /usr/lib/x86_64-linux-gnu/libcouchbase.so.2(lcb_wait+0x53) [0x7f9a2d3a0673] /home/stefanoseluxit/.rvm/gems/ruby-2.3.1@rest_service/gems/couchbase-1.3.15/lib/couchbase_ext.so(cb_bucket_query+0x128) [0x7f9a2d607648] n1ql.c:103 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7f9a33fa35c0] vm_insnhelper.c:1638 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_method_each_type+0x5e) [0x7f9a33fb2f6e] vm_insnhelper.c:2022 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_method+0xe3) [0x7f9a33fb34e3] vm_insnhelper.c:2172 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_opt_send+0x14e) [0x7f9a33fb38fe] vm_insnhelper.c:1846 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7f9a33fac8cb] insns.def:964 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_yield+0x5c) [0x7f9a33fb240c] vm.c:988 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_thread_s_handle_interrupt+0x115) [0x7f9a33fc9025] thread.c:1835 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7f9a33fa35c0] vm_insnhelper.c:1638 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7f9a33fac8cb] insns.def:964 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_yield+0x5c) [0x7f9a33fb240c] vm.c:988 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(rb_thread_s_handle_interrupt+0x115) [0x7f9a33fc9025] thread.c:1835 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_cfunc+0xf0) [0x7f9a33fa35c0] vm_insnhelper.c:1638 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x124b) [0x7f9a33fac8cb] insns.def:964 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7f9a33fb2273] vm.c:996 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_call_opt_call+0xa4) [0x7f9a33fb2e94] vm.c:1072 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec_core+0x1318) [0x7f9a33fac998] insns.def:995 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_exec+0x86) [0x7f9a33fb14f6] vm.c:1650 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(invoke_block_from_c_0+0x2be) [0x7f9a33fb219e] vm.c:921 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7f9a33fb2273] vm.c:996 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(thread_start_func_2+0x671) [0x7f9a33fc8001] thread.c:584 /home/stefanoseluxit/.rvm/rubies/ruby-2.3.1/bin/../lib/libruby.so.2.3(thread_start_func_1+0xd0) [0x7f9a33fc85c0] thread_pthread.c:882 /lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xca) [0x7f9a337ee6ba] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f9a33b0b3dd] ../sysdeps/unix/sysv/linux/x86_64/clone.S:109    

          Branch 1.3.x is not supported
          All development goes on master branch (and 3.0.0 release coming soon)

          avsej Sergey Avseyev added a comment - Branch 1.3.x is not supported All development goes on master branch (and 3.0.0 release coming soon)

          People

            avsej Sergey Avseyev
            Stefano Stefano Martin
            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