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

[Query][Windows] : panic: runtime error: slice bounds out of range [251658240:60]

    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: slice bounds out of range [251658240:60]
      goroutine 1317 [running]:github.com/google/flatbuffers/go.(*Table).GetSOffsetT(...)
          C:/Users/Administrator/cbdepscache/gomodcache/pkg/mod/github.com/google/flatbuffers@v22.11.23+incompatible/go/table.go:139
      github.com/google/flatbuffers/go.(*Table).Offset(0x26beae0?, 0xf001?)
          C:/Users/Administrator/cbdepscache/gomodcache/pkg/mod/github.com/google/flatbuffers@v22.11.23+incompatible/go/table.go:15 +0xe5
      github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/gen/flatbuf/payload.(*Response).Result(0xc0011b7d60)
          C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/gen/flatbuf/payload/Response.go:30 +0x1f
      github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*messageBuilder).ParseResponse(0xc0011b7ea8?, 0xc3a238?, {0xc000126780, 0x44, 0x44})
          C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/messages.go:120 +0x185
      github.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:369
      github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).receiveResponse(0xc0004ffd40, {0x33d3538, 0xc00008f1d0})
          C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:358 +0x14e
      created by github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager.(*processManager).startWithContext in goroutine 957
          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-03T05:03:35.394-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:120 +0x185github.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(0xc0004ffd40, {0x33d3538, 0xc00008f1d0})    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 957    C:/Jenkins/workspace/couchbase-server-windows/goproj/src/github.com/couchbase/eventing-ee/evaluator/impl/v8wrapper/process_manager/process_manager_impl.go:255 +0x1f6 

       

      Also observing another panic reported in MB-60020, not sure if they are related

      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=1000,item_size=1000000,command_options=-j -t 4,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

          Activity

            People

              raghav.sk Raghav S K
              raghav.sk Raghav S K
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty