Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-777

An operation that fails to send leads to a nil pointer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1
    • 2.0.0
    • None
    • None
    • 1
    • SDK5: Docs, Pathfind Antorized

    Description

      — FAIL: TestCollectionRetry (2.66s)--- FAIL: TestCollectionRetry (2.66s)panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x16652e0]
      goroutine 325 [running]:testing.tRunner.func1(0xc00037ac00) /usr/local/go/src/testing/testing.go:874 +0x69fpanic(0x17902e0, 0x1ccc620) /usr/local/go/src/runtime/panic.go:679 +0x1b2github.com/couchbase/gocb/v2.(*kvOpManager).Wait(0xc0002efc80, 0x0, 0x0, 0x190c6e0, 0xc0002efd40, 0xb, 0x1830024) /Users/charlesdixon/dev/gocbv2/kvopmanager.go:213 +0x900github.com/couchbase/gocb/v2.(*Collection).getDirect(0xc0003dc480, 0x182eed4, 0x4, 0xc0004fd4f0, 0xc00007c400, 0xc0004fd401, 0x27926d0) /Users/charlesdixon/dev/gocbv2/collection_crud.go:285 +0xa3cgithub.com/couchbase/gocb/v2.(*Collection).Get(0xc0003dc480, 0x182eed4, 0x4, 0xc0004fd4f0, 0x1, 0x190c3c0, 0xc0002efbc0) /Users/charlesdixon/dev/gocbv2/collection_crud.go:258 +0xb5github.com/couchbase/gocb/v2.waitForCollection(0xc000276000, 0x183165f, 0xb, 0x1830024, 0x8) /Users/charlesdixon/dev/gocbv2/testcluster_test.go:245 +0x27cgithub.com/couchbase/gocb/v2.TestCollectionRetry(0xc00037ac00) /Users/charlesdixon/dev/gocbv2/collection_crud_test.go:594 +0x436testing.tRunner(0xc00037ac00, 0x1853730) /usr/local/go/src/testing/testing.go:909 +0x19acreated by testing.(*T).Run /usr/local/go/src/testing/testing.go:960 +0x652exit status 2FAIL github.com/couchbase/gocb/v2 4.873s

      Attachments

        For Gerrit Dashboard: GOCBC-777
        # Subject Branch Project Status CR V

        Activity

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            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