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

Goroutine leak in tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.4.2
    • None
    • None
    • None
    • 1

    Description

      2018/08/28 09:18:13 Log Messages Emitted:

      2018/08/28 09:18:13   (error): 0

      2018/08/28 09:18:13   (warn): 0

      2018/08/28 09:18:13   (info): 0

      2018/08/28 09:18:13   (debug): 687

      2018/08/28 09:18:13   (trace): 0

      2018/08/28 09:18:13   (sched): 629

      2018/08/28 09:18:13 Detected a goroutine leak (1 before != 3 after), failing

      goroutine profile: total 3

      1 @ 0x105c2f9 0x105704a 0x105668e 0x10d05f5 0x10d069b 0x10d15b2 0x12557c6 0x1265325 0x127c92a 0x136952b 0x114c810 0x114cbe1 0x136a48b 0x108bf31

      1. 0x105668d internal/poll.runtime_pollWait+0x5d /usr/local/opt/go/libexec/src/runtime/netpoll.go:173
      1. 0x10d05f4 internal/poll.(*pollDesc).wait+0xe4 /usr/local/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:85
      1. 0x10d069a internal/poll.(*pollDesc).waitRead+0x4a /usr/local/opt/go/libexec/src/internal/poll/fd_poll_runtime.go:90
      1. 0x10d15b1 internal/poll.(*FD).Read+0x361 /usr/local/opt/go/libexec/src/internal/poll/fd_unix.go:157
      1. 0x12557c5 net.(*netFD).Read+0x65 /usr/local/opt/go/libexec/src/net/fd_unix.go:202
      1. 0x1265324 net.(*conn).Read+0x84 /usr/local/opt/go/libexec/src/net/net.go:176
      1. 0x136952a net/http.(*persistConn).Read+0x21a /usr/local/opt/go/libexec/src/net/http/transport.go:1453
      1. 0x114c80f bufio.(*Reader).fill+0x19f /usr/local/opt/go/libexec/src/bufio/bufio.go:100
      1. 0x114cbe0 bufio.(*Reader).Peek+0x50 /usr/local/opt/go/libexec/src/bufio/bufio.go:132
      1. 0x136a48a net/http.(*persistConn).readLoop+0x29a /usr/local/opt/go/libexec/src/net/http/transport.go:1601

       

      1 @ 0x105c2f9 0x106dd64 0x136c5d7 0x108bf31

      1. 0x136c5d6 net/http.(*persistConn).writeLoop+0x1a6 /usr/local/opt/go/libexec/src/net/http/transport.go:1822

       

      1 @ 0x11b3ab7 0x11b385a 0x11aee99 0x142f1e8 0x1450de1 0x105bea0 0x108bf31

      1. 0x11b3ab6 runtime/pprof.writeRuntimeProfile+0xb6 /usr/local/opt/goGOCBC-343: Add Analytics endpoint to routing config

      /libexec/src/runtime/pprof/pprof.go:679

      1. 0x11b3859 runtime/pprof.writeGoroutine+0xc9 /usr/local/opt/go/libexec/src/runtime/pprof/pprof.go:641
      1. 0x11aee98 runtime/pprof.(*Profile).WriteTo+0x578 /usr/local/opt/go/libexec/src/runtime/pprof/pprof.go:310
      1. 0x142f1e7 gopkg.in/couchbase/gocbcore%2ev7.TestMain+0xf77 /Users/charlesdixon/dev/go-workspace/src/gopkg.in/couchbase/gocbcore.v7/agent_test.go:998
      1. 0x1450de0 main.main+0x320 _testmain.go:236
      1. 0x105be9f runtime.main+0x1cf /usr/local/opt/go/libexec/src/runtime/proc.go:198

       

      FAIL gopkg.in/couchbase/gocbcore.v7 5.474s

      Attachments

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

        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