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

panic: runtime error: integer divide by zero in query.log

    XMLWordPrintable

Details

    Description

      Build 5.5.0-2084. One of our daily performance tests triggers panics in cbq-engine.

      Setup:

      • 4 KV nodes, 1 query node, 1 index node
      • 1 bucket
      • Plasma
      • Q2 queries (request_plus)

      panic: runtime error: integer divide by zero
       
      goroutine 1410 [running]:
      panic(0xe1f480, 0x182f120)
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/panic.go:531 +0x1cf fp=0xc4a9ff7ed0 sp=0xc4a9ff7e38
      runtime.panicdivide()
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/panic.go:42 +0x5e fp=0xc4a9ff7ef0 sp=0xc4a9ff7ed0
      github.com/couchbase/go-couchbase.(*connectionPool).connCloser(0xc421eb1e00)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/godeps/src/github.com/couchbase/go-couchbase/conn_pool.go:278 +0x2d4 fp=0xc4a9ff7fd8 sp=0xc4a9ff7ef0
      runtime.goexit()
              /home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4a9ff7fe0 sp=0xc4a9ff7fd8
      created by github.com/couchbase/go-couchbase.newConnectionPool
              /home/couchbase/jenkins/workspace/couchbase-server-unix/godeps/src/github.com/couchbase/go-couchbase/conn_pool.go:64 +0x1ac
      
      

      if len(cp.connections) <= cp.poolSize ||
      	ConnCloserInterval/time.Duration(cp.connCount-connCount) > ConnPoolAvailWaitTime {
      	continue
      }
      

      Attachments

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

        Activity

          People

            marco.greco Marco Greco (Inactive)
            pavelpaulau Pavel Paulau (Inactive)
            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