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

Plasma panic: runtime error: invalid memory address or nil pointer dereference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.5.1, 6.5.0
    • storage-engine
    • Untriaged
    • Unknown

    Description

      Indexer stuck in panic-restart loop.

      2019-05-08T10:33:50.835+03:00 [Info] plasmaSlice::doRecovery SliceId 0 IndexInstId 2632960874309126543 PartitionId 0 Recovering from recovery point ..
      2019-05-08T10:33:50.835+03:00 [Info] plasmaSlice::doRecovery SliceId 0 IndexInstId 2632960874309126543 PartitionId 0 Unable to find recovery point. Resetting store ..
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa8d7c1]
       
      goroutine 2176 [running]:
      panic(0xe42560, 0xc420018070)
      /home/couchbase/.cbdepscache/exploded/x86_64/go-1.7.6/go/src/runtime/panic.go:500 +0x1a1
      github.com/couchbase/plasma.(*page).Marshal(0xc424ea3600, 0xc424ea35c0, 0x4, 0xc4244d55e0, 0x1859920, 0xc424ea3600, 0x0, 0x0, 0xf0b480, 0x4173fe, ...)
      goproj/src/github.com/couchbase/plasma/page.go:826 +0x111
      github.com/couchbase/plasma.(*Plasma).Persist(0xc430996800, 0x7fc4e81d2b00, 0xc436e9ee00, 0xc4244d55e0, 0x0, 0x0)
      goproj/src/github.com/couchbase/plasma/persistor.go:139 +0x174
      github.com/couchbase/plasma.(*Plasma).PersistAll2.func1(0x7fc4e81d2b00, 0x0, 0x0, 0xffffffffffffffff, 0x21, 0x21)
      goproj/src/github.com/couchbase/plasma/persistor.go:182 +0x5a
      github.com/couchbase/plasma.(*Plasma).VisitPartition(0xc430996800, 0x0, 0x0, 0xffffffffffffffff, 0xc43d6a9370, 0x0, 0x0)
      goproj/src/github.com/couchbase/plasma/page_visitor.go:64 +0x1ef
      github.com/couchbase/plasma.(*Plasma).PageVisitor.func1(0xc43d6a9380, 0xc43d6a9390, 0x1, 0x1, 0xc430996800, 0xc43d6a9370, 0x0, 0x0, 0xffffffffffffffff)
      goproj/src/github.com/couchbase/plasma/page_visitor.go:40 +0x89
      created by github.com/couchbase/plasma.(*Plasma).PageVisitor
      goproj/src/github.com/couchbase/plasma/page_visitor.go:41 +0x1ae
      [goport(/opt/couchbase/bin/indexer)] 2019/05/08 10:33:51 child process exited with status 2
      2019-05-08T10:33:51.940+03:00 [Info] Indexer started with command line: [/opt/couchbase/bin/indexer -vbuckets=1024 -cluster=127.0.0.1:8091 -adminPort=9100 -scanPort=9101 -httpPort=9102 -streamInitPort=9103 -streamCatchupPort=9104 -streamMaintPort=9105 -storageDir=/opt/couchbase/var/lib/couchbase/data/@2i -diagDir=/opt/couchbase/var/lib/couchbase/crash -nodeUUID=4461365df22537f7714f1ab40b76a02e -ipv6=false -isEnterprise=true --httpsPort=19102 --certFile=/opt/couchbase/var/lib/couchbase/config/memcached-cert.pem --keyFile=/opt/couchbase/var/lib/couchbase/config/memcached-key.pem]
      
      

      Reported in the following forum post:

      https://forums.couchbase.com/t/why-is-my-couchbase-indexer-failing/21295

      Note: there may have been possibility of disk getting full.

      As reported in forum: Enterprise Edition 6.0.1 build 2037

      Attachments

        Issue Links

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

          Activity

            People

              Dmitriy.Kalugin-Balashov Dmitriy Kalugin-Balashov
              amit.kulkarni Amit Kulkarni
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty