Uploaded image for project: 'Red Hat Service Interconnect (Skupper)'
  1. Red Hat Service Interconnect (Skupper)
  2. SKUPPER-2609

Supper CLI: segfault when running skupper status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • 1.8.2
    • CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Customer reports NPE with Skupper CLI:

      $ skupper status
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x530dc5]
       
      goroutine 1 [running]:
      github.com/skupperproject/skupper/pkg/network.(*SkupperStatus).GetRouterIndex(0xc000114838?, 0x0)
              /builddir/build/BUILD/skupper-1.8.2/pkg/network/network.go:126 +0x25
      main.(*SkupperPodmanSite).Status(0xc00043e120, 0xc0003a3d60?, {0xc0003a3d38?, 0x0?, 0x0?})
              /builddir/build/BUILD/skupper-1.8.2/cmd/skupper/skupper_podman_site.go:296 +0x5ca
      github.com/spf13/cobra.(*Command).execute(0xc00042edc0, {0x27b59c0, 0x0, 0x0})
              /builddir/build/BUILD/skupper-1.8.2/vendor/github.com/spf13/cobra/command.go:840 +0x694
      github.com/spf13/cobra.(*Command).ExecuteC(0xc00042e000)
              /builddir/build/BUILD/skupper-1.8.2/vendor/github.com/spf13/cobra/command.go:945 +0x369
      github.com/spf13/cobra.(*Command).Execute(...)
              /builddir/build/BUILD/skupper-1.8.2/vendor/github.com/spf13/cobra/command.go:885
      main.main()
              /builddir/build/BUILD/skupper-1.8.2/cmd/skupper/skupper.go:1187 +0x1a

              nluaces@redhat.com Noe Luaces
              rhn-support-shiggs Stephen Higgs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: