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

[System test] panic: invalid memory address or nil pointer dereference

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      build: 6.5.0-3143

      Test: Longevity

      Day:1 

      Indexer service exiting with status 2, observed panic as well

      Service 'indexer' exited with status 2. Restarting. Messages:
      goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_scatter.go:206 +0x41b
      github.com/couchbase/indexing/secondary/indexer.scanOne(0xc4551dcf00, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0x10b5fd9, 0xb, 0xc4246c8190, 0x1, ...)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_scatter.go:148 +0x11e
      github.com/couchbase/indexing/secondary/indexer.scatter(0xc4551dcf00, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0x10b5fd9, 0xb, 0xc4246c8190, 0x1, ...)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_scatter.go:55 +0xc6
      github.com/couchbase/indexing/secondary/indexer.(*IndexScanSource).Routine(0xc435911650, 0x0, 0x0)
      goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_pipeline.go:336 +0x810
      github.com/couchbase/indexing/secondary/pipeline.(*Pipeline).runIt.func1(0xc4599a1460, 0xc42437a220)
      goproj/src/github.com/couchbase/indexing/secondary/pipeline/pipeline.go:75 +0x45
      created by github.com/couchbase/indexing/secondary/pipeline.(*Pipeline).runIt
      goproj/src/github.com/couchbase/indexing/secondary/pipeline/pipeline.go:80 +0x66
      ns_log 000ns_1@172.23.104.87 3:21:44 AM   Mon May 6, 2019 

      Panic on node .87

      2019-05-06T03:21:44.073-07:00 [Fatal] IndexScanSource - panic detected while processing defnId:9379995420895428891, instId:14382648536232427805, index:default/default_result_ratings_claims_pindex, type:scan, partitions:[3], scans: <ud>([{[400,null] [1000] 3 filterRange [{[{400 1000 3} {null nil 1}] [400,null] [1000] 3 }] <nil>}])</ud>, limit:9223372036854775807, consistency:any_consistency, requestId:e6c61c3e-bcec-4477-84f1-6c22badaf2b4, groupaggr: Groups:  Group:  EntryKeyId 1 KeyPos 1 Expr <ud>(<nil>)</ud> ExprValue <ud>(<nil>)</ud> Aggregates:  Aggregate:  AggrFunc COUNTN EntryKeyId 4 KeyPos 0 Expr <ud>(<nil>)</ud> ExprValue <ud>(<nil>)</ud> Distinct false  Aggregate:  AggrFunc MAX EntryKeyId 5 KeyPos 0 Expr <ud>(<nil>)</ud> ExprValue <ud>(<nil>)</ud> Distinct false  Aggregate:  AggrFunc MIN EntryKeyId 6 KeyPos 0 Expr <ud>(<nil>)</ud> ExprValue <ud>(<nil>)</ud> Distinct false  Aggregate:  AggrFunc SUM EntryKeyId 7 KeyPos 0 Expr <ud>(<nil>)</ud> ExprValue <ud>(<nil>)</ud> Distinct false  DependsOnIndexKeys [0 1] IndexKeyNames [(`default`.`rating`) (`default`.`result`) (`default`.`claim`) (meta(`default`).`id`)] NeedDecode true NeedExplode true IsLeadingGroup false
      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=0x28 pc=0xafed76]
       
       
      goroutine 110589355 [running]:
      panic(0xf3b000, 0xc420016090)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.6/go/src/runtime/panic.go:500 +0x1a1
      github.com/couchbase/indexing/secondary/indexer.(*IndexScanSource).Routine.func1(0xc435911650)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_pipeline.go:133 +0xcf
      panic(0xf3b000, 0xc420016090)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.6/go/src/runtime/panic.go:458 +0x243
      github.com/couchbase/plasma.(*Iterator).Get(0xc42f2301e0, 0x7f67abae9d00)
      	goproj/src/github.com/couchbase/plasma/iterator.go:150 +0x26
      github.com/couchbase/plasma.(*MVCCIterator).Key(0xc424135ea0, 0xc423a777e8, 0xaff03d, 0xc43376a280)
      	goproj/src/github.com/couchbase/plasma/mvcc.go:232 +0x2f
      github.com/couchbase/plasma.(*MVCCIterator).refresh(0xc424135ea0)
      	goproj/src/github.com/couchbase/plasma/mvcc.go:191 +0x2f
      github.com/couchbase/plasma.(*MVCCIterator).refreshIfNecessary(0xc424135ea0)
      	goproj/src/github.com/couchbase/plasma/mvcc.go:208 +0x58
      github.com/couchbase/plasma.(*MVCCIterator).Next(0xc424135ea0, 0x7f, 0x7f)
      	goproj/src/github.com/couchbase/plasma/mvcc.go:216 +0x58
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSnapshot).Iterate(0xc42692ba40, 0x1a63220, 0xc4599a1240, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0x11a2510, 0xc42576f4d0, ...)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:2093 +0x322
      github.com/couchbase/indexing/secondary/indexer.(*plasmaSnapshot).Range(0xc42692ba40, 0x1a63220, 0xc4599a1240, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0xc42576f4d0, 0x1, ...)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/plasma_slice.go:2030 +0xb2
      github.com/couchbase/indexing/secondary/indexer.scanSingleSlice(0xc4551dcf00, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0x10b5fd9, 0xb, 0xc4246c8190, 0x1, ...)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_scatter.go:206 +0x41b
      github.com/couchbase/indexing/secondary/indexer.scanOne(0xc4551dcf00, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0x10b5fd9, 0xb, 0xc4246c8190, 0x1, ...)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_scatter.go:148 +0x11e
      github.com/couchbase/indexing/secondary/indexer.scatter(0xc4551dcf00, 0x1a676c0, 0xc4599a1320, 0x1a676c0, 0xc4599a1360, 0x3, 0x10b5fd9, 0xb, 0xc4246c8190, 0x1, ...)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_scatter.go:55 +0xc6
      github.com/couchbase/indexing/secondary/indexer.(*IndexScanSource).Routine(0xc435911650, 0x0, 0x0)
      	goproj/src/github.com/couchbase/indexing/secondary/indexer/scan_pipeline.go:336 +0x810
      github.com/couchbase/indexing/secondary/pipeline.(*Pipeline).runIt.func1(0xc4599a1460, 0xc42437a220)
      	goproj/src/github.com/couchbase/indexing/secondary/pipeline/pipeline.go:75 +0x45
      created by github.com/couchbase/indexing/secondary/pipeline.(*Pipeline).runIt
      	goproj/src/github.com/couchbase/indexing/secondary/pipeline/pipeline.go:80 +0x66 

       

      Attachments

        Issue Links

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

          Activity

            People

              vikas.chaudhary Vikas Chaudhary
              vikas.chaudhary Vikas Chaudhary
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty