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

[XDCR] panic: runtime error: slice bounds out of range

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.5.0
    • master
    • XDCR
    • None
    • 6.5.0 build 2568

    Description

      Encountered panics after GOXDCR.DcpNozzle processData exits

      panic: runtime error: slice bounds out of range
       
      goroutine 163 [running]:
      github.com/couchbase/goxdcr/parts.(*Router).ComposeMCRequest(0xc0001e12d0, 0xc0006361c0, 0xc0006361c4, 0xc000385918, 0xc00029c301)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/router.go:159 +0x3d1
      github.com/couchbase/goxdcr/parts.(*Router).route(0xc0001e12d0, 0xab5ce0, 0xc0006361c0, 0xc000560100, 0xc00062ab18, 0xc00062aaa8)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/router.go:221 +0x100
      github.com/couchbase/goxdcr/parts.(*Router).route-fm(0xab5ce0, 0xc0006361c0, 0xc0002bf758, 0x3, 0xc000032070)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/router.go:109 +0x3e
      github.com/couchbase/goxdcr/connector.(*Router).Forward(0xc0002bf740, 0xab5ce0, 0xc0006361c0, 0x0, 0x0)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/connector/router.go:60 +0xfb
      github.com/couchbase/goxdcr/parts.(*DcpNozzle).processData(0xc00020e1e0, 0x0, 0x0)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/dcp_nozzle.go:849 +0x1623
      created by github.com/couchbase/goxdcr/parts.(*DcpNozzle).Start
              /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/goxdcr/parts/dcp_nozzle.go:560 +0x3e5
      

      Attachments

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

        Activity

          already fixed by http://review.couchbase.org/#/c/105935/
          problem should be gone in latest master

          yu Yu Sui (Inactive) added a comment - already fixed by http://review.couchbase.org/#/c/105935/ problem should be gone in latest master

          People

            yu Yu Sui (Inactive)
            pavithra.mahamani Pavithra Mahamani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty