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

Performance: Panic invalid memory address or nil pointer dereference

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 7.0.2
    • 7.0.2
    • eventing

    Description

      Build: 7.0.2-6643 not seen 7.0.2-6611

      Many tests failed with the following panic service not being found

       2021-09-05T12:57:17.858-07:00 [Info] ServiceMgr::initService Admin HTTP server started: :8096
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc05862]
       
       
      goroutine 64 [running]:
      net/http.(*Server).setupHTTP2_Serve(0x0, 0xc0006263f0, 0xc00001bc50)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:3145 +0x22
      net/http.(*Server).Serve(0x0, 0x162f1e0, 0xc00068a180, 0x0, 0x0)
      	/home/couchbase/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/net/http/server.go:2875 +0x14d
      github.com/couchbase/eventing/service_manager.(*ServiceMgr).initService.func4(0xc000519060, 0x149ed59, 0x17, 0xc00054c800, 0xc0004eda40, 0x6, 0xc000504600)
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/service_manager/manager.go:422 +0x432
      created by github.com/couchbase/eventing/service_manager.(*ServiceMgr).initService
      	/home/couchbase/jenkins/workspace/couchbase-server-unix/goproj/src/github.com/couchbase/eventing/service_manager/manager.go:382 +0x2c07
      

      [ns_server:error,2021-09-05T12:57:22.328-07:00,ns_1@172.23.97.177:service_status_keeper_worker<0.5034.0>:rest_utils:get_json:57]Request to (eventing) api/v1/functions with headers [] failed: {error,
                                                                      {econnrefused,
                                                                       [{lhttpc_client,
                                                                         send_request,
                                                                         1,
                                                                         [{file,
                                                                           "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/lhttpc/lhttpc_client.erl"},
                                                                          {line,
                                                                           220}]},
                                                                        {lhttpc_client,
                                                                         execute,9,
                                                                         [{file,
                                                                           "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/lhttpc/lhttpc_client.erl"},
                                                                          {line,
                                                                           169}]},
                                                                        {lhttpc_client,
                                                                         request,9,
                                                                         [{file,
                                                                           "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/lhttpc/lhttpc_client.erl"},
                                                                          {line,
                                                                           93}]}]}}
      [ns_server:error,2021-09-05T12:57:22.329-07:00,ns_1@172.23.97.177:service_status_keeper-eventing<0.5041.0>:service_status_keeper:handle_cast:103]Service service_eventing returned incorrect status

      01:27:44 2021-09-05T12:57:45 [WARNING] Retrying http://172.23.97.177:8096/api/v1/status
      01:27:54 2021-09-05T12:57:55 [WARNING] {
      01:27:54  "name": "ERR_NO_EVENTING_NODES_FOUND",
      01:27:54  "code": 32,
      01:27:54  "description": "No eventing reported from cluster manager",
      01:27:54  "attributes": null,
      01:27:54  "runtime_info": {
      01:27:54   "code": 32,
      01:27:54   "info": null
      01:27:54  }
      01:27:54 } 

      Attachments

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

        Activity

          jeelan.poola Jeelan Poola added a comment -

          Vikas Chaudhary This is a duplicate of MB-48268. Please retest with

          Build couchbase-server-7.0.2-6644 contains eventing commit d8d4891 with commit message:
          MB-48268 : 1. Fix TLS server race condition and 2. Allow HTTP server to
          

          Thank you!

          jeelan.poola Jeelan Poola added a comment - Vikas Chaudhary This is a duplicate of MB-48268 . Please retest with Build couchbase-server-7.0.2-6644 contains eventing commit d8d4891 with commit message: MB-48268 : 1. Fix TLS server race condition and 2. Allow HTTP server to Thank you!

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty