Details

    • Technical task
    • Resolution: Fixed
    • Major
    • None
    • None
    • cbgt, fts

    Description

      When running integration tests using GocbDCPFeed, hit the following panic:

      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xa657ab]
       
      goroutine 1281 [running]:
      github.com/couchbase/cbgt.(*GocbDCPFeed).initiateStreamEx.func2(0xc0007b0ee0, 0x0, 0x0, 0xc000308000, 0xc0004703a1)
      	/var/jenkins/workspace/sync-gateway-integration-master/godeps/src/github.com/couchbase/cbgt/feed_dcp_gocb.go:388 +0xeb
      created by github.com/couchbase/cbgt.(*GocbDCPFeed).initiateStreamEx
      	/var/jenkins/workspace/sync-gateway-integration-master/godeps/src/github.com/couchbase/cbgt/feed_dcp_gocb.go:380 +0x194
      

      It looks like it's due to a nil op during timeout handling during initiateStreamEx.

      I'm looking into whether the Sync Gateway test suite is failing to close the feed during tear down, but I assume the code shouldn't be panicking in any case.

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty