Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1058

goconvey fails with gccgo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2, 3.2.5
    • Component/s: None

      Description

      When using the vendored copy of goconvey, I get the following error against gccgo 4.9.2. This error can be resolved by upgrading the version of goconvey used thanks to help from Kyle Erf

       [2016/01/29 15:56:22.651] panic: runtime error: invalid memory address or nil pointer dereference [recovered]
       [2016/01/29 15:56:22.651] 	panic: runtime error: invalid memory address or nil pointer dereference
       [2016/01/29 15:56:22.651] [signal 0xb code=0x1 addr=0x8]
       [2016/01/29 15:56:22.651] goroutine 20 [running]:
       [2016/01/29 15:56:22.651] testing.$nested5
       [2016/01/29 15:56:22.651] 	../../../src/libgo/go/testing/testing.go:431
       [2016/01/29 15:56:22.651] convey.suiteAnchor
       [2016/01/29 15:56:22.651] 	/data/mci/src/vendor/src/github.com/smartystreets/goconvey/convey/context.go:92
       [2016/01/29 15:56:22.651] github_com_smartystreets_goconvey_convey.current.pN53_github_com_smartystreets_goconvey_convey.suiteContext
       [2016/01/29 15:56:22.651] 	/data/mci/src/vendor/src/github.com/smartystreets/goconvey/convey/context.go:61
       [2016/01/29 15:56:22.651] github_com_smartystreets_goconvey_convey.Run.pN53_github_com_smartystreets_goconvey_convey.suiteContext
       [2016/01/29 15:56:22.651] 	/data/mci/src/vendor/src/github.com/smartystreets/goconvey/convey/context.go:28
       [2016/01/29 15:56:22.651] convey.register
       [2016/01/29 15:56:22.651] 	/data/mci/src/vendor/src/github.com/smartystreets/goconvey/convey/doc.go:89
       [2016/01/29 15:56:22.651] github_com_smartystreets_goconvey_convey.Convey
       [2016/01/29 15:56:22.651] 	/data/mci/src/vendor/src/github.com/smartystreets/goconvey/convey/doc.go:62
       [2016/01/29 15:56:22.651] __data_mci_src_common_bsonutil.TestObjectIdBSONToJSON
       [2016/01/29 15:56:22.652] 	/data/mci/src/common/bsonutil/converter_test.go:18
       [2016/01/29 15:56:22.652] testing.tRunner
       [2016/01/29 15:56:22.652] 	../../../src/libgo/go/testing/testing.go:447
       [2016/01/29 15:56:22.652] created by testing.RunTests
       [2016/01/29 15:56:22.652] 	../../../src/libgo/go/testing/testing.go:555
       [2016/01/29 15:56:22.652] goroutine 16 [chan receive]:
       [2016/01/29 15:56:22.652] testing.RunTests
       [2016/01/29 15:56:22.652] 	../../../src/libgo/go/testing/testing.go:556
       [2016/01/29 15:56:22.652] testing.Run.pN9_testing.M
       [2016/01/29 15:56:22.652] 	../../../src/libgo/go/testing/testing.go:485
       [2016/01/29 15:56:22.652] main.main
       [2016/01/29 15:56:22.652] 	/tmp/go-build215035753/_/data/mci/src/common/bsonutil/_test/_testmain.go:106
       [2016/01/29 15:56:22.652] created by main
       [2016/01/29 15:56:22.652] 	../../../src/libgo/runtime/go-main.c:42
       [2016/01/29 15:56:22.652] goroutine 18 [finalizer wait]:
       [2016/01/29 15:56:22.652] created by runtime_createfing
       [2016/01/29 15:56:22.652] 	../../../src/libgo/runtime/mgc0.c:2572
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.benvenuto Mark Benvenuto
              Reporter:
              mark.benvenuto Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: