Closed hus787 closed 8 years ago
Does your program use cgo or the unsafe package?
Is there a way that we can recreate the problem ourselves?
CC @aclements
The program doesn't use cgo but it does import a 3rd party library which imports unsafe. Currently we don't make use of any of its functionality which use unsafe.
The problem can't be 100% reproduced but in Gitlab CI it fails quite often and retrying over and over again eventual fixes it i.e. the error doesn't pop-up.
Are you able to try the program with the 1.7 release candidate?
I have added another ci phase to test against 1.7. The very first test seems promising, i.e. the error occurred in 1.6 but not 1.7.
Will get back with more data.
The problem just reoccurred with 1.7 as well.
What is the backtrace with 1.7?
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4551e2]
runtime stack:
runtime.throw(0xac225f, 0x2a)
/usr/local/go/src/runtime/panic.go:566 +0x95
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x2cc
runtime.getArgInfo(0x7faf3b7fda90, 0xc7eb50, 0xc42034a001, 0x20, 0x0)
/usr/local/go/src/runtime/traceback.go:556 +0xd2
runtime.tracebackdefers(0xc4203b51e0, 0xb75708, 0x7faf3b7fdbb8)
/usr/local/go/src/runtime/traceback.go:110 +0x181
runtime.adjustdefers(0xc4203b51e0, 0x7faf3b7fdbb8)
/usr/local/go/src/runtime/stack.go:721 +0x53
runtime.copystack(0xc4203b51e0, 0x4000, 0x1)
/usr/local/go/src/runtime/stack.go:881 +0x1a6
runtime.newstack()
/usr/local/go/src/runtime/stack.go:1070 +0x39c
runtime.morestack()
/usr/local/go/src/runtime/asm_amd64.s:366 +0x7f
goroutine 28 [copystack]:
fmt.(*fmt).fmt_sbx(0xc4201f2400, 0x0, 0x0, 0x0, 0x0, 0x0, 0xab2979, 0x11)
/usr/local/go/src/fmt/format.go:332 fp=0xc420052308 sp=0xc420052300
fmt.(*fmt).fmt_sx(0xc4201f2400, 0x0, 0x0, 0xab2979, 0x11)
/usr/local/go/src/fmt/format.go:399 +0x7c fp=0xc420052358 sp=0xc420052308
fmt.(*pp).fmtString(0xc4201f23c0, 0x0, 0x0, 0xc400000078)
/usr/local/go/src/fmt/print.go:435 +0x149 fp=0xc420052390 sp=0xc420052358
fmt.(*pp).printArg(0xc4201f23c0, 0xa02f80, 0xc4203441c0, 0x78)
/usr/local/go/src/fmt/print.go:658 +0xb47 fp=0xc420052488 sp=0xc420052390
fmt.(*pp).doPrintf(0xc4201f23c0, 0xab2c65, 0x11, 0xc420052650, 0x1, 0x1)
/usr/local/go/src/fmt/print.go:985 +0x1d2d fp=0xc4200525a8 sp=0xc420052488
fmt.Sprintf(0xab2c65, 0x11, 0xc420052650, 0x1, 0x1, 0x7faf42c8cbd0, 0x100000000000044)
/usr/local/go/src/fmt/print.go:196 +0x78 fp=0xc420052600 sp=0xc4200525a8
labix.org/v2/mgo/bson.ObjectId.String(0x0, 0x0, 0x45bbb0, 0xc4200526d0)
/builds/smarp/backend/src/labix.org/v2/mgo/bson/bson.go:254 +0xec fp=0xc420052680 sp=0xc420052600
labix.org/v2/mgo/bson.(*ObjectId).String(0xc420344140, 0xb74ca0, 0xc4201f2300)
<autogenerated>:2 +0x77 fp=0xc4200526d0 sp=0xc420052680
fmt.(*pp).handleMethods(0xc4201f2300, 0x76, 0x1)
/usr/local/go/src/fmt/print.go:590 +0x481 fp=0xc420052788 sp=0xc4200526d0
fmt.(*pp).printArg(0xc4201f2300, 0xa6da00, 0xc420344140, 0xc400000076)
/usr/local/go/src/fmt/print.go:665 +0x125 fp=0xc420052880 sp=0xc420052788
fmt.(*pp).doPrint(0xc4201f2300, 0xc420052a20, 0x1, 0x1)
/usr/local/go/src/fmt/print.go:1113 +0xe4 fp=0xc420052928 sp=0xc420052880
fmt.Fprint(0xda1d40, 0xc4203b6000, 0xc420052a20, 0x1, 0x1, 0x0, 0xc4200529e0, 0xc420052a60)
/usr/local/go/src/fmt/print.go:215 +0x6a fp=0xc420052990 sp=0xc420052928
github.com/Sirupsen/logrus.(*TextFormatter).appendKeyValue(0xc4200cb520, 0xc4203b6000, 0xaac432, 0x8, 0xa6da00, 0xc420344140)
/builds/smarp/backend/src/github.com/Sirupsen/logrus/text_formatter.go:157 +0x135 fp=0xc420052a70 sp=0xc420052990
github.com/Sirupsen/logrus.(*TextFormatter).Format(0xc4200cb520, 0xc420456180, 0xec2f80, 0xc420092bd0, 0xc420052c8f, 0xec2f80, 0x20000c420052cc0)
/builds/smarp/backend/src/github.com/Sirupsen/logrus/text_formatter.go:91 +0x6e3 fp=0xc420052c58 sp=0xc420052a70
github.com/Sirupsen/logrus.(*Entry).Reader(0xc420456180, 0x2, 0xc420456180, 0x0)
/builds/smarp/backend/src/github.com/Sirupsen/logrus/entry.go:44 +0x74 fp=0xc420052cd0 sp=0xc420052c58
github.com/Sirupsen/logrus.Entry.log(0xc42001d380, 0xc42048c6f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa02f02, 0xc42034e260, ...)
/builds/smarp/backend/src/github.com/Sirupsen/logrus/entry.go:94 +0x1f7 fp=0xc420052dc0 sp=0xc420052cd0
github.com/Sirupsen/logrus.(*Entry).Error(0xc4204560c0, 0xc420052f48, 0x1, 0x1)
/builds/smarp/backend/src/github.com/Sirupsen/logrus/entry.go:145 +0x107 fp=0xc420052e38 sp=0xc420052dc0
smarpshare/comment/controller.glob..func1(0xc420344070, 0xc4201ce098)
/builds/smarp/backend/src/smarpshare/comment/controller/comment.go:71 +0xbf5 fp=0xc420053100 sp=0xc420052e38
smarpshare/comment/controller.glob..func12.5()
/builds/smarp/backend/src/smarpshare/comment/controller/AddComment_test.go:74 +0x44d fp=0xc4200532b8 sp=0xc420053100
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4201c91a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/leafnodes/runner.go:104 +0xad fp=0xc4200532f0 sp=0xc4200532b8
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc4201c91a0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/leafnodes/runner.go:63 +0x142 fp=0xc4200535a0 sp=0xc4200532f0
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc4201cb020, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/leafnodes/it_node.go:25 +0x89 fp=0xc420053748 sp=0xc4200535a0
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc4201d7980, 0x0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/spec/spec.go:159 +0x45a fp=0xc4200539c8 sp=0xc420053748
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc4201d7980)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/spec/spec.go:114 +0xf3 fp=0xc420053b10 sp=0xc4200539c8
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc4201d8480, 0xb74f01)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:113 +0x30c fp=0xc420053b78 sp=0xc420053b10
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc4201d8480, 0x1a)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:55 +0xe0 fp=0xc420053ba8 sp=0xc420053b78
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc42015ee10, 0x7faf42c8a320, 0xc4201f3bc0, 0xab8c08, 0x1a, 0xc420157cb0, 0x1, 0x1, 0xda5580, 0xc420232000, ...)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/suite/suite.go:57 +0x345 fp=0xc420053cf8 sp=0xc420053ba8
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0xda3580, 0xc4201f3bc0, 0xab8c08, 0x1a, 0xc420053ef8, 0x1, 0x1, 0x0)
/builds/smarp/backend/src/github.com/onsi/ginkgo/ginkgo_dsl.go:203 +0x360 fp=0xc420053e50 sp=0xc420053cf8
github.com/onsi/ginkgo.RunSpecs(0xda3580, 0xc4201f3bc0, 0xab8c08, 0x1a, 0xea5720)
/builds/smarp/backend/src/github.com/onsi/ginkgo/ginkgo_dsl.go:184 +0x288 fp=0xc420053f18 sp=0xc420053e50
smarpshare/comment/controller.TestCommentController(0xc4201f3bc0)
/builds/smarp/backend/src/smarpshare/comment/controller/init_test.go:13 +0x89 fp=0xc420053f50 sp=0xc420053f18
testing.tRunner(0xc4201f3bc0, 0xb75bb0)
/usr/local/go/src/testing/testing.go:610 +0xca fp=0xc420053f90 sp=0xc420053f50
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420053f98 sp=0xc420053f90
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x530
goroutine 1 [chan receive]:
testing.(*T).Run(0xc4201f3b00, 0xab5ced, 0x15, 0xb75bb0, 0x4c7bc3)
/usr/local/go/src/testing/testing.go:647 +0x56e
testing.RunTests.func1(0xc4201f3b00)
/usr/local/go/src/testing/testing.go:793 +0xba
testing.tRunner(0xc4201f3b00, 0xc420051db8)
/usr/local/go/src/testing/testing.go:610 +0xca
testing.RunTests(0xb752b0, 0xe744e0, 0x1, 0x1, 0x1c)
/usr/local/go/src/testing/testing.go:799 +0x4b6
testing.(*M).Run(0xc420051ef0, 0xc400000000)
/usr/local/go/src/testing/testing.go:743 +0x130
main.main()
smarpshare/comment/controller/_test/_testmain.go:54 +0x1b5
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1
goroutine 6 [select]:
smarpshare/util.init.1.func3(0xb75d78, 0xc4200cba00)
/builds/smarp/backend/src/smarpshare/util/sendmail.go:162 +0x2c7
created by smarpshare/util.init.1
/builds/smarp/backend/src/smarpshare/util/sendmail.go:176 +0x274
goroutine 7 [select]:
smarpshare/model/db.DeferInit.func1(0xaaadb4, 0x7, 0xc420018c00)
/builds/smarp/backend/src/smarpshare/model/db/defer.go:21 +0x69c
created by smarpshare/model/db.DeferInit
/builds/smarp/backend/src/smarpshare/model/db/defer.go:45 +0x25e
goroutine 8 [select]:
smarpshare/model/db.DeferInit.func1(0xaaadbb, 0x7, 0xc420018c60)
/builds/smarp/backend/src/smarpshare/model/db/defer.go:21 +0x69c
created by smarpshare/model/db.DeferInit
/builds/smarp/backend/src/smarpshare/model/db/defer.go:45 +0x25e
goroutine 9 [select]:
smarpshare/model/db.DeferInit.func1(0xaa9d9f, 0x6, 0xc420018d80)
/builds/smarp/backend/src/smarpshare/model/db/defer.go:21 +0x69c
created by smarpshare/model/db.DeferInit
/builds/smarp/backend/src/smarpshare/model/db/defer.go:45 +0x25e
goroutine 24 [select]:
smarpshare/model/db.DeferInit.func1(0xaac18a, 0x8, 0xc4201c8300)
/builds/smarp/backend/src/smarpshare/model/db/defer.go:21 +0x69c
created by smarpshare/model/db.DeferInit
/builds/smarp/backend/src/smarpshare/model/db/defer.go:45 +0x25e
goroutine 11 [chan receive]:
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).registerForInterrupts(0xc4201d8480)
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:145 +0x109
created by github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run
/builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:50 +0x5f
goroutine 25 [select]:
smarpshare/model/db.DeferInit.func1(0xaa7feb, 0x4, 0xc4201c8360)
/builds/smarp/backend/src/smarpshare/model/db/defer.go:21 +0x69c
created by smarpshare/model/db.DeferInit
/builds/smarp/backend/src/smarpshare/model/db/defer.go:45 +0x25e
goroutine 26 [select]:
smarpshare/model/db.DeferInit.func1(0xaa7f47, 0x4, 0xc4201c84e0)
/builds/smarp/backend/src/smarpshare/model/db/defer.go:21 +0x69c
created by smarpshare/model/db.DeferInit
/builds/smarp/backend/src/smarpshare/model/db/defer.go:45 +0x25e
goroutine 27 [syscall]:
os/signal.signal_recv(0x465271)
/usr/local/go/src/runtime/sigqueue.go:116 +0x157
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x30
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x4f
goroutine 60 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc4202333b0, 0xc42034f100, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 110 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc4202338c0, 0xc42034f3e0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 78 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc420019680, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 52 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233260, 0xc42034f0c0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 56 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233350, 0xc42034f0e0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 29 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420019440, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 55 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420019560, 0xc420233320)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 53 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420019560, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 64 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc4202333e0, 0x0, 0x0, 0x0)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 77 [chan send]:
github.com/smarp/funcmock.(*call).getParams.func1(0xc420233410, 0xc4202e7f40, 0x3, 0x4)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:57 +0x85
created by github.com/smarp/funcmock.(*call).getParams
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:57 +0x104
goroutine 41 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4200302d8)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 42 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4200302d8)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 71 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4200198c0, 0xc420233440)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 72 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233470, 0xc420344fb0, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 45 [select, locked to thread]:
runtime.gopark(0xb75a78, 0x0, 0xaaa8eb, 0x6, 0x18, 0x2)
/usr/local/go/src/runtime/proc.go:259 +0xfd
runtime.selectgoImpl(0xc42042e730, 0xc42042e71c, 0x0)
/usr/local/go/src/runtime/select.go:423 +0x1303
runtime.selectgo(0xc42042e730)
/usr/local/go/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal1_unix.go:304 +0x28c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1
goroutine 31 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420019440, 0xc420233140)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 32 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233200, 0xc420344f10, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 33 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420019320, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 51 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420019320, 0xc4202331d0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 59 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4200190e0, 0xc420233170)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 63 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420019680, 0xc4202332f0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 69 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4200198c0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 73 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc4200190e0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 74 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc420019200, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 76 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420019200, 0xc4202331a0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 98 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc4202337a0, 0xc420345200, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 91 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce490)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 92 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce490)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 114 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420452480, 0xc42041acc0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 102 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233800, 0xc42034f3a0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 106 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233860, 0xc42034f3c0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 127 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233a10, 0xc42034f480, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 112 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420452480, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 115 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc4202338f0, 0xc4203452b0, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 116 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420452360, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 118 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420452360, 0xc42041ac60)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 119 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233950, 0xc42034f440, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 120 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204525a0, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 122 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204525a0, 0xc42041acf0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 123 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc4202339b0, 0xc42034f460, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 124 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420452120, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 126 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420452120, 0xc42041ac90)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 130 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204526c0, 0xc42041ad20)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 131 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233a40, 0x0, 0x0, 0x0)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 132 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420452240, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 134 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420452240, 0xc42041ac30)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 135 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233a70, 0xc420456240, 0x3, 0x4)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 136 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420452900, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 138 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420452900, 0xc42041ad80)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 139 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc420233aa0, 0xc420345350, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 140 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc4204526c0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 224 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204a4060, 0xc42041a030)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 228 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204a44e0, 0xc42048c390)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 143 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce4c0)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 144 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce4c0)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 230 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204a4180, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 232 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204a4180, 0xc42048c5a0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 149 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce4d8)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 216 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204a42a0, 0xc42041a000)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 151 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce4e0)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 152 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce4e0)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 153 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce4e8)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 154 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce4e8)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 155 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204530e0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 157 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204530e0, 0xc42041ae10)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 158 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c060, 0xc420345830, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 159 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc420453200, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 229 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c630, 0x0, 0x0, 0x0)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 161 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420453200, 0xc42041ae40)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 162 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c0c0, 0xc42034f6c0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 214 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204a42a0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 222 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204a4060, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 165 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420452ea0, 0xc42041adb0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 166 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c120, 0xc42034f6e0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 167 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc420453320, 0x0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 168 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc420452ea0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 169 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce4f8)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 220 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204a43c0, 0xc42048c360)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 171 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce500)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 172 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce500)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 212 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce070)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 213 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce070)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 210 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce050)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 211 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce050)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 177 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce518)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 221 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c510, 0xc42034e1e0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 179 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce520)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 180 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce520)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 181 [chan send]:
github.com/smarp/funcmock.Mock.func1(0xc4201ce528)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xb5
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x244
goroutine 182 [chan send]:
github.com/smarp/funcmock.Mock.func2(0xc4201ce528)
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x89
created by github.com/smarp/funcmock.Mock
/builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x269
goroutine 183 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204539e0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 185 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc4204539e0, 0xc42041af60)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 186 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c420, 0xc420345a60, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 189 [chan send]:
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc420453b00, 0xc42041af90)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x6f
created by github.com/smarp/funcmock.(*MockController).addCallAt
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xe5
goroutine 190 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c480, 0xc42034f8e0, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 191 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc420453b00, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 192 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc420453c20, 0x0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 193 [chan send]:
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc4204537a0, 0x0)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x6f
created by github.com/smarp/funcmock.(*MockController).CallCount
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f
goroutine 225 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c600, 0xc42034e200, 0x2, 0x2)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 226 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204a44e0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 233 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c660, 0xc420456080, 0x3, 0x4)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
goroutine 218 [chan send]:
github.com/smarp/funcmock.(*MockController).incrementCounter.func1(0xc4204a43c0, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0x6f
created by github.com/smarp/funcmock.(*MockController).incrementCounter
/builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:52 +0xa2
goroutine 217 [chan send]:
github.com/smarp/funcmock.(*call).updateParam.func2(0xc42048c300, 0xc4203440b0, 0x1, 0x1)
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x85
created by github.com/smarp/funcmock.(*call).updateParam
/builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x114
FAIL smarpshare/comment/controller 0.250s
We have managed to figure how to solve the problem but not sure of it's the cause.
The solution's surprisingly simple and wierd
The problem occurs when we have this pattern:
if err := <-errChan; err != nil {
defer Foobar()
logrus.WithFields(logrus.Fields{}).Error("")
return nil, whatever
} else {
....
}
And this fixes it
if err := <-errChan; err != nil {
logrus.WithFields(logrus.Fields{}).Error("")
defer Foobar()
return nil, whatever
} else {
....
}
i.e. just changing the position of the defer
statement.
Sole credit for discovering the work around goes to @linzhiqi
I did some tracking of this in #17471 before realizing I'd filed a duplicate. I have an easy and reliable way to reproduce it and I believe I have a fix, which I'll send shortly (assuming it passes all.bash).
CL https://golang.org/cl/31138 mentions this issue.
After upgrading to macOS Sierra I'm seeing the same issue. I tried 1.7, 1.73, and 1.74 but the same issue persists.
Here's the stack trace I'm getting from trying to run an appengine app:
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x1a291d31a9c2 pc=0xf0eb]
runtime stack:
runtime.throw(0x497380, 0x2a)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/panic.go:547 +0x90
runtime.sigpanic()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.unlock(0x988540)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/lock_sema.go:107 +0x14b
runtime.(*mheap).alloc_m(0x988540, 0x1, 0x12, 0xc0d510)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/mheap.go:492 +0x314
runtime.(*mheap).alloc.func1()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/mheap.go:502 +0x41
runtime.systemstack(0xc820035e58)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/asm_amd64.s:307 +0xab
runtime.(*mheap).alloc(0x988540, 0x1, 0x10000000012, 0xed8f)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/mheap.go:503 +0x63
runtime.(*mcentral).grow(0x989ff0, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/mcentral.go:209 +0x93
runtime.(*mcentral).cacheSpan(0x989ff0, 0xc820047930)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/mcentral.go:89 +0x47d
runtime.(*mcache).refill(0xafa960, 0xc800000012, 0xc8209a2fc8)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/mcache.go:119 +0xcc
runtime.mallocgc.func2()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/malloc.go:642 +0x2b
runtime.systemstack(0xc820012000)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/proc.go:1051
goroutine 1 [running]:
runtime.systemstack_switch()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/asm_amd64.s:245 fp=0xc8209a2cc0 sp=0xc8209a2cb8
runtime.mallocgc(0x120, 0x42e320, 0x0, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/malloc.go:643 +0x869 fp=0xc8209a2d98 sp=0xc8209a2cc0
runtime.newobject(0x42e320, 0xc8209ffd40)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/malloc.go:781 +0x42 fp=0xc8209a2dc0 sp=0xc8209a2d98
cmd/compile/internal/gc.Prog(0x11, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gsubr.go:117 +0x58 fp=0xc8209a2e28 sp=0xc8209a2dc0
cmd/compile/internal/amd64.gins(0x11, 0x0, 0xc820665680, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/amd64/gsubr.go:636 +0xf6 fp=0xc8209a2f08 sp=0xc8209a2e28
cmd/compile/internal/gc.gvardefx(0xc820665680, 0x11)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/pgen.go:100 +0x23a fp=0xc8209a2f98 sp=0xc8209a2f08
cmd/compile/internal/gc.Gvardef(0xc820665680)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/pgen.go:106 +0x2a fp=0xc8209a2fb0 sp=0xc8209a2f98
cmd/compile/internal/gc.componentgen_wb.func2()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gen.go:1033 +0x3c fp=0xc8209a2fc0 sp=0xc8209a2fb0
cmd/compile/internal/gc.componentgen_wb(0xc8204fe5a0, 0xc820665680, 0xc81ffcd000, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gen.go:1129 +0x98c fp=0xc8209a3138 sp=0xc8209a2fc0
cmd/compile/internal/gc.sgen_wb(0xc8204fe5a0, 0xc820665680, 0x10, 0xafa900)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/cgen.go:2274 +0x459 fp=0xc8209a3230 sp=0xc8209a3138
cmd/compile/internal/gc.cgen_wb(0xc8204fe5a0, 0xc820665680, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/cgen.go:85 +0x427 fp=0xc8209a3600 sp=0xc8209a3230
cmd/compile/internal/gc.Cgen_as_wb(0xc820665680, 0xc8204fe5a0, 0x0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gen.go:935 +0x166 fp=0xc8209a3660 sp=0xc8209a3600
cmd/compile/internal/gc.Cgen_as(0xc820665680, 0xc8204fe5a0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gen.go:886 +0x30 fp=0xc8209a3680 sp=0xc8209a3660
cmd/compile/internal/gc.gen(0xc820661170)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gen.go:833 +0x191 fp=0xc8209a37d8 sp=0xc8209a3680
cmd/compile/internal/gc.Genlist(0xc8203e3fc0)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/gen.go:215 +0x30 fp=0xc8209a37e8 sp=0xc8209a37d8
cmd/compile/internal/gc.compile(0xc8204fe240)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/pgen.go:484 +0xc02 fp=0xc8209a3a58 sp=0xc8209a37e8
cmd/compile/internal/gc.funccompile(0xc8204fe240)
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/dcl.go:1450 +0x1c0 fp=0xc8209a3ad0 sp=0xc8209a3a58
cmd/compile/internal/gc.Main()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/gc/lex.go:472 +0x2116 fp=0xc8209a3df0 sp=0xc8209a3ad0
cmd/compile/internal/amd64.Main()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/internal/amd64/galign.go:127 +0x58d fp=0xc8209a3e58 sp=0xc8209a3df0
main.main()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/cmd/compile/main.go:32 +0x395 fp=0xc8209a3f30 sp=0xc8209a3e58
runtime.main()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/proc.go:188 +0x2b0 fp=0xc8209a3f80 sp=0xc8209a3f30
runtime.goexit()
/private/var/folders/9y/ppk2fnqj5lscwqw_l6lhdrx8005bt1/T/appengine/go_appengine/goroot/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8209a3f88 sp=0xc8209a3f80
2016/12/15 02:04:28 go-app-builder: build timing: 68×compile (6.865s total), 0×link (0 total)
2016/12/15 02:04:28 go-app-builder: failed running compile: exit status 2
@code4ghana, you're commenting on a closed issue. Closed issues aren't tracked.
Also, this had fixes for Go 1.8, not Go 1.7.
CL https://golang.org/cl/35638 mentions this issue.
$ go version
go version go1.8.3 linux/amd64
$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/hyperchain/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build954440086=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Paniced:
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x2 addr=0x7fbe13fc2000 pc=0x7fbe13b8112d]
runtime stack:
runtime.throw(0x8f655c, 0x2a)
/usr/local/go/src/runtime/panic.go:596 +0x95
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:274 +0x2db
goroutine 1835190 [syscall, locked to thread]:
runtime.cgocall(0x8053d0, 0xc4205f0f28, 0x8f5bcc)
/usr/local/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc4205f0ee8 sp=0xc4205f0ea8
agile/utils/crypto/guomi._Cfunc_SM2_sign(0x0, 0xc420673300, 0x20, 0xc42021a700, 0xc42041c530, 0x7fbdec0016f0, 0xc400000000)
agile/utils/crypto/guomi/_obj/_cgo_gotypes.go:334 +0x4d fp=0xc4205f0f28 sp=0xc4205f0ee8
agile/utils/crypto/guomi.(*PrivateKey).Sign.func2(0x0, 0xc420673300, 0x20, 0xc42021a700, 0xc42041c530, 0x7fbdec0016f0, 0xc420673200)
/home/hyperchain/go/src/agile/utils/crypto/guomi/gm_sm2.go:211 +0x92 fp=0xc4205f0f70 sp=0xc4205f0f28
agile/utils/crypto/guomi.(*PrivateKey).Sign(0xc420010ff0, 0xc420673300, 0x20, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/hyperchain/go/src/agile/utils/crypto/guomi/gm_sm2.go:211 +0x17b fp=0xc4205f0ff0 sp=0xc4205f0f70
agile/utils/gm.GenerateSignature(0xc420010ff0, 0xc42001b400, 0xc42009319a, 0x41, 0x241, 0xc4205f1ad0, 0x14, 0x14, 0x0, 0x14, ...)
/home/hyperchain/go/src/agile/utils/gm/signature.go:14 +0xad fp=0xc4205f10b0 sp=0xc4205f0ff0
agile/utils/gen.genSignature(0x0, 0xc4205f1ad0, 0xc420132dc8, 0x2, 0x8df93d, 0x3, 0xc4201ee9f0, 0x2a, 0xffffffffffffff01, 0xc4205f1450, ...)
/home/hyperchain/go/src/agile/utils/gen/transaction.go:259 +0x29c fp=0xc4205f1190 sp=0xc4205f10b0
agile/utils/gen.newTransaction(0x0, 0x8df93d, 0x3, 0xc4201ee9f0, 0x2a, 0xc4202d80f1, 0x2a, 0x14ceb318dc22950a, 0x4556693d752635e2, 0x0, ...)
/home/hyperchain/go/src/agile/utils/gen/transaction.go:161 +0x343 fp=0xc4205f1cd8 sp=0xc4205f1190
agile/utils/gen.NewContractTransaction(0x0, 0xc4201327c0, 0xa, 0x1, 0x8df93d, 0x3, 0xc42014bda0, 0x28, 0xc4202d80f1, 0x2a, ...)
/home/hyperchain/go/src/agile/utils/gen/transaction.go:126 +0x1b4 fp=0xc4205f1db8 sp=0xc4205f1cd8
agile/engine.(*Engine).executeOne(0xc420090640, 0xc420135220, 0xe, 0x1f91, 0x3, 0x5b00000000, 0x0, 0xc42029fb00, 0x545833)
/home/hyperchain/go/src/agile/engine/engine.go:335 +0x89b fp=0xc4205f1f98 sp=0xc4205f1db8
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4205f1fa0 sp=0xc4205f1f98
created by agile/engine.(*Engine).execute
/home/hyperchain/go/src/agile/engine/engine.go:313 +0x124
goroutine 1 [sleep]:
time.Sleep(0x55d4a80)
/usr/local/go/src/runtime/time.go:59 +0xf9
agile/engine.(*Engine).Exec(0xc420090640, 0x0, 0x0)
/home/hyperchain/go/src/agile/engine/engine.go:289 +0x4d4
agile/engine.(*Engine).Run(0xc420090640, 0x5, 0x0)
/home/hyperchain/go/src/agile/engine/engine.go:484 +0x1f0
main.runStressTest(0x7ffefc4e782a, 0x1d, 0xc4200db880, 0x1f)
/home/hyperchain/go/src/agile/main.go:127 +0x1c3
main.main()
/home/hyperchain/go/src/agile/main.go:68 +0x453
goroutine 17 [syscall, 5 minutes, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1
goroutine 1834716 [select]:
net/http.(*persistConn).writeLoop(0xc420118c60)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
@AlfredChenxf old closed issues are not tracked. Please open a new issue for your problem.
go version
)?go version go1.6 darwin/amd64
and go 1.6 officially available on Docker hubgo env
)?I have seen this problem on the system described below
and also while running on Gitlab CI i.e. inside Docker (Linux and x86_64)
The error comes up (pseudo)randomly while running tests (
go go test -race -p 4 -tags 'test' smarpshare/...
).Expect the test not to fail because of
fatal error: unexpected signal during runtime execution