Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Done
    • None
    • 0.1
    • cluster-monitor
    • None

    Description

      Started examples/containers/multi, and after a few minutes the container crashed with:

      [couchbase-cluster-monitor.sh]2021-11-23T14:02:37.908Z DEBUG (Status Monitor) (API) (Worker) Running checker {"fnName": "nodeSelfChecks", "cluster": "fcdab9a688c2926e1af0d670b07fdb2b"}
      [couchbase-cluster-monitor.sh]fatal error: unexpected signal during runtime execution
      [couchbase-cluster-monitor.sh][signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f2f486e6844]
      [couchbase-cluster-monitor.sh]
      [couchbase-cluster-monitor.sh]runtime stack:
      [couchbase-cluster-monitor.sh]runtime.throw({0xe14ad4, 0x0})
      [couchbase-cluster-monitor.sh]    runtime/panic.go:1198 +0x71
      [couchbase-cluster-monitor.sh]runtime.sigpanic()
      [couchbase-cluster-monitor.sh]    runtime/signal_unix.go:719 +0x396
      [couchbase-cluster-monitor.sh]
      [couchbase-cluster-monitor.sh]goroutine 450 [syscall]:
      [couchbase-cluster-monitor.sh]runtime.cgocall(0x9b44f0, 0xc000290590)
      [couchbase-cluster-monitor.sh]    runtime/cgocall.go:156 +0x5c fp=0xc000290568 sp=0xc000290530 pc=0x4064bc
      [couchbase-cluster-monitor.sh]net._C2func_getaddrinfo(0xc0005cf290, 0x0, 0xc0003b3170, 0xc000206378)
      [couchbase-cluster-monitor.sh]    _cgo_gotypes.go:91 +0x56 fp=0xc000290590 sp=0xc000290568 pc=0x5e74f6
      [couchbase-cluster-monitor.sh]net.cgoLookupIPCNAME.func1({0xc0005cf290, 0xc000034c00, 0x43a1f6}, 0xc00003a4c8, 0xc000290650)
      [couchbase-cluster-monitor.sh]    net/cgo_unix.go:163 +0x9f fp=0xc0002905e8 sp=0xc000290590 pc=0x5e8dbf
      [couchbase-cluster-monitor.sh]net.cgoLookupIPCNAME({0xdf17b7, 0x3}, {0xc00003a4c8, 0x5})
      [couchbase-cluster-monitor.sh]    net/cgo_unix.go:163 +0x16d fp=0xc000290738 sp=0xc0002905e8 pc=0x5e860d
      [couchbase-cluster-monitor.sh]net.cgoIPLookup(0x14596f0, {0xdf17b7, 0xc0005cf280}, {0xc00003a4c8, 0xc0003a6420})
      [couchbase-cluster-monitor.sh]    net/cgo_unix.go:220 +0x3b fp=0xc0002907a8 sp=0xc000290738 pc=0x5e8e7b
      [couchbase-cluster-monitor.sh]net.cgoLookupIP·dwrap·25()
      [couchbase-cluster-monitor.sh]    net/cgo_unix.go:230 +0x36 fp=0xc0002907e0 sp=0xc0002907a8 pc=0x5e92f6
      [couchbase-cluster-monitor.sh]runtime.goexit()
      [couchbase-cluster-monitor.sh]    runtime/asm_amd64.s:1581 +0x1 fp=0xc0002907e8 sp=0xc0002907e0 pc=0x467001
      [couchbase-cluster-monitor.sh]created by net.cgoLookupIP
      [couchbase-cluster-monitor.sh]    net/cgo_unix.go:230 +0x125

      Attachments

        Issue Links

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

          Activity

            Build couchbase-observability-stack-1.0.0-167 contains observability commit c161d7b with commit message:
            CMOS-177 Use `-tags netgo` for cgo builds (#119)

            build-team Couchbase Build Team added a comment - Build couchbase-observability-stack-1.0.0-167 contains observability commit c161d7b with commit message: CMOS-177 Use `-tags netgo` for cgo builds (#119)

            Looks to be a bug in glibc: https://github.com/golang/go/issues/30310#issuecomment-471669125

            The fix might be to use -tags netgo in the static build - we already do for config-svc (though it doesn't use cgo).

            marks.polakovs Marks Polakovs (Inactive) added a comment - Looks to be a bug in glibc: https://github.com/golang/go/issues/30310#issuecomment-471669125 The fix might be to use -tags netgo in the static build - we already do for config-svc (though it doesn't use cgo).

            People

              marks.polakovs Marks Polakovs (Inactive)
              marks.polakovs Marks Polakovs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty