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

panic=runtime error: invalid memory address or nil pointer dereference stack=goroutine 8540

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

       

      Test which fails:
      tuqquery.tuq_2i_index.QueriesIndexTests.test_simple_array_index

      Error seen after test finished:
      CBQError: CBQError: host 172.23.106.234: ERROR:{u'status': u'stopped', u'errors': [

      {u'msg': u'Panic: runtime error: invalid memory address or nil pointer dereference - cause: runtime error: invalid memory address or nil pointer dereference', u'code': 5001}

      ], u'results': [], u'metrics':

      {u'elapsedTime': u'35.573109ms', u'executionTime': u'35.450889ms', u'resultSize': 0, u'resultCount': 0, u'errorCount': 1}

      , u'requestID': u'927728ec-9507-4d9e-9423-9a06a4b1ddc0', u'signature': {u'name': u'json'}}

      Error in query log:
      _time=2016-07-05T13:13:30.577-07:00 _level=ERROR _msg= panic=runtime error: invalid memory address or nil pointer dereference stack=goroutine 8540 [running]:
      github.com/couchbase/query/execution.(*Context).Recover(0xc208d0c1e0)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/context.go:341 +0xb5 fp=0xc208569550 sp=0xc2085693d0
      runtime.call16(0x13c1390, 0xc2082b4df0, 0x800000008)
      /usr/local/go/src/runtime/asm_amd64.s:401 +0x45 fp=0xc208569568 sp=0xc208569550
      runtime.gopanic(0xf18b20, 0xc20802a050)
      /usr/local/go/src/runtime/panic.go:387 +0x3a8 fp=0xc2085695d0 sp=0xc208569568
      runtime.panicmem()
      /usr/local/go/src/runtime/panic.go:42 +0x4e fp=0xc2085695f8 sp=0xc2085695d0
      runtime.sigpanic()
      /usr/local/go/src/runtime/sigpanic_unix.go:26 +0x274 fp=0xc208569648 sp=0xc2085695f8
      github.com/couchbase/query/execution.(*PrimaryScan).scanEntries(0xc2083ca000, 0xc208d0c1e0, 0xc208352930)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/scan_primary.go:190 +0x3f4 fp=0xc2085697c8 sp=0xc208569648
      runtime.goexit()
      /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc2085697d0 sp=0xc2085697c8
      created by github.com/couchbase/query/execution.(*PrimaryScan).scanPrimary
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/scan_primary.go:70 +0x14d

      goroutine 8540 [running]:
      github.com/couchbase/query/execution.(*Context).Recover(0xc208d0c1e0)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/context.go:341 +0xb5 fp=0xc208569550 sp=0xc2085693d0
      runtime.call16(0x13c1390, 0xc2082b4df0, 0x800000008)
      /usr/local/go/src/runtime/asm_amd64.s:401 +0x45 fp=0xc208569568 sp=0xc208569550
      runtime.gopanic(0xf18b20, 0xc20802a050)
      /usr/local/go/src/runtime/panic.go:387 +0x3a8 fp=0xc2085695d0 sp=0xc208569568
      runtime.panicmem()
      /usr/local/go/src/runtime/panic.go:42 +0x4e fp=0xc2085695f8 sp=0xc2085695d0
      runtime.sigpanic()
      /usr/local/go/src/runtime/sigpanic_unix.go:26 +0x274 fp=0xc208569648 sp=0xc2085695f8
      github.com/couchbase/query/execution.(*PrimaryScan).scanEntries(0xc2083ca000, 0xc208d0c1e0, 0xc208352930)
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/scan_primary.go:190 +0x3f4 fp=0xc2085697c8 sp=0xc208569648
      runtime.goexit()
      /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc2085697d0 sp=0xc2085697c8
      created by github.com/couchbase/query/execution.(*PrimaryScan).scanPrimary
      /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/execution/scan_primary.go:70 +0x14d
      2016-07-05T13:13:30.641-07:00 [Info] DropIndex 755579409405662061 - elapsed(48.817794ms), err(<nil>)
      _time=2016-07-05T13:13:30.730-07:00 _level=WARN _msg=Finalizing a bucket with active connections.
      2016-07-05T13:13:30.830-07:00 [Info] DropIndex 16922473800539061598 - elapsed(46.668043ms), err(<nil>)
      2016-07-05T13:13:31.255-07:00 [Info] serviceChangeNotifier: received PoolChangeNotification
      2016-07-05T13:13:31.284-07:00 [Info] Refreshing indexer list due to cluster changes or auto-refresh.

      Logs are attached.

      How to run the test?
      python testrunner.py -i test.ini -c conf/tuq/py-tuq-arrayindexing.conf -p gsi_type=forestdb -p array_indexing=True -p primary_indx_type=GSI,doc-per-day=6,nodes_init=4

      Attachments

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

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty