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

[gocbcore.v8] Seeing a segmentation fault within gocbcore during rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • fts
    • Untriaged
    • Unknown

    Description

      Here's the stack trace seen while canceling a PendingOp ...

       panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x15b48e3]
       
       
      goroutine 394 [running]:
      github.com/couchbase/gocbcore.(*Agent).StatsEx.func2(0x0, 0xc00021d6c0, 0x1d60260, 0xc00029c620)
      	/Users/abhinavdangeti/Documents/couchbase/godeps/src/github.com/couchbase/gocbcore/agent_crud.go:1156 +0x53
      github.com/couchbase/gocbcore.(*memdQRequest).Cancel(0xc00021d6c0, 0x1d60260, 0xc00029c620)
      	/Users/abhinavdangeti/Documents/couchbase/godeps/src/github.com/couchbase/gocbcore/memdqpackets.go:228 +0xad
      github.com/couchbase/gocbcore.(*multiPendingOp).Cancel(0xc0015b6060, 0x1d60260, 0xc00029c620)
      	/Users/abhinavdangeti/Documents/couchbase/godeps/src/github.com/couchbase/gocbcore/agent_dispatch.go:45 +0x79
      github.com/couchbase/cbgt.waitForResponse(0xc000ae53e0, 0x0, 0x1d61900, 0xc0015b6060, 0x6fc23ac00, 0x1d618c0, 0x263b918)
      	/Users/abhinavdangeti/Documents/couchbase/goproj/src/github.com/couchbase/cbgt/feed_dcp_gocb.go:85 +0x191
      github.com/couchbase/cbgt.CBPartitionSeqs(0xc0005cf470, 0x4, 0xc0005cf480, 0xd, 0xc0006daea0, 0x20, 0xc0005cf5a8, 0x2, 0x7ffeefbff056, 0x15, ...)
      	/Users/abhinavdangeti/Documents/couchbase/goproj/src/github.com/couchbase/cbgt/gocb_helper.go:192 +0x1fb
      github.com/couchbase/cbft.RunSourcePartitionSeqs(0xc0003ca4e0, 0x0)
      	/Users/abhinavdangeti/Documents/couchbase/goproj/src/github.com/couchbase/cbft/ns_server.go:1008 +0x9f5
      created by github.com/couchbase/cbft.initNsServerCaching.func1
      	/Users/abhinavdangeti/Documents/couchbase/goproj/src/github.com/couchbase/cbft/ns_server.go:914 +0x5a

      Attachments

        Issue Links

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

          Activity

            People

              abhinav Abhi Dangeti
              abhinav Abhi Dangeti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty