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

[FTS] cbft panic cbft/pindex_bleve.go:788 BleveDest/StatsMap()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • cbft
    • None
    • Untriaged
    • Unknown

    Description

      Saw this stack dump while on dev laptop, OSX dev build, while doing things like kill'ing cbft processes...

      2016/03/11 13:57:38 http: panic serving 127.0.0.1:64012: runtime error: invalid memory address or nil pointer dereference
      goroutine 195 [running]:
      net/http.(*conn).serve.func1(0xc820b14b00)
      /Users/steveyen/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/http/server.go:1389 +0xc1
      panic(0x4b860a0, 0xc8200140f0)
      /Users/steveyen/.cbdepscache/exploded/x86_64/go-1.6/go/src/runtime/panic.go:426 +0x4e9
      github.com/couchbase/cbft.(*BleveDest).StatsMap(0xc8202f05a0, 0xc8208f7d70, 0x0, 0x0)
      /Users/steveyen/work/membase/dev/couchbase-server.watson/goproj/src/github.com/couchbase/cbft/pindex_bleve.go:788 +0x10d
      github.com/couchbase/cbft.addPIndexStats(0xc8200def00, 0xc8208ef380, 0x0, 0x0)
      /Users/steveyen/work/membase/dev/couchbase-server.watson/goproj/src/github.com/couchbase/cbft/ns_server.go:361 +0x9b
      github.com/couchbase/cbft.(*NsStatsHandler).ServeHTTP(0xc8200328d8, 0x5dcee08, 0xc821d948f0, 0xc820cae000)
      /Users/steveyen/work/membase/dev/couchbase-server.watson/goproj/src/github.com/couchbase/cbft/ns_server.go:253 +0x1512
      github.com/gorilla/mux.(*Router).ServeHTTP(0xc82000e5f0, 0x5dcee08, 0xc821d948f0, 0xc820cae000)
      /Users/steveyen/work/membase/dev/couchbase-server.watson/godeps/src/github.com/gorilla/mux/mux.go:98 +0x29e
      net/http.(*ServeMux).ServeHTTP(0xc82006ad80, 0x5dcee08, 0xc821d948f0, 0xc820cae000)
      /Users/steveyen/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/http/server.go:1910 +0x17d
      net/http.serverHandler.ServeHTTP(0xc8201e2500, 0x5dcee08, 0xc821d948f0, 0xc820cae000)
      /Users/steveyen/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/http/server.go:2081 +0x19e
      net/http.(*conn).serve(0xc820b14b00)
      /Users/steveyen/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/http/server.go:1472 +0xf2e
      created by net/http.(*Server).Serve
      /Users/steveyen/.cbdepscache/exploded/x86_64/go-1.6/go/src/net/http/server.go:2137 +0x44e

      Attachments

        For Gerrit Dashboard: MB-18672
        # Subject Branch Project Status CR V

        Activity

          People

            steve Steve Yen
            steve Steve Yen
            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