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

[Upgrade] : Service 'n1ql' is exiting with status 2 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x90 pc=0x1b75798]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.6.0
    • 7.6.0
    • query
    • Operating System : Debian GNU/Linux 11 (bullseye)
      Initial Version : Couchbase Enterprise Edition build 7.1.2-3454
      Upgrade Version : Couchbase Enterprise Edition build 7.6.0-2149

    Description

      Steps to reproduce

      1. Created 2 clusters on version 7.1.2-3454
        1. Cluster 1
          1. 172.23.217.78 - kv, index, n1ql
          2. 172.23.217.80 - kv
        2. Cluster 2
          1. 172.23.217.72 - kv, index, n1ql
          2. 172.23.217.74 - kv
      2. Created a bucket named "default" on both clusters
      3. Loaded some data onto it in one of the clusters
      4. Created a remote cluster reference and started replication
      5. Upgraded both clusters using offline upgrade methods
      6. Post upgrade - Observing query panics

      2024-02-19T00:11:43.724-08:00, ns_log:0:info:message(ns_1@172.23.217.78) - Service 'n1ql' exited with status 2. Restarting. Messages:[signal SIGSEGV: segmentation violation code=0x1 addr=0x90 pc=0x1b75798]
      goroutine 286 [running]:github.com/couchbase/query/datastore.GetDurableQueryContextFor({0x0?, 0x0?})     /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query/datastore/context.go:291 +0x18github.com/couchbase/query-ee/dictionary.checkMigrations()     /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query-ee/dictionary/migration.go:824 +0x148github.com/couchbase/query-ee/dictionary.retryMigration()     /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query-ee/dictionary/migration.go:208 +0x37github.com/couchbase/query-ee/dictionary.checkRetryMigration()     /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query-ee/dictionary/migration.go:199 +0x26acreated by github.com/couchbase/query-ee/dictionary.Migrate in goroutine 1     /home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/query-ee/dictionary/migration.go:145 +0x25a
       


       

      Testrunner script to reproduce

      ./testrunner -i /data/workspace/debian-p0-xdcr-vset00-00-upgrade_collections/testexec.95684.ini -p upgrade_version=7.6.0-2149,stop-on-failure=False,skip_cleanup=False,skip_init_check_cbserver=true,groups=simple,gsi_type=memory_optimized,upgrade_test=True,dgm_run=True,get-cbcollect-info=True,sirius_url=http://172.23.120.103:4000 -t upgrade.xdcr_upgrade_collections.XDCRUpgradeCollectionsTests.test_xdcr_upgrade_with_services,initial_version=7.1.2-3454,nodes_init=4,enable_migration=True,skip_security_scan=True,GROUP=7_1;7_1_2

      Job name : debian-xdcr-upgrade_collections

      Job ref : http://cb-logs-qe.s3-website-us-west-2.amazonaws.com/7.6.0-2149/jenkins_logs/test_suite_executor/681777/

      Attachments

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

        Activity

          People

            raghav.sk Raghav S K
            raghav.sk Raghav S K
            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