Skip to content

Instantly share code, notes, and snippets.

@steveyen
Created April 20, 2018 21:34
Show Gist options
  • Save steveyen/6881d8ce36946a6590b5f5002e5edf6e to your computer and use it in GitHub Desktop.
Save steveyen/6881d8ce36946a6590b5f5002e5edf6e to your computer and use it in GitHub Desktop.
panic on bleve commit 2d5ae21650e05d26a3876b318b860546ab970a9b
https://github.com/blevesearch/bleve/commit/2d5ae21650e05d26a3876b318b860546ab970a9b
panic: runtime error: slice bounds out of range
goroutine 487 [running]:
panic(0x18c9980, 0x2045020)
/Users/steveyen/.cbdepscache/exploded/x86_64/go-1.9.3/go/src/runtime/panic.go:540 +0x45e fp=0xc445d1d238 sp=0xc445d1d190 pc=0x102d37e
runtime.panicslice()
/Users/steveyen/.cbdepscache/exploded/x86_64/go-1.9.3/go/src/runtime/panic.go:35 +0x5e fp=0xc445d1d258 sp=0xc445d1d238 pc=0x102beee
github.com/blevesearch/bleve/index/scorch/segment/zap.(*docValueReader).loadDvChunk(0xc431870d80, 0x1, 0xc434889ee0, 0x8, 0x0)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/docvalues.go:149 +0x3d8 fp=0xc445d1d2e0\
sp=0xc445d1d258 pc=0x11a5578
github.com/blevesearch/bleve/index/scorch/segment/zap.(*docValueReader).iterateAllDocValues(0xc431870d80, 0xc434889ee0, 0xc4299a34c0, 0xc427aad8e0, 0xc4\
2ffee301)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/docvalues.go:157 +0x148 fp=0xc445d1d380\
sp=0xc445d1d2e0 pc=0x11a5708
github.com/blevesearch/bleve/index/scorch/segment/zap.persistMergedRest(0xc43cea1260, 0x2, 0x2, 0xc43cea1250, 0x2, 0x2, 0xc425c38000, 0x42, 0x42, 0xc433\
2c0c60, ...)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/merge.go:361 +0x2052 fp=0xc445d1d7c0 sp\
=0xc445d1d380 pc=0x11aaaf2
github.com/blevesearch/bleve/index/scorch/segment/zap.MergeToWriter(0xc43cea1260, 0x2, 0x2, 0xc43cea1250, 0x2, 0x2, 0x400, 0xc42c767260, 0xc42082d2c0, 0\
xc4362cf988, ...)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/merge.go:119 +0x2db fp=0xc445d1d900 sp=\
0xc445d1d7c0 pc=0x11a845b
github.com/blevesearch/bleve/index/scorch/segment/zap.Merge(0xc43cea1240, 0x2, 0x2, 0xc43cea1250, 0x2, 0x2, 0xc42082d2c0, 0x91, 0x400, 0xc420024e50, ...\
)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/segment/zap/merge.go:65 +0x31a fp=0xc445d1da70 sp=0\
xc445d1d900 pc=0x11a7caa
github.com/blevesearch/bleve/index/scorch.(*Scorch).planMergeAtSnapshot(0xc4204be000, 0xc4201ef4d0, 0xc4206423c0, 0x0, 0x0)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/merge.go:198 +0xd73 fp=0xc445d1de00 sp=0xc445d1da70\
pc=0x11f2c83
github.com/blevesearch/bleve/index/scorch.(*Scorch).mergerLoop(0xc4204be000)
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/merge.go:61 +0x237 fp=0xc445d1dfd8 sp=0xc445d1de00 \
pc=0x11f1887
runtime.goexit()
/Users/steveyen/.cbdepscache/exploded/x86_64/go-1.9.3/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc445d1dfe0 sp=0xc445d1dfd8 pc=0x105def1
created by github.com/blevesearch/bleve/index/scorch.(*Scorch).Open
/Users/steveyen/dev/couchbase-server.vulcan/godeps/src/github.com/blevesearch/bleve/index/scorch/scorch.go:142 +0x12f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment