Details
-
Bug
-
Resolution: Fixed
-
Critical
-
4.5.0
-
None
-
Untriaged
-
Unknown
Description
Panic seen while indexing an array index.
panic: runtime error: slice bounds out of range
goroutine 124 [running]:
panic(0x4b0ee00, 0xc820014040)
/Users/jenkins/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:4
64 +0x3e6 fp=0xc823e73710 sp=0xc823e73690
runtime.panicslice()
/Users/jenkins/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:2
1 +0x49 fp=0xc823e73738 sp=0xc823e73710
github.com/couchbase/indexing/secondary/indexer.ArrayIndexItems(0xc820095600, 0x58f,
0x900, 0x0, 0xc824abf4bb, 0x0, 0x447, 0x1, 0x0, 0x0, ...)
/Users/jenkins/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase
/indexing/secondary/indexer/array.go:85 +0xa06 fp=0xc823e73908 sp=0xc823e73738
github.com/couchbase/indexing/secondary/indexer.(*fdbSlice).insertSecArrayIndex(0xc8
23c02780, 0xc824a5da00, 0x645, 0x680, 0xc820072680, 0x639, 0x639, 0xc823c30260, 0xa,
0xa, ...)
/Users/jenkins/jenkins/workspace/watson-unix/goproj/src/github.com/couchbase/indexing/secondary/indexer/forestdb_slice_writer.go:513 +0xc1d fp=0xc8244adcd0 sp=0xc8244ad908
github.com/couchbase/indexing/secondary/indexer.(*fdbSlice).insert(0xc82014c780, 0xc824bdb000, 0x7b4, 0x800, 0xc824aaa800, 0x7a7, 0x7a7, 0xc824aae0d0, 0xb, 0xb, ...)
Log and index definition is attached.
This issue may be similar to MB-19531. Filing a different one as that one seems more related to memdb.