Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: index out of range [1066] with length 1066 #959

Open
mimicode opened this issue May 6, 2024 · 0 comments
Open

panic: runtime error: index out of range [1066] with length 1066 #959

mimicode opened this issue May 6, 2024 · 0 comments

Comments

@mimicode
Copy link

mimicode commented May 6, 2024

Loading Gse user dict... conf/zinc/plugins/gse/dict/user.txt
Loading Gse user stop... conf/zinc/plugins/gse/dict/stop.txt
Loading index... [article:disk] shards[10:10]
Loading index... [good:disk] shards[10:10]
Loading index... [shop:disk] shards[10:10]
Loading index... [tags:disk] shards[10:10]
Starting Zinc 0.4.9
Listen on :54080
panic: runtime error: index out of range [1066] with length 1066

goroutine 9666 [running]:
github.com/blugelabs/ice.(*memUvarintReader).ReadUvarint(0xc006221048?)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/memuvarint.go:64 +0xc5
github.com/blugelabs/ice.(*chunkedIntDecoder).readUvarint(...)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/intdecoder.go:128
github.com/blugelabs/ice.(*PostingsIterator).skipFreqNormReadHasLocs(0xc0086035e0)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/posting.go:390 +0x37
github.com/blugelabs/ice.(*PostingsIterator).currChunkNext(0xc0086035e0, 0x114a?)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/posting.go:647 +0x92
github.com/blugelabs/ice.(*PostingsIterator).nextDocNumAtOrAfter(0xc0086035e0, 0x114a)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/posting.go:565 +0x1df
github.com/blugelabs/ice.(*PostingsIterator).nextAtOrAfter(0xc0086035e0, 0x9951?)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/posting.go:461 +0x33
github.com/blugelabs/ice.(*PostingsIterator).Advance(0xc00efd4a80?, 0x9951?)
t/go/pkg/mod/github.com/zincsearch/ice@v1.1.3/posting.go:454 +0x19
github.com/blugelabs/bluge/index.(*postingsIterator).Advance(0xc003ed6000, 0x9951?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/index/postings.go:100 +0x1a6
github.com/blugelabs/bluge/search/searcher.(*TermSearcher).Advance(0xc00953d680, 0xc0077f8c60?, 0x0?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_term.go:97 +0x32
github.com/blugelabs/bluge/search/searcher.(*DisjunctionSliceSearcher).Advance(0xc008a0c900, 0xc008b56a30, 0x9951)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_disjunction_slice.go:199 +0x314
github.com/blugelabs/bluge/search/searcher.(*ConjunctionSearcher).advanceChild(0xc0077f8990, 0xc008b56a30?, 0x0, 0x2?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_conjunction.go:207 +0x1ee
github.com/blugelabs/bluge/search/searcher.(*ConjunctionSearcher).Next(0xc0077f8990, 0xc008b56a30)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_conjunction.go:143 +0x50b
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).advanceNextMust(0xc008a0c9c0, 0xc008b56a30, 0x1?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:126 +0x1cd
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).nextInternal(0xc008a0c9c0, 0xc008b56a30)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:231 +0x4d2
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).Next(0xc008a0c9c0, 0xc008b56a30?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:162 +0x47
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).Advance(0xc008a0c9c0, 0xc011f20d4b?, 0x0?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:307 +0xa5
github.com/blugelabs/bluge/search/searcher.(*ConjunctionSearcher).advanceChild(0xc0077f8d80, 0xc008b56a30?, 0x1, 0xc008e831b0?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_conjunction.go:207 +0x1ee
github.com/blugelabs/bluge/search/searcher.(*ConjunctionSearcher).Next(0xc0077f8d80, 0xc008b56a30)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_conjunction.go:153 +0x15a
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).advanceNextMust(0xc008a0cf00, 0xc008b56a30, 0x1?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:126 +0x1cd
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).nextInternal(0xc008a0cf00, 0xc008b56a30)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:231 +0x4d2
github.com/blugelabs/bluge/search/searcher.(*BooleanSearcher).Next(0xc008a0cf00, 0xc008b56a30?)
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/searcher/search_boolean.go:162 +0x47
github.com/blugelabs/bluge/search/collector.(*TopNCollector).Collect(0xc0077f8900, {0x37ce970, 0xc0000a0000}, 0xc0077f8900?, {0x7feea8c8ab18?, 0xc008a0cf00?})
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/search/collector/topn.go:180 +0x6df
github.com/blugelabs/bluge.(*Reader).Search(0xc005518000, {0x37ce970, 0xc0000a0000}, {0x37cec48, 0xc00eec6300})
t/go/pkg/mod/github.com/zincsearch/bluge@v1.1.5/reader.go:79 +0x286
github.com/zincsearch/zincsearch/pkg/bluge/search.MultiSearch.func3()
t/codebuild/output/src3279822829/src/github.com/zincsearch/zincsearch/pkg/bluge/search/search.go:104 +0x4c
golang.org/x/sync/errgroup.(*Group).Go.func1()
t/go/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
t/go/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:72 +0xa5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant