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

Unexpected panic at the postings list level

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 7.6.3
    • 7.1.3
    • fts
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      As part of CBSE-13829, there was a panic observed at the postings list level

      invalid memory address or nil pointer dereference
       
      goroutine 266940 [running]:
      github.com/blevesearch/bleve/v2/index/scorch.(*IndexSnapshotTermFieldReader).Count.func1()
      	/home/couchbase/jenkins/workspace/toy-unix-simple/godeps/src/github.com/blevesearch/bleve/index/scorch/snapshot_index_tfr.go:181 +0x85
      panic({0xf47c00, 0x1e2e650})
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.18.7/go/src/runtime/panic.go:838 +0x207
      github.com/RoaringBitmap/roaring.(*Bitmap).GetCardinality(...)
      	/home/couchbase/.cbdepscache/gomodcache/pkg/mod/github.com/!roaring!bitmap/roaring@v0.9.4/roaring.go:667
      github.com/blevesearch/zapx/v15.(*PostingsList).Count(0xc00f171680?)
      	/home/couchbase/jenkins/workspace/toy-unix-simple/godeps/src/github.com/blevesearch/zapx/posting.go:240 +0xd4
      github.com/blevesearch/bleve/v2/index/scorch.(*IndexSnapshotTermFieldReader).Count(0xc01c9a0d60?)
      	/home/couchbase/jenkins/workspace/toy-unix-simple/godeps/src/github.com/blevesearch/bleve/index/scorch/snapshot_index_tfr.go:191 +0xe3
      

      there was some amount of investigation done on this panic as part of MB-56226, however a concrete root cause was yet to be determined due to the intermittent nature of the panic that happens in a highly improbable scenario.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mohd.shaadkhan Shaad Khan
            thejas.orkombu Thejas Orkombu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty