Skip to content

runtime.boundsError when trying to access index on memvaruint #6

Open
@pier-oliviert

Description

@pier-oliviert

Here's the stack trace of the most recent event:

runtime.boundsError runtime error: index out of range [5250] with length 5250 
    runtime/panic.go:88 goPanicIndex
    github.com/blugelabs/[email protected]/memuvarint.go:64 (*memUvarintReader).ReadUvarint
    github.com/blugelabs/[email protected]/intdecoder.go:118 (*chunkedIntDecoder).readUvarint
    github.com/blugelabs/[email protected]/posting.go:387 (*PostingsIterator).skipFreqNormReadHasLocs
    github.com/blugelabs/[email protected]/posting.go:644 (*PostingsIterator).currChunkNext
    github.com/blugelabs/[email protected]/posting.go:562 (*PostingsIterator).nextDocNumAtOrAfter
    github.com/blugelabs/[email protected]/posting.go:458 (*PostingsIterator).nextAtOrAfter
    github.com/blugelabs/[email protected]/posting.go:451 (*PostingsIterator).Advance
    /go/pkg/mod/github.com/blugelabs/[email protected]/index/postings.go:100 (*postingsIterator).Advance
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_term.go:97 (*TermSearcher).Advance
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_disjunction_slice.go:199 (*DisjunctionSliceSearcher).Advance
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_disjunction_heap.go:197 (*DisjunctionHeapSearcher).Advance
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_boolean.go:340 (*BooleanSearcher).advanceIfTrailing
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_boolean.go:301 (*BooleanSearcher).Advance
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_conjunction.go:207 (*ConjunctionSearcher).advanceChild
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_conjunction.go:153 (*ConjunctionSearcher).Next
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_boolean.go:81 (*BooleanSearcher).initSearchers
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_boolean.go:156 (*BooleanSearcher).Next
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_conjunction.go:96 (*ConjunctionSearcher).initSearchers
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_conjunction.go:107 (*ConjunctionSearcher).Next
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_boolean.go:81 (*BooleanSearcher).initSearchers
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/searcher/search_boolean.go:156 (*BooleanSearcher).Next
    /go/pkg/mod/github.com/blugelabs/[email protected]/search/collector/all.go:77 (*AllIterator).Next
    /app/nodes/filters/filter.go:85 (*Index).SubscriberIds
    /app/nodes/controllers/subscriber_controller.go:47 (*SubscriberController).Filter
    /app/protos/services/services_grpc.pb.go:116 _Subscribers_Filter_Handler.func1
    /app/interceptors/requestid.go:23 CreateRequestIDInterceptor.func1
    github.com/grpc-ecosystem/[email protected]/chain.go:25 ChainUnaryServer.func1.1.1
    /app/interceptors/stg.go:38 CreateSTGInterceptor.func1
    github.com/grpc-ecosystem/[email protected]/chain.go:25 ChainUnaryServer.func1.1.1
    github.com/grpc-ecosystem/[email protected]/server_metrics.go:107 (*ServerMetrics).UnaryServerInterceptor.func1
    github.com/grpc-ecosystem/[email protected]/chain.go:25 ChainUnaryServer.func1.1.1
    /app/interceptors/bugsnag.go:38 bugsnagConfiguredInterceptor
    github.com/grpc-ecosystem/[email protected]/chain.go:25 ChainUnaryServer.func1.1.1
    go.elastic.co/apm/module/[email protected]/server.go:91 NewUnaryServerInterceptor.func1
    github.com/grpc-ecosystem/[email protected]/chain.go:25 ChainUnaryServer.func1.1.1
    github.com/grpc-ecosystem/[email protected]/chain.go:34 ChainUnaryServer.func1
    /app/protos/services/services_grpc.pb.go:118 _Subscribers_Filter_Handler
    google.golang.org/[email protected]/server.go:1210 (*Server).processUnaryRPC
    google.golang.org/[email protected]/server.go:1533 (*Server).handleStream
    google.golang.org/[email protected]/server.go:871 (*Server).serveStreams.func1.2
    runtime/asm_amd64.s:1373 goexit

I don't have more much to add to this right now, I'll add more content to this ticket as I investigate and gather more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions