Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60020

[Query][Windows] : panic: runtime error: index out of range [3] with length 0

    XMLWordPrintable

Details

    Description

      1. Created a 6 node cluster with index, kv, n1ql service nodes
      2. Created 2 couchbase buckets named "default" and "standard_bucket"
      3. Started a workload using cbworkloadgen 

      Observing a panic in ns_server.query.log on 172.23.137.56

       

      panic: runtime error: index out of range [3] with length 0
      goroutine 783 [running]:github.com/google/flatbuffers/go.GetUint32(...)    C:/Users/Administrator/cbdepscache/gomodcache/pkg/mod/github.com/google/flatbuffers@v22.11.23+incompatible/go/encode.go:47github.com/google/flatbuffers/go.GetUOffsetT(...)    C:/Users/Administrator/cbdepscache/gomodcache/pkg/mod/github.com/google/flatbuffers@v22.11.23+incompatible/go/encode.go:121github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/gen/flatbuf/payload.GetRootAsResponse(...)    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/gen/flatbuf/payload/Response.go:14github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*messageBuilder).ParseResponse(0xc001bb5ea8?, 0xc3a238?, {0xc0008fe690, 0x0, 0x44})    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/messages.go:119 +0x2aegithub.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).parseResponse(...)    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:369github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).receiveResponse(0xc000da0000, {0x33d3538, 0xc000144370})    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:358 +0x14ecreated by github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).startWithContext in goroutine 746    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:255 +0x1f6 

       

      Soon after observing n1ql service crash

      2023-12-03T04:52:35.174-08:00, ns_log:0:info:message(ns_1@172.23.137.56) - Service 'n1ql' exited with status 2. Restarting. Messages:    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/messages.go:119 +0x2aegithub.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).parseResponse(...)    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:369github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).receiveResponse(0xc000da0000, {0x33d3538, 0xc000144370})    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:358 +0x14ecreated by github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).startWithContext in goroutine 746    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:255 +0x1f6 

       

      The goxdcr crashes are tracked under MB-60021

      Not sure if they are related

       


       

       

      Testrunner script to repro

       

      ./testrunner -i /tmp/testexec.21806.ini -p get-cbcollect-info=False,get-logs=False,get-coredumps=False,get-cbcollect-info=True,get-cbcollect-info=True -t clitest.workloadgentest.workloadgenTests.workloadgen_test,replica=0,standard_buckets=1,itmes=1000000,command_options=-j -t 2,GROUP=P0

       

      Job name : windows19-os_certify-tools_1

      Job ref : http://cb-logs-qe.s3-website-us-west-2.amazonaws.com/7.6.0-1878/jenkins_logs/test_suite_executor-dynvm/18439/

       

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-60020
          # Subject Branch Project Status CR V

          Activity

            People

              raghav.sk Raghav S K
              raghav.sk Raghav S K
              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