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

[FTS] panic: runtime error: invalid memory address or nil pointer dereference [from blevesearch/bleve/index.go:37]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • cbft
    • None

    Description

      Build
      4.5.0-1666

      Another crash in situation similar to MB-18479.

      panic: runtime error: invalid memory address or nil pointer dereference
      [signal 0xb code=0x1 addr=0x0 pc=0x527080]
       
      goroutine 1929 [running]:
      github.com/blevesearch/bleve.(*Batch).Index(0x0, 0xc82259d690, 0xb, 0xd96d80, 0xc822591fb0, 0x0, 0x0)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index.go:37 +0x300
      github.com/couchbase/cbft.(*BleveDestPartition).DataUpdate(0xc820b7d140, 0xc82017fb10, 0x3, 0xc82262201f, 0xb, 0x219, 0x1c, 0xc82262202a, 0x20e, 0x20e, ...)
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbft/pindex_bleve.go:797 +0x190
      github.com/couchbase/cbgt.(*DestForwarder).DataUpdate(0xc8203bfc40, 0xc82017fb10, 0x3, 0xc82262201f, 0xb, 0x219, 0x1c, 0xc82262202a, 0x20e, 0x20e, ...)
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/dest_forwarder.go:57 +0x191
      github.com/couchbase/cbgt.(*DCPFeed).DataUpdate.func1(0x0, 0x0)
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/feed_dcp.go:389 +0x1f5
      github.com/couchbase/cbgt.Timer.func1()
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/misc.go:234 +0x25
      github.com/rcrowley/go-metrics.(*StandardTimer).Time(0xc820a9b860, 0xc82221ff60)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/rcrowley/go-metrics/timer.go:212 +0x3d
      github.com/couchbase/cbgt.Timer(0xc822593240, 0x7f2d16c38b78, 0xc820a9b860, 0x0, 0x0)
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/misc.go:235 +0xa7
      github.com/couchbase/cbgt.(*DCPFeed).DataUpdate(0xc820bae870, 0x3c6, 0xc82262201f, 0xb, 0x219, 0x1c, 0xc8204cb600, 0x0, 0x0)
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/feed_dcp.go:399 +0xdd
      github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker.func3(0xc820d1d260, 0xc82031c900, 0xc821304420, 0xc8217feda0, 0xc820eff530, 0xc820d1d1a0, 0x0)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:958 +0xf32
      created by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:1008 +0x10c1
       
      goroutine 1 [chan receive]:
      main.main()
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbft/cmd/cbft/main.go:240 +0x217f
       
      goroutine 17 [syscall, locked to thread]:
      runtime.goexit()
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/asm_amd64.s:1721 +0x1
       
      goroutine 35 [chan receive]:
      github.com/couchbase/cbgt/cmd.DumpOnSignal(0xc82002b790, 0x1, 0x1)
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/cmd/dump.go:33 +0x9e
      github.com/couchbase/cbgt/cmd.DumpOnSignalForPlatform()
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbgt/cmd/dump.go:27 +0xd8
      created by main.main
      	/home/couchbase/serverjenkins/workspace/watson-unix/goproj/src/github.com/couchbase/cbft/cmd/cbft/main.go:91 +0x6cb
       
      goroutine 3 [select]:
      github.com/blevesearch/bleve/index.AnalysisWorker(0xc820020120, 0xc820020180)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:70 +0x14d
      created by github.com/blevesearch/bleve/index.NewAnalysisQueue
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:62 +0xf2
       
      goroutine 4 [select]:
      github.com/blevesearch/bleve/index.AnalysisWorker(0xc820020120, 0xc820020180)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:70 +0x14d
      created by github.com/blevesearch/bleve/index.NewAnalysisQueue
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:62 +0xf2
       
      goroutine 5 [select]:
      github.com/blevesearch/bleve/index.AnalysisWorker(0xc820020120, 0xc820020180)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:70 +0x14d
      created by github.com/blevesearch/bleve/index.NewAnalysisQueue
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:62 +0xf2
       
      goroutine 6 [select]:
      github.com/blevesearch/bleve/index.AnalysisWorker(0xc820020120, 0xc820020180)
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:70 +0x14d
      created by github.com/blevesearch/bleve/index.NewAnalysisQueue
      	/home/couchbase/serverjenkins/workspace/watson-unix/godeps/src/github.com/blevesearch/bleve/index/analysis.go:62 +0xf2
      
      

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty