Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2295

[go] Go 1.15.3 failure in macOS CI; panic: can't call pointer on a non-pointer Value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.33.0
    • go-binding
    • Patch

    Description

      https://github.com/apache/qpid-proton/runs/1360866596#step:13:2474

      28: goroutine 9 [running]:
      28: reflect.Value.pointer(...)
      28: 	/usr/local/Cellar/go/1.15.3/libexec/src/reflect/value.go:95
      28: reflect.Value.Pointer(0x4165a00, 0x4f054b0, 0x16, 0xb)
      28: 	/usr/local/Cellar/go/1.15.3/libexec/src/reflect/value.go:1456 +0x1b6
      28: fmt.(*pp).fmtPointer(0xc0000731e0, 0x4165a00, 0x4f054b0, 0x16, 0x70)
      28: 	/usr/local/Cellar/go/1.15.3/libexec/src/fmt/print.go:506 +0x65
      28: fmt.(*pp).printArg(0xc0000731e0, 0x4165a00, 0x4f054b0, 0xc000000070)
      28: 	/usr/local/Cellar/go/1.15.3/libexec/src/fmt/print.go:659 +0x168
      28: fmt.(*pp).doPrintf(0xc0000731e0, 0x41a591c, 0xd, 0xc000223df0, 0x1, 0x1)
      28: 	/usr/local/Cellar/go/1.15.3/libexec/src/fmt/print.go:1030 +0x168
      28: fmt.Sprintf(0x41a591c, 0xd, 0xc000223df0, 0x1, 0x1, 0x4f054b0, 0x0)
      28: 	/usr/local/Cellar/go/1.15.3/libexec/src/fmt/print.go:219 +0x66
      28: github.com/apache/qpid-proton/go/pkg/proton.Session.String(...)
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/proton/wrappers.go:369
      28: github.com/apache/qpid-proton/go/pkg/electron.newSession(0xc00011a000, 0x4f054b0, 0x0, 0x0, 0x0, 0xc000223f00)
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/electron/session.go:64 +0xac
      28: github.com/apache/qpid-proton/go/pkg/electron.(*connection).Session.func1(0x2, 0x2)
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/electron/connection.go:272 +0x1bf
      28: github.com/apache/qpid-proton/go/pkg/proton.(*Engine).InjectWait.func1()
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/proton/engine.go:208 +0x32
      28: github.com/apache/qpid-proton/go/pkg/proton.(*Engine).Run(0xc00010a120, 0x0, 0x0)
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/proton/engine.go:376 +0x19a
      28: github.com/apache/qpid-proton/go/pkg/electron.(*connection).run(0xc00011a000)
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/electron/connection.go:241 +0x3f
      28: created by github.com/apache/qpid-proton/go/pkg/electron.NewConnection
      28: 	/Users/runner/work/qpid-proton/qpid-proton/BLD/go/pkg/electron/connection.go:224 +0x405
      28: panic: can't call pointer on a non-pointer Value
      

      This appears to be a bug in Go 1.15.3; versions 1.15.2 and 1.15.4 do not exhibit this failure. https://github.com/golang/go/issues/42032

      Attachments

        Activity

          People

            jdanek Jiri Daněk
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: