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

panic: runtime error: index out of range in n1ql_thr_array_indexing_Q2_20M_gsi_moi_false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • secondary-index
    • 4.5.0-2477, 4.5.0-2488
    • Untriaged
    • Unknown

    Description

      http://perf.jenkins.couchbase.com/job/hades/3991/

      + ssh root@172.23.100.45 cat /opt/couchbase/var/lib/couchbase/logs/indexer.log '|' grep -i '"fatal' error: C malloc 'failed"'
      + '[' 1 -eq 0 ']'
      + echo Indexer not fatal
      Indexer not fatal
      + ssh root@172.23.100.45 cat /opt/couchbase/var/lib/couchbase/logs/indexer.log '|' grep -i '"panic"'
      panic: runtime error: index out of range
      panic(0xf1f040, 0xc820012080)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:464 +0x3e6 fp=0xcaa73ad7b0 sp=0xcaa73ad730
      runtime.panicindex()
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:15 +0x49 fp=0xcaa73ad7d8 sp=0xcaa73ad7b0
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:530 +0x90 fp=0x7f0cfd7fac20 sp=0x7f0cfd7fac08
      runtime.sigpanic()
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/sigpanic_unix.go:12 +0x5a fp=0x7f0cfd7fac70 sp=0x7f0cfd7fac20
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:530 +0x90 fp=0x7eff847fccf0 sp=0x7eff847fccd8
      runtime.sigpanic()
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/sigpanic_unix.go:12 +0x5a fp=0x7eff847fcd40 sp=0x7eff847fccf0
      + '[' 0 -eq 0 ']'
      

      goroutine 78 [IO wait]:
      runtime.gopark(0x1317870, 0x7eff85e479e0, 0x10aa140, 0x7, 0x629b1b, 0x5)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/proc.go:262 +0x163 fp=0xc82324f8b0 sp=0xc82324f888
      runtime.netpollblock(0x7eff85e479b8, 0xffffff0000000072, 0x415879)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/netpoll.go:341 +0x15e fp=0xc82324f8f8 sp=0xc82324f8b0
      net.runtime_pollWait(0x7eff85e479b8, 0x72, 0xc82379e000)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/netpoll.go:160 +0x60 fp=0xc82324f918 sp=0xc82324f8f8
      net.(*pollDesc).Wait(0xc8232bc5a0, 0x72, 0x0, 0x0)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/fd_poll_runtime.go:73 +0x3a fp=0xc82324f938 sp=0xc82324f918
      net.(*pollDesc).WaitRead(0xc8232bc5a0, 0x0, 0x0)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/fd_poll_runtime.go:78 +0x36 fp=0xc82324f960 sp=0xc82324f938
      net.(*netFD).Read(0xc8232bc540, 0xc82379e000, 0x6, 0x10000, 0x0, 0x7eff85f45050, 0xc820012180)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/fd_unix.go:250 +0x23a fp=0xc82324fa30 sp=0xc82324f960
      net.(*conn).Read(0xc8232c4060, 0xc82379e000, 0x6, 0x10000, 0x0, 0x0, 0x0)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/net.go:172 +0xe4 fp=0xc82324fa98 sp=0xc82324fa30
      github.com/couchbase/indexing/secondary/transport.fullRead(0x7eff7037a078, 0xc8232c4060, 0xc82379e000, 0x6, 0x10000, 0x0, 0x0)
      	/home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/transport/transport.go:188 +0xa9 fp=0xc82324fb10 sp=0xc82324fa98
      github.com/couchbase/indexing/secondary/transport.Receive(0x7eff7037a078, 0xc8232c4060, 0xc82379e000, 0x10000, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
      	/home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/transport/util.go:46 +0x116 fp=0xc82324fc58 sp=0xc82324fb10
      github.com/couchbase/indexing/secondary/transport.(*TransportPacket).Receive(0xc82324ff48, 0x7eff7037a078, 0xc8232c4060, 0x0, 0x0, 0x0, 0x0)
      	/home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/transport/transport.go:116 +0xb0 fp=0xc82324fd60 sp=0xc82324fc58
      github.com/couchbase/indexing/secondary/queryport.(*Server).doReceive(0xc8201b40e0, 0x7eff85f05030, 0xc8232c4060, 0xc8201e85a0)
      	/home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/queryport/server.go:173 +0x44d fp=0xc82324ff80 sp=0xc82324fd60
      runtime.goexit()
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82324ff88 sp=0xc82324ff80
      created by github.com/couchbase/indexing/secondary/queryport.(*Server).handleConnection
      	/home/couchbase/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/queryport/server.go:145 +0x166
      

      https://s3.amazonaws.com/bugdb/jira/MB-19531/07097705//Users/andrei/Downloads/archive.zip

      Attachments

        Issue Links

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

          Activity

            People

              andreibaranouski Andrei Baranouski
              andreibaranouski Andrei Baranouski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty