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

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

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Build: 7.0.0-5244

      Create a cluster with fts service.

      Seeing below panic and crash repeatedly.

      2021-05-28T10:34:35.752-07:00 [INFO] ctl: run, kind: nodeDefs-wanted, updated memberNodes: {4f0d187c588a704e10941518fc4ea9f9;}
      2021-05-28T10:34:35.753-07:00 [INFO] ctl/manager: GetTaskList, haveTasksRev: , changed, rv: &{Rev:[48] Tasks:[]}
      2021-05-28T10:34:35.754-07:00 [INFO] ctl/manager: GetCurrentTopology, haveTopologyRev: , changed, rv: &{Rev:[53] Nodes:[4f0d187c588a704e10941518fc4ea9f9] IsBalanced:true Messages:[]}
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xe14c05]
       
      goroutine 198 [running]:
      github.com/couchbase/cbft.refreshMetaFieldValCache(0x0)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/cbft/collection_utils.go:59 +0x45
      github.com/couchbase/cbft.RunRecentInfoCache(0xc000414700)
              /home/couchbase/jenkins/workspace/couchbase-server-unix/cbft/ns_server.go:1234 +0x1cd
      created by github.com/couchbase/cbft.initNsServerCaching.func1
              /home/couchbase/jenkins/workspace/couchbase-server-unix/cbft/ns_server.go:1007 +0x7c
      2021-05-28T10:34:41.247-07:00 [INFO] main: /opt/couchbase/bin/cbft started (v0.6.0/5.5.0)
      
      

      Logs: https://cb-jira.s3.us-east-2.amazonaws.com/logs/crash/collectinfo-2021-05-28T182833-ns_1%40cb.local.zip

      Seems regression from the commit: https://github.com/couchbase/cbft/commit/34c1560a4acd377d94b605a73f1335a0a602d826

      Attachments

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

        Activity

          People

            girish.benakappa Girish Benakappa
            girish.benakappa Girish Benakappa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty