Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: fatal error: unexpected signal during runtime execution #16331

Closed
hus787 opened this issue Jul 12, 2016 · 15 comments
Closed

runtime: fatal error: unexpected signal during runtime execution #16331

hus787 opened this issue Jul 12, 2016 · 15 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@hus787
Copy link

hus787 commented Jul 12, 2016

  1. What version of Go are you using (go version)?

go version go1.6 darwin/amd64 and go 1.6 officially available on Docker hub

  1. What operating system and processor architecture are you using (go env)?

I have seen this problem on the system described below

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/hussainparsaiyan/development/smarpshare/backend"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

and also while running on Gitlab CI i.e. inside Docker (Linux and x86_64)

  1. What did you do?

The error comes up (pseudo)randomly while running tests (go go test -race -p 4 -tags 'test' smarpshare/...).

  1. What did you expect to see?

Expect the test not to fail because of fatal error: unexpected signal during runtime execution

  1. What did you see instead?
••••fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x0 pc=0x454141]

runtime stack:
runtime.throw(0xef67c0, 0x2a)
    /usr/local/go/src/runtime/panic.go:547 +0x90 fp=0x7f4b2a83c998 sp=0x7f4b2a83c980
runtime.sigpanic()
    /usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a fp=0x7f4b2a83c9e8 sp=0x7f4b2a83c998
runtime.getArgInfo(0x7f4b2a83ca80, 0x11902c8, 0xc8205fdf01, 0xffffffff80000000, 0x0)
    /usr/local/go/src/runtime/traceback.go:535 +0xc1 fp=0x7f4b2a83ca40 sp=0x7f4b2a83c9e8
runtime.tracebackdefers(0xc8201dea80, 0x7f4b2a83cca0, 0x0)
    /usr/local/go/src/runtime/traceback.go:109 +0x1c6 fp=0x7f4b2a83cad8 sp=0x7f4b2a83ca40
runtime.scanstack(0xc8201dea80)
    /usr/local/go/src/runtime/mgcmark.go:683 +0x3f9 fp=0x7f4b2a83cce8 sp=0x7f4b2a83cad8
runtime.scang(0xc8201dea80)
    /usr/local/go/src/runtime/proc.go:800 +0x96 fp=0x7f4b2a83cd08 sp=0x7f4b2a83cce8
runtime.markroot.func1()
    /usr/local/go/src/runtime/mgcmark.go:189 +0xac fp=0x7f4b2a83cd38 sp=0x7f4b2a83cd08
runtime.systemstack(0x7f4b2a83cdb8)
    /usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7f4b2a83cd40 sp=0x7f4b2a83cd38
runtime.markroot(0x12)
    /usr/local/go/src/runtime/mgcmark.go:194 +0x31d fp=0x7f4b2a83cdd0 sp=0x7f4b2a83cd40
runtime.gcDrain(0x7f4b2a83ce40, 0x0)
    /usr/local/go/src/runtime/mgcmark.go:812 +0x241 fp=0x7f4b2a83ce08 sp=0x7f4b2a83cdd0
runtime.gcMark(0xc19eb7bd1312d)
    /usr/local/go/src/runtime/mgc.go:1560 +0xf9 fp=0x7f4b2a83ce68 sp=0x7f4b2a83ce08
runtime.gcMarkTermination.func1()
    /usr/local/go/src/runtime/mgc.go:1174 +0x23 fp=0x7f4b2a83ce78 sp=0x7f4b2a83ce68
runtime.systemstack(0xc820022000)
    /usr/local/go/src/runtime/asm_amd64.s:291 +0x79 fp=0x7f4b2a83ce80 sp=0x7f4b2a83ce78
runtime.mstart()
    /usr/local/go/src/runtime/proc.go:1051 fp=0x7f4b2a83ce88 sp=0x7f4b2a83ce80

goroutine 20 [garbage collection]:
runtime.systemstack_switch()
    /usr/local/go/src/runtime/asm_amd64.s:245 fp=0xc820027510 sp=0xc820027508
runtime.gcMarkTermination()
    /usr/local/go/src/runtime/mgc.go:1182 +0x120 fp=0xc820027720 sp=0xc820027510
runtime.gcMarkDone()
    /usr/local/go/src/runtime/mgc.go:1146 +0x29e fp=0xc820027740 sp=0xc820027720
runtime.gcBgMarkWorker(0xc820022000)
    /usr/local/go/src/runtime/mgc.go:1480 +0x448 fp=0xc8200277b8 sp=0xc820027740
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200277c0 sp=0xc8200277b8
created by runtime.gcBgMarkStartWorkers
    /usr/local/go/src/runtime/mgc.go:1330 +0x92

goroutine 1 [chan receive]:
runtime.gopark(0xf89158, 0xc8205d47d8, 0xe20250, 0xc, 0x17, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc8203fbb58 sp=0xc8203fbb30
runtime.goparkunlock(0xc8205d47d8, 0xe20250, 0xc, 0x17, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8203fbb90 sp=0xc8203fbb58
runtime.chanrecv(0xbfdb80, 0xc8205d4780, 0xc8203fbd60, 0xc820471c01, 0x490000)
    /usr/local/go/src/runtime/chan.go:470 +0x466 fp=0xc8203fbc00 sp=0xc8203fbb90
runtime.chanrecv1(0xbfdb80, 0xc8205d4780, 0xc8203fbd60)
    /usr/local/go/src/runtime/chan.go:355 +0x2b fp=0xc8203fbc30 sp=0xc8203fbc00
testing.RunTests(0xf88970, 0x136a0f0, 0x1, 0x1, 0x6d4601)
    /usr/local/go/src/testing/testing.go:583 +0xb39 fp=0xc8203fbdb8 sp=0xc8203fbc30
testing.(*M).Run(0xc8203fbf00, 0x7f4b2cef3000)
    /usr/local/go/src/testing/testing.go:515 +0x11e fp=0xc8203fbe50 sp=0xc8203fbdb8
main.main()
    smarpshare/company/_test/_testmain.go:54 +0x211 fp=0xc8203fbf58 sp=0xc8203fbe50
runtime.main()
    /usr/local/go/src/runtime/proc.go:188 +0x247 fp=0xc8203fbfa0 sp=0xc8203fbf58
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8203fbfa8 sp=0xc8203fbfa0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82003efb8 sp=0xc82003efb0

goroutine 2 [force gc (idle)]:
runtime.gopark(0xf89158, 0x139b450, 0xe235c0, 0xf, 0xf88f14, 0x1)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82002a758 sp=0xc82002a730
runtime.goparkunlock(0x139b450, 0xe235c0, 0xf, 0x14, 0x1)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82002a790 sp=0xc82002a758
runtime.forcegchelper()
    /usr/local/go/src/runtime/proc.go:229 +0xb8 fp=0xc82002a7c0 sp=0xc82002a790
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002a7c8 sp=0xc82002a7c0
created by runtime.init.4
    /usr/local/go/src/runtime/proc.go:218 +0x2b

goroutine 3 [GC sweep wait]:
runtime.gopark(0xf89158, 0x139b6e0, 0xe17b30, 0xd, 0x457114, 0x1)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82002af48 sp=0xc82002af20
runtime.goparkunlock(0x139b6e0, 0xe17b30, 0xd, 0x14, 0x1)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82002af80 sp=0xc82002af48
runtime.bgsweep(0xc82001c150)
    /usr/local/go/src/runtime/mgcsweep.go:79 +0x14b fp=0xc82002afb8 sp=0xc82002af80
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002afc0 sp=0xc82002afb8
created by runtime.gcenable
    /usr/local/go/src/runtime/mgc.go:191 +0x53

goroutine 4 [finalizer wait]:
runtime.gopark(0xf89158, 0x13b9080, 0xe23110, 0xe, 0x14, 0x1)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82002b718 sp=0xc82002b6f0
runtime.goparkunlock(0x13b9080, 0xe23110, 0xe, 0x14, 0x1)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82002b750 sp=0xc82002b718
runtime.runfinq()
    /usr/local/go/src/runtime/mfinal.go:158 +0xaa fp=0xc82002b7c0 sp=0xc82002b750
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002b7c8 sp=0xc82002b7c0
created by runtime.createfing
    /usr/local/go/src/runtime/mfinal.go:139 +0x60

goroutine 18 [syscall]:
runtime.notetsleepg(0x139b898, 0x38d7e692957c1, 0x9d8ad9)
    /usr/local/go/src/runtime/lock_futex.go:205 +0x4e fp=0xc82002bf38 sp=0xc82002bf10
runtime.timerproc()
    /usr/local/go/src/runtime/time.go:209 +0xde fp=0xc82002bfc0 sp=0xc82002bf38
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002bfc8 sp=0xc82002bfc0
created by runtime.addtimerLocked
    /usr/local/go/src/runtime/time.go:116 +0x1a7

goroutine 6 [select]:
runtime.gopark(0xf891a0, 0xc82003af08, 0xe0f058, 0x6, 0x18, 0x2)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82003abe8 sp=0xc82003abc0
runtime.selectgoImpl(0xc82003af08, 0xc82002c648, 0x0)
    /usr/local/go/src/runtime/select.go:392 +0xbb0 fp=0xc82003ada0 sp=0xc82003abe8
runtime.selectgo(0xc82003af08)
    /usr/local/go/src/runtime/select.go:215 +0x12 fp=0xc82003adc8 sp=0xc82003ada0
smarpshare/util.init.1.func3(0xf895b0, 0xc820162f20)
    /builds/smarp/backend/src/smarpshare/util/sendmail.go:160 +0x282 fp=0xc82003afa0 sp=0xc82003adc8
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82003afa8 sp=0xc82003afa0
created by smarpshare/util.init.1
    /builds/smarp/backend/src/smarpshare/util/sendmail.go:174 +0x271

goroutine 50 [chan send]:
runtime.gopark(0xf89158, 0xc8203a3eb8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820349698 sp=0xc820349670
runtime.goparkunlock(0xc8203a3eb8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8203496d0 sp=0xc820349698
runtime.chansend(0xbfdb20, 0xc8203a3e60, 0xc8203497a8, 0x1, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820349758 sp=0xc8203496d0
runtime.chansend1(0xbfdb20, 0xc8203a3e60, 0xc8203497a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820349790 sp=0xc820349758
github.com/smarp/funcmock.Mock.func2(0xc82002e098)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc8203497b8 sp=0xc820349790
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8203497c0 sp=0xc8203497b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 77 [chan send]:
runtime.gopark(0xf89158, 0xc820016e38, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820349e70 sp=0xc820349e48
runtime.goparkunlock(0xc820016e38, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820349ea8 sp=0xc820349e70
runtime.chansend(0xbfd820, 0xc820016de0, 0xc820349f80, 0xbfdc01, 0x719fa4, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820349f30 sp=0xc820349ea8
runtime.chansend1(0xbfd820, 0xc820016de0, 0xc820349f80)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820349f68 sp=0xc820349f30
github.com/smarp/funcmock.(*call).getParams.func1(0xc8201ceb70, 0xc8200fe120, 0x2, 0x2)
    /builds/smarp/backend/src/github.com/smarp/funcmock/call.go:57 +0x74 fp=0xc820349fa0 sp=0xc820349f68
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820349fa8 sp=0xc820349fa0
created by github.com/smarp/funcmock.(*call).getParams
    /builds/smarp/backend/src/github.com/smarp/funcmock/call.go:57 +0x119

goroutine 53 [chan send]:
runtime.gopark(0xf89158, 0xc8201c4a18, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82034ae88 sp=0xc82034ae60
runtime.goparkunlock(0xc8201c4a18, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82034aec0 sp=0xc82034ae88
runtime.chansend(0xbfdc40, 0xc8201c49c0, 0xc82034afa8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc82034af48 sp=0xc82034aec0
runtime.chansend1(0xbfdc40, 0xc8201c49c0, 0xc82034afa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc82034af80 sp=0xc82034af48
github.com/smarp/funcmock.Mock.func1(0xc82002e0e0)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc82034afb8 sp=0xc82034af80
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82034afc0 sp=0xc82034afb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 19 [select]:
runtime.gopark(0xf891a0, 0xc82003ff00, 0xe0f058, 0x6, 0xf85e18, 0x2)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82003fc50 sp=0xc82003fc28
runtime.selectgoImpl(0xc82003ff00, 0x0, 0xc82002666f)
    /usr/local/go/src/runtime/select.go:392 +0xbb0 fp=0xc82003fe08 sp=0xc82003fc50
runtime.selectgo(0xc82003ff00)
    /usr/local/go/src/runtime/select.go:215 +0x12 fp=0xc82003fe30 sp=0xc82003fe08
smarpshare/model/db.DeferInit.func1(0xe06f48, 0x4, 0xc8201c41e0)
    /builds/smarp/backend/src/smarpshare/model/db/defer.go:28 +0x783 fp=0xc82003ff98 sp=0xc82003fe30
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82003ffa0 sp=0xc82003ff98
created by smarpshare/model/db.DeferInit
    /builds/smarp/backend/src/smarpshare/model/db/defer.go:52 +0x282

goroutine 79 [chan send]:
runtime.gopark(0xf89158, 0xc820016fb8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82034a698 sp=0xc82034a670
runtime.goparkunlock(0xc820016fb8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82034a6d0 sp=0xc82034a698
runtime.chansend(0xbfdb20, 0xc820016f60, 0xc82034a7a8, 0xbad101, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc82034a758 sp=0xc82034a6d0
runtime.chansend1(0xbfdb20, 0xc820016f60, 0xc82034a7a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc82034a790 sp=0xc82034a758
github.com/smarp/funcmock.Mock.func2(0xc82002e270)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc82034a7b8 sp=0xc82034a790
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82034a7c0 sp=0xc82034a7b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 35 [IO wait (scan)]:
runtime.gopark(0xf89110, 0x7f4b2ce91e68, 0xe07618, 0x7, 0xc8201dea1b, 0x5)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc8205fafd0 sp=0xc8205fafa8
runtime.netpollblock(0x7f4b2ce91e40, 0x72, 0x0)
    /usr/local/go/src/runtime/netpoll.go:341 +0x161 fp=0xc8205fb018 sp=0xc8205fafd0
net.runtime_pollWait(0x7f4b2ce91e40, 0x72, 0x4130f9)
    /usr/local/go/src/runtime/netpoll.go:160 +0x63 fp=0xc8205fb038 sp=0xc8205fb018
net.(*pollDesc).Wait(0xc8203be0d0, 0x72, 0x0, 0x0)
    /usr/local/go/src/net/fd_poll_runtime.go:73 +0x56 fp=0xc8205fb068 sp=0xc8205fb038
net.(*pollDesc).WaitRead(0xc8203be0d0, 0x0, 0x0)
    /usr/local/go/src/net/fd_poll_runtime.go:78 +0x44 fp=0xc8205fb0a0 sp=0xc8205fb068
net.(*netFD).Read(0xc8203be070, 0xc820488000, 0x1000, 0x1000, 0x0, 0x7f4b2cee8050, 0xc82000a280)
    /usr/local/go/src/net/fd_unix.go:250 +0x27b fp=0xc8205fb178 sp=0xc8205fb0a0
net.(*conn).Read(0xc82002e2c0, 0xc820488000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/go/src/net/net.go:172 +0x121 fp=0xc8205fb1e8 sp=0xc8205fb178
net.(*TCPConn).Read(0xc82002e2c0, 0xc820488000, 0x1000, 0x1000, 0x139c8a8, 0x0, 0x0)
    <autogenerated>:68 +0x7d fp=0xc8205fb238 sp=0xc8205fb1e8
bufio.(*Reader).fill(0xc8200179e0)
    /usr/local/go/src/bufio/bufio.go:97 +0x365 fp=0xc8205fb2e8 sp=0xc8205fb238
bufio.(*Reader).Read(0xc8200179e0, 0xc8205ffba0, 0x5, 0x200, 0x0, 0x0, 0x0)
    /usr/local/go/src/bufio/bufio.go:207 +0x54e fp=0xc8205fb418 sp=0xc8205fb2e8
io.ReadAtLeast(0x7f4b2cef3268, 0xc8200179e0, 0xc8205ffba0, 0x5, 0x200, 0x5, 0x0, 0x0, 0x0)
    /usr/local/go/src/io/io.go:297 +0x119 fp=0xc8205fb480 sp=0xc8205fb418
io.ReadFull(0x7f4b2cef3268, 0xc8200179e0, 0xc8205ffba0, 0x5, 0x200, 0xc8201dea80, 0x0, 0x0)
    /usr/local/go/src/io/io.go:315 +0x77 fp=0xc8205fb4e0 sp=0xc8205fb480
github.com/lib/pq.(*conn).recvMessage(0xc8205ffb80, 0xc820486cc0, 0xc8205ffba1, 0x0, 0x0)
    /builds/smarp/backend/src/github.com/lib/pq/conn.go:725 +0x23e fp=0xc8205fb5a0 sp=0xc8205fb4e0
github.com/lib/pq.(*conn).recv(0xc8205ffb80, 0xc8205fb798, 0xc820486cc0)
    /builds/smarp/backend/src/github.com/lib/pq/conn.go:755 +0xd8 fp=0xc8205fb600 sp=0xc8205fb5a0
github.com/lib/pq.(*conn).startup(0xc8205ffb80, 0xc8205fbd18)
    /builds/smarp/backend/src/github.com/lib/pq/conn.go:991 +0x767 fp=0xc8205fb8a8 sp=0xc8205fb600
github.com/lib/pq.DialOpen(0x7f4b2ce91098, 0x13b9188, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /builds/smarp/backend/src/github.com/lib/pq/conn.go:215 +0x104e fp=0xc8205fbf18 sp=0xc8205fb8a8
github.com/lib/pq.Open(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /builds/smarp/backend/src/github.com/lib/pq/conn.go:119 +0xb5 fp=0xc8205fbf80 sp=0xc8205fbf18
github.com/lib/pq.(*drv).Open(0x13b9188, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /builds/smarp/backend/src/github.com/lib/pq/conn.go:41 +0x5b fp=0xc8205fbfd8 sp=0xc8205fbf80
database/sql.(*DB).conn(0xc82021a0b0, 0x1, 0x0, 0x0, 0x0)
    /usr/local/go/src/database/sql/sql.go:821 +0x8a1 fp=0xc8205fc198 sp=0xc8205fbfd8
database/sql.(*Stmt).connStmt(0xc820020780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/go/src/database/sql/sql.go:1565 +0x44e fp=0xc8205fc2c8 sp=0xc8205fc198
database/sql.(*Stmt).Query(0xc820020780, 0xc8205fc530, 0x3, 0x3, 0x0, 0x0, 0x0)
    /usr/local/go/src/database/sql/sql.go:1603 +0xe6 fp=0xc8205fc3f0 sp=0xc8205fc2c8
database/sql.(*Stmt).QueryRow(0xc820020780, 0xc8205fc530, 0x3, 0x3, 0xc82039dc40)
    /usr/local/go/src/database/sql/sql.go:1674 +0x51 fp=0xc8205fc450 sp=0xc8205fc3f0
smarpshare/socnet/model.glob.func6(0xe26580, 0x8, 0xc8200fe7e0, 0x18, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /builds/smarp/backend/src/smarpshare/socnet/model/socnet.go:157 +0x2ff fp=0xc8205fc568 sp=0xc8205fc450
smarpshare/socnet/model.glob.func7(0xc8200fe7e0, 0x18, 0x0, 0x0)
    /builds/smarp/backend/src/smarpshare/socnet/model/socnet.go:175 +0x19d fp=0xc8205fc678 sp=0xc8205fc568
smarpshare/company/controller.glob.func1(0xc8200fe440, 0x13, 0xc82001749a, 0x5, 0xc820017470, 0x3, 0xc82039d6b8, 0x8, 0x0, 0x0, ...)
    /builds/smarp/backend/src/smarpshare/company/controller/CompanyRegisterItemController.go:144 +0x1b9c fp=0xc8205fcc90 sp=0xc8205fc678
smarpshare/company.CompanyRegisterItemOS(0xc8201c8040, 0x7f4b2ce924e8, 0xc8200fe3e0, 0xc8205fd2a0)
    /builds/smarp/backend/src/smarpshare/company/company.go:219 +0x575 fp=0xc8205fcf38 sp=0xc8205fcc90
smarpshare/company.glob.func4.4.4()
    /builds/smarp/backend/src/smarpshare/company/company_create_test.go:245 +0xdc4 fp=0xc8205fd2f0 sp=0xc8205fcf38
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc8201c5e00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/leafnodes/runner.go:104 +0xad fp=0xc8205fd320 sp=0xc8205fd2f0
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc8201c5e00, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/leafnodes/runner.go:63 +0xdc fp=0xc8205fd4b8 sp=0xc8205fd320
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc8203e9e20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/leafnodes/it_node.go:25 +0x78 fp=0xc8205fd650 sp=0xc8205fd4b8
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc8200da780, 0x0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/spec/spec.go:159 +0x554 fp=0xc8205fd828 sp=0xc8205fd650
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc8200da780)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/spec/spec.go:114 +0x114 fp=0xc8205fd980 sp=0xc8205fd828
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc820220480, 0xf88401)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:113 +0x27a fp=0xc8205fda38 sp=0xc8205fd980
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc820220480, 0x17)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:55 +0x7f fp=0xc8205fda60 sp=0xc8205fda38
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc820019220, 0x7f4b2cef31e0, 0xc820224510, 0xe7fdb0, 0x17, 0xc82000b540, 0x1, 0x1, 0x7f4b2cef31b0, 0xc8201661b0, ...)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/suite/suite.go:57 +0x32f fp=0xc8205fdb98 sp=0xc8205fda60
github.com/onsi/ginkgo.RunSpecsWithCustomReporters(0x7f4b2cef3038, 0xc820224510, 0xe7fdb0, 0x17, 0xc8205fde78, 0x1, 0x1, 0x410946)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/ginkgo_dsl.go:203 +0x3c8 fp=0xc8205fdd60 sp=0xc8205fdb98
github.com/onsi/ginkgo.RunSpecs(0x7f4b2cef3038, 0xc820224510, 0xe7fdb0, 0x17, 0x13689e0)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/ginkgo_dsl.go:184 +0x3bb fp=0xc8205fdee8 sp=0xc8205fdd60
smarpshare/company.TestController(0xc820224510)
    /builds/smarp/backend/src/smarpshare/company/init_test.go:23 +0xa4 fp=0xc8205fdf38 sp=0xc8205fdee8
testing.tRunner(0xc820224510, 0x136a0f0)
    /usr/local/go/src/testing/testing.go:473 +0xdd fp=0xc8205fdf70 sp=0xc8205fdf38
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8205fdf78 sp=0xc8205fdf70
created by testing.RunTests
    /usr/local/go/src/testing/testing.go:582 +0xae3

goroutine 21 [GC worker (idle)]:
runtime.gopark(0xc82039dcf8, 0xc820026fa0, 0xe80d30, 0x10, 0xc820016e14, 0x0)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820026f40 sp=0xc820026f18
runtime.gcBgMarkWorker(0xc820023500)
    /usr/local/go/src/runtime/mgc.go:1403 +0xce fp=0xc820026fb8 sp=0xc820026f40
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820026fc0 sp=0xc820026fb8
created by runtime.gcBgMarkStartWorkers
    /usr/local/go/src/runtime/mgc.go:1330 +0x92

goroutine 22 [select]:
runtime.gopark(0xf891a0, 0xc820202f00, 0xe0f058, 0x6, 0xf85e18, 0x2)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820202c50 sp=0xc820202c28
runtime.selectgoImpl(0xc820202f00, 0x0, 0xc820028e6f)
    /usr/local/go/src/runtime/select.go:392 +0xbb0 fp=0xc820202e08 sp=0xc820202c50
runtime.selectgo(0xc820202f00)
    /usr/local/go/src/runtime/select.go:215 +0x12 fp=0xc820202e30 sp=0xc820202e08
smarpshare/model/db.DeferInit.func1(0xe08490, 0x4, 0xc8201c4240)
    /builds/smarp/backend/src/smarpshare/model/db/defer.go:28 +0x783 fp=0xc820202f98 sp=0xc820202e30
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820202fa0 sp=0xc820202f98
created by smarpshare/model/db.DeferInit
    /builds/smarp/backend/src/smarpshare/model/db/defer.go:52 +0x282

goroutine 32 [chan send]:
runtime.gopark(0xf89158, 0xc8203a3c78, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820029698 sp=0xc820029670
runtime.goparkunlock(0xc8203a3c78, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8200296d0 sp=0xc820029698
runtime.chansend(0xbfdb20, 0xc8203a3c20, 0xc8200297a8, 0x1, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820029758 sp=0xc8200296d0
runtime.chansend1(0xbfdb20, 0xc8203a3c20, 0xc8200297a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820029790 sp=0xc820029758
github.com/smarp/funcmock.Mock.func2(0xc82002e088)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc8200297b8 sp=0xc820029790
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200297c0 sp=0xc8200297b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 33 [chan send]:
runtime.gopark(0xf89158, 0xc8203a3f78, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820029e88 sp=0xc820029e60
runtime.goparkunlock(0xc8203a3f78, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820029ec0 sp=0xc820029e88
runtime.chansend(0xbfdc40, 0xc8203a3f20, 0xc820029fa8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820029f48 sp=0xc820029ec0
runtime.chansend1(0xbfdc40, 0xc8203a3f20, 0xc820029fa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820029f80 sp=0xc820029f48
github.com/smarp/funcmock.Mock.func1(0xc82002e098)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc820029fb8 sp=0xc820029f80
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820029fc0 sp=0xc820029fb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 25 [syscall]:
runtime.notetsleepg(0x13b9560, 0xffffffffffffffff, 0x1)
    /usr/local/go/src/runtime/lock_futex.go:205 +0x4e fp=0xc82002df40 sp=0xc82002df18
os/signal.signal_recv(0x463861)
    /usr/local/go/src/runtime/sigqueue.go:116 +0x132 fp=0xc82002df78 sp=0xc82002df40
os/signal.loop()
    /usr/local/go/src/os/signal/signal_unix.go:22 +0x26 fp=0xc82002dfc0 sp=0xc82002df78
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002dfc8 sp=0xc82002dfc0
created by os/signal.init.1
    /usr/local/go/src/os/signal/signal_unix.go:28 +0x45

goroutine 26 [select]:
runtime.gopark(0xf891a0, 0xc820041f00, 0xe0f058, 0x6, 0xf85e18, 0x2)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820041c50 sp=0xc820041c28
runtime.selectgoImpl(0xc820041f00, 0x0, 0xc82002d66f)
    /usr/local/go/src/runtime/select.go:392 +0xbb0 fp=0xc820041e08 sp=0xc820041c50
runtime.selectgo(0xc820041f00)
    /usr/local/go/src/runtime/select.go:215 +0x12 fp=0xc820041e30 sp=0xc820041e08
smarpshare/model/db.DeferInit.func1(0xe1bb20, 0xc, 0xc8201c4600)
    /builds/smarp/backend/src/smarpshare/model/db/defer.go:28 +0x783 fp=0xc820041f98 sp=0xc820041e30
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820041fa0 sp=0xc820041f98
created by smarpshare/model/db.DeferInit
    /builds/smarp/backend/src/smarpshare/model/db/defer.go:52 +0x282

goroutine 36 [chan receive]:
runtime.gopark(0xf89158, 0xc8203a2058, 0xe20250, 0xc, 0x17, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820028608 sp=0xc8200285e0
runtime.goparkunlock(0xc8203a2058, 0xe20250, 0xc, 0xc8203b8017, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820028640 sp=0xc820028608
runtime.chanrecv(0xbfe120, 0xc8203a2000, 0x0, 0x1, 0x0)
    /usr/local/go/src/runtime/chan.go:470 +0x466 fp=0xc8200286b0 sp=0xc820028640
runtime.chanrecv1(0xbfe120, 0xc8203a2000, 0x0)
    /usr/local/go/src/runtime/chan.go:355 +0x2b fp=0xc8200286e0 sp=0xc8200286b0
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).registerForInterrupts(0xc820220480)
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:145 +0x13a fp=0xc8200287b8 sp=0xc8200286e0
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200287c0 sp=0xc8200287b8
created by github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run
    /builds/smarp/backend/src/github.com/onsi/ginkgo/internal/specrunner/spec_runner.go:50 +0x55

goroutine 37 [chan receive]:
runtime.gopark(0xf89158, 0xc8205d4958, 0xe20250, 0xc, 0x17, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82002d6b0 sp=0xc82002d688
runtime.goparkunlock(0xc8205d4958, 0xe20250, 0xc, 0x17, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82002d6e8 sp=0xc82002d6b0
runtime.chanrecv(0xbfe2a0, 0xc8205d4900, 0xc82002d7a8, 0x200001, 0x460000)
    /usr/local/go/src/runtime/chan.go:470 +0x466 fp=0xc82002d758 sp=0xc82002d6e8
runtime.chanrecv2(0xbfe2a0, 0xc8205d4900, 0xc82002d7a8, 0x463861)
    /usr/local/go/src/runtime/chan.go:360 +0x2b fp=0xc82002d788 sp=0xc82002d758
database/sql.(*DB).connectionOpener(0xc82021a0b0)
    /usr/local/go/src/database/sql/sql.go:727 +0x66 fp=0xc82002d7b8 sp=0xc82002d788
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002d7c0 sp=0xc82002d7b8
created by database/sql.Open
    /usr/local/go/src/database/sql/sql.go:493 +0x442

goroutine 27 [select, locked to thread]:
runtime.gopark(0xf891a0, 0xc820348f28, 0xe0f058, 0x6, 0x18, 0x2)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820348d10 sp=0xc820348ce8
runtime.selectgoImpl(0xc820348f28, 0xc820348f14, 0x0)
    /usr/local/go/src/runtime/select.go:392 +0xbb0 fp=0xc820348ec8 sp=0xc820348d10
runtime.selectgo(0xc820348f28)
    /usr/local/go/src/runtime/select.go:215 +0x12 fp=0xc820348ef0 sp=0xc820348ec8
runtime.ensureSigM.func1()
    /usr/local/go/src/runtime/signal1_unix.go:279 +0x2ef fp=0xc820348fc0 sp=0xc820348ef0
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820348fc8 sp=0xc820348fc0
created by runtime.ensureSigM
    /usr/local/go/src/runtime/signal1_unix.go:292 +0xd0

goroutine 29 [chan send]:
runtime.gopark(0xf89158, 0xc8203a3bb8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82002c688 sp=0xc82002c660
runtime.goparkunlock(0xc8203a3bb8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82002c6c0 sp=0xc82002c688
runtime.chansend(0xbfdc40, 0xc8203a3b60, 0xc82002c7a8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc82002c748 sp=0xc82002c6c0
runtime.chansend1(0xbfdc40, 0xc8203a3b60, 0xc82002c7a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc82002c780 sp=0xc82002c748
github.com/smarp/funcmock.Mock.func1(0xc82002e070)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc82002c7b8 sp=0xc82002c780
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002c7c0 sp=0xc82002c7b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 31 [chan send]:
runtime.gopark(0xf89158, 0xc8203a3d98, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820028e88 sp=0xc820028e60
runtime.goparkunlock(0xc8203a3d98, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820028ec0 sp=0xc820028e88
runtime.chansend(0xbfdc40, 0xc8203a3d40, 0xc820028fa8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820028f48 sp=0xc820028ec0
runtime.chansend1(0xbfdc40, 0xc8203a3d40, 0xc820028fa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820028f80 sp=0xc820028f48
github.com/smarp/funcmock.Mock.func1(0xc82002e088)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc820028fb8 sp=0xc820028f80
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820028fc0 sp=0xc820028fb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 30 [chan send]:
runtime.gopark(0xf89158, 0xc8203a3af8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82002ce98 sp=0xc82002ce70
runtime.goparkunlock(0xc8203a3af8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82002ced0 sp=0xc82002ce98
runtime.chansend(0xbfdb20, 0xc8203a3aa0, 0xc82002cfa8, 0x1, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc82002cf58 sp=0xc82002ced0
runtime.chansend1(0xbfdb20, 0xc8203a3aa0, 0xc82002cfa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc82002cf90 sp=0xc82002cf58
github.com/smarp/funcmock.Mock.func2(0xc82002e070)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc82002cfb8 sp=0xc82002cf90
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002cfc0 sp=0xc82002cfb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 54 [chan send]:
runtime.gopark(0xf89158, 0xc8201c4898, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82034b698 sp=0xc82034b670
runtime.goparkunlock(0xc8201c4898, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82034b6d0 sp=0xc82034b698
runtime.chansend(0xbfdb20, 0xc8201c4840, 0xc82034b7a8, 0x1, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc82034b758 sp=0xc82034b6d0
runtime.chansend1(0xbfdb20, 0xc8201c4840, 0xc82034b7a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc82034b790 sp=0xc82034b758
github.com/smarp/funcmock.Mock.func2(0xc82002e0e0)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc82034b7b8 sp=0xc82034b790
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82034b7c0 sp=0xc82034b7b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 67 [chan send]:
runtime.gopark(0xf89158, 0xc8201c4f58, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc82034be90 sp=0xc82034be68
runtime.goparkunlock(0xc8201c4f58, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc82034bec8 sp=0xc82034be90
runtime.chansend(0xbfdc40, 0xc8201c4f00, 0xc82034bfa0, 0x71a301, 0x71a2c6, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc82034bf50 sp=0xc82034bec8
runtime.chansend1(0xbfdc40, 0xc8201c4f00, 0xc82034bfa0)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc82034bf88 sp=0xc82034bf50
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc8201c4fc0, 0xc820204720)
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x66 fp=0xc82034bfb0 sp=0xc82034bf88
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82034bfb8 sp=0xc82034bfb0
created by github.com/smarp/funcmock.(*MockController).addCallAt
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xdc

goroutine 68 [chan send]:
runtime.gopark(0xf89158, 0xc820016f58, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820026670 sp=0xc820026648
runtime.goparkunlock(0xc820016f58, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8200266a8 sp=0xc820026670
runtime.chansend(0xbfd820, 0xc820016f00, 0xc820026780, 0x1, 0x71a0c4, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820026730 sp=0xc8200266a8
runtime.chansend1(0xbfd820, 0xc820016f00, 0xc820026780)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820026768 sp=0xc820026730
github.com/smarp/funcmock.(*call).updateParam.func2(0xc8201ceba0, 0xc82039d150, 0x1, 0x1)
    /builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x74 fp=0xc8200267a0 sp=0xc820026768
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200267a8 sp=0xc8200267a0
created by github.com/smarp/funcmock.(*call).updateParam
    /builds/smarp/backend/src/github.com/smarp/funcmock/call.go:73 +0x104

goroutine 57 [chan send]:
runtime.gopark(0xf89158, 0xc8201c5198, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820344e88 sp=0xc820344e60
runtime.goparkunlock(0xc8201c5198, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820344ec0 sp=0xc820344e88
runtime.chansend(0xbfdc40, 0xc8201c5140, 0xc820344fa8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820344f48 sp=0xc820344ec0
runtime.chansend1(0xbfdc40, 0xc8201c5140, 0xc820344fa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820344f80 sp=0xc820344f48
github.com/smarp/funcmock.Mock.func1(0xc82002e110)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc820344fb8 sp=0xc820344f80
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820344fc0 sp=0xc820344fb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 81 [chan send]:
runtime.gopark(0xf89158, 0xc820017138, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820345698 sp=0xc820345670
runtime.goparkunlock(0xc820017138, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8203456d0 sp=0xc820345698
runtime.chansend(0xbfdb20, 0xc8200170e0, 0xc8203457a8, 0x43d401, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820345758 sp=0xc8203456d0
runtime.chansend1(0xbfdb20, 0xc8200170e0, 0xc8203457a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820345790 sp=0xc820345758
github.com/smarp/funcmock.Mock.func2(0xc82002e278)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc8203457b8 sp=0xc820345790
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8203457c0 sp=0xc8203457b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 78 [chan send]:
runtime.gopark(0xf89158, 0xc820017078, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820345e88 sp=0xc820345e60
runtime.goparkunlock(0xc820017078, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820345ec0 sp=0xc820345e88
runtime.chansend(0xbfdc40, 0xc820017020, 0xc820345fa8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820345f48 sp=0xc820345ec0
runtime.chansend1(0xbfdc40, 0xc820017020, 0xc820345fa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820345f80 sp=0xc820345f48
github.com/smarp/funcmock.Mock.func1(0xc82002e270)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc820345fb8 sp=0xc820345f80
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820345fc0 sp=0xc820345fb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 80 [chan send]:
runtime.gopark(0xf89158, 0xc820017198, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820346688 sp=0xc820346660
runtime.goparkunlock(0xc820017198, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8203466c0 sp=0xc820346688
runtime.chansend(0xbfdc40, 0xc820017140, 0xc8203467a8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820346748 sp=0xc8203466c0
runtime.chansend1(0xbfdc40, 0xc820017140, 0xc8203467a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820346780 sp=0xc820346748
github.com/smarp/funcmock.Mock.func1(0xc82002e278)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc8203467b8 sp=0xc820346780
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8203467c0 sp=0xc8203467b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 69 [chan send]:
runtime.gopark(0xf89158, 0xc8201c4bf8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820346e90 sp=0xc820346e68
runtime.goparkunlock(0xc8201c4bf8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820346ec8 sp=0xc820346e90
runtime.chansend(0xbfdb20, 0xc8201c4ba0, 0xc820346fa0, 0x43d401, 0x71a146, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820346f50 sp=0xc820346ec8
runtime.chansend1(0xbfdb20, 0xc8201c4ba0, 0xc820346fa0)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820346f88 sp=0xc820346f50
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc8201c4fc0, 0x1)
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x66 fp=0xc820346fb0 sp=0xc820346f88
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820346fb8 sp=0xc820346fb0
created by github.com/smarp/funcmock.(*MockController).CallCount
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f

goroutine 70 [chan send]:
runtime.gopark(0xf89158, 0xc8201c5138, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820347690 sp=0xc820347668
runtime.goparkunlock(0xc8201c5138, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8203476c8 sp=0xc820347690
runtime.chansend(0xbfdb20, 0xc8201c50e0, 0xc8203477a0, 0x1, 0x71a146, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820347750 sp=0xc8203476c8
runtime.chansend1(0xbfdb20, 0xc8201c50e0, 0xc8203477a0)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820347788 sp=0xc820347750
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc8201c51a0, 0x0)
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x66 fp=0xc8203477b0 sp=0xc820347788
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8203477b8 sp=0xc8203477b0
created by github.com/smarp/funcmock.(*MockController).CallCount
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f

goroutine 71 [chan send]:
runtime.gopark(0xf89158, 0xc8201c4538, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820347e90 sp=0xc820347e68
runtime.goparkunlock(0xc8201c4538, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820347ec8 sp=0xc820347e90
runtime.chansend(0xbfdb20, 0xc8201c44e0, 0xc820347fa0, 0x1, 0x71a146, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820347f50 sp=0xc820347ec8
runtime.chansend1(0xbfdb20, 0xc8201c44e0, 0xc820347fa0)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820347f88 sp=0xc820347f50
github.com/smarp/funcmock.(*MockController).CallCount.func1(0xc8201c47e0, 0x1)
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x66 fp=0xc820347fb0 sp=0xc820347f88
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820347fb8 sp=0xc820347fb0
created by github.com/smarp/funcmock.(*MockController).CallCount
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:25 +0x9f

goroutine 76 [chan send]:
runtime.gopark(0xf89158, 0xc8201c45f8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820348690 sp=0xc820348668
runtime.goparkunlock(0xc8201c45f8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8203486c8 sp=0xc820348690
runtime.chansend(0xbfdc40, 0xc8201c45a0, 0xc8203487a0, 0x43d401, 0x71a2c6, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820348750 sp=0xc8203486c8
runtime.chansend1(0xbfdc40, 0xc8201c45a0, 0xc8203487a0)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820348788 sp=0xc820348750
github.com/smarp/funcmock.(*MockController).addCallAt.func1(0xc8201c47e0, 0xc8202046c0)
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0x66 fp=0xc8203487b0 sp=0xc820348788
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8203487b8 sp=0xc8203487b0
created by github.com/smarp/funcmock.(*MockController).addCallAt
    /builds/smarp/backend/src/github.com/smarp/funcmock/controller.go:86 +0xdc

goroutine 82 [chan send]:
runtime.gopark(0xf89158, 0xc8200172b8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820481688 sp=0xc820481660
runtime.goparkunlock(0xc8200172b8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8204816c0 sp=0xc820481688
runtime.chansend(0xbfdc40, 0xc820017260, 0xc8204817a8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820481748 sp=0xc8204816c0
runtime.chansend1(0xbfdc40, 0xc820017260, 0xc8204817a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820481780 sp=0xc820481748
github.com/smarp/funcmock.Mock.func1(0xc82002e280)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc8204817b8 sp=0xc820481780
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8204817c0 sp=0xc8204817b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 83 [chan send]:
runtime.gopark(0xf89158, 0xc820017258, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820481e98 sp=0xc820481e70
runtime.goparkunlock(0xc820017258, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820481ed0 sp=0xc820481e98
runtime.chansend(0xbfdb20, 0xc820017200, 0xc820481fa8, 0x1, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820481f58 sp=0xc820481ed0
runtime.chansend1(0xbfdb20, 0xc820017200, 0xc820481fa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820481f90 sp=0xc820481f58
github.com/smarp/funcmock.Mock.func2(0xc82002e280)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc820481fb8 sp=0xc820481f90
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820481fc0 sp=0xc820481fb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260

goroutine 84 [chan send]:
runtime.gopark(0xf89158, 0xc8200173d8, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820482688 sp=0xc820482660
runtime.goparkunlock(0xc8200173d8, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc8204826c0 sp=0xc820482688
runtime.chansend(0xbfdc40, 0xc820017380, 0xc8204827a8, 0x1, 0x71a389, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820482748 sp=0xc8204826c0
runtime.chansend1(0xbfdc40, 0xc820017380, 0xc8204827a8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820482780 sp=0xc820482748
github.com/smarp/funcmock.Mock.func1(0xc82002e288)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0xa9 fp=0xc8204827b8 sp=0xc820482780
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8204827c0 sp=0xc8204827b8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:14 +0x23e

goroutine 85 [chan send]:
runtime.gopark(0xf89158, 0xc820017378, 0xe20260, 0x9, 0x16, 0x3)
    /usr/local/go/src/runtime/proc.go:262 +0x11d fp=0xc820482e98 sp=0xc820482e70
runtime.goparkunlock(0xc820017378, 0xe20260, 0x9, 0x404a16, 0x3)
    /usr/local/go/src/runtime/proc.go:268 +0x54 fp=0xc820482ed0 sp=0xc820482e98
runtime.chansend(0xbfdb20, 0xc820017320, 0xc820482fa8, 0x1, 0x71a419, 0x464544)
    /usr/local/go/src/runtime/chan.go:213 +0x4ed fp=0xc820482f58 sp=0xc820482ed0
runtime.chansend1(0xbfdb20, 0xc820017320, 0xc820482fa8)
    /usr/local/go/src/runtime/chan.go:100 +0x43 fp=0xc820482f90 sp=0xc820482f58
github.com/smarp/funcmock.Mock.func2(0xc82002e288)
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x79 fp=0xc820482fb8 sp=0xc820482f90
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820482fc0 sp=0xc820482fb8
created by github.com/smarp/funcmock.Mock
    /builds/smarp/backend/src/github.com/smarp/funcmock/mock.go:15 +0x260
FAIL    smarpshare/company  0.785s
@ianlancetaylor ianlancetaylor changed the title fatal error: unexpected signal during runtime execution runtime: fatal error: unexpected signal during runtime execution Jul 12, 2016
@ianlancetaylor ianlancetaylor added this to the Go1.8 milestone Jul 12, 2016
@ianlancetaylor
Copy link
Contributor

Does your program use cgo or the unsafe package?

Is there a way that we can recreate the problem ourselves?

CC @aclements

@hus787
Copy link
Author

hus787 commented Jul 12, 2016

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.

@ianlancetaylor
Copy link
Contributor

Are you able to try the program with the 1.7 release candidate?

@hus787
Copy link
Author

hus787 commented Jul 13, 2016

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.

@hus787
Copy link
Author

hus787 commented Jul 13, 2016

The problem just reoccurred with 1.7 as well.

@ianlancetaylor
Copy link
Contributor

What is the backtrace with 1.7?

@hus787
Copy link
Author

hus787 commented Jul 14, 2016

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

@hus787
Copy link
Author

hus787 commented Aug 1, 2016

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

@quentinmit quentinmit added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 11, 2016
@aclements
Copy link
Member

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).

@gopherbot
Copy link

CL https://golang.org/cl/31138 mentions this issue.

@code4ghana
Copy link

code4ghana commented Dec 15, 2016

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

@bradfitz
Copy link
Contributor

@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.

@gopherbot
Copy link

CL https://golang.org/cl/35638 mentions this issue.

gopherbot pushed a commit that referenced this issue Jan 25, 2017
…n calls

Fixes #18333 (backport)

getArgInfo for reflect.makeFuncStub and reflect.methodValueCall is
necessarily special. These have dynamically determined argument maps
that are stored in their context (that is, their *funcval). These
functions are written to store this context at 0(SP) when called, and
getArgInfo retrieves it from there.

This technique works if getArgInfo is passed an active call frame for
one of these functions. However, getArgInfo is also used in
tracebackdefers, where the "call" is not a true call with an active
stack frame, but a deferred call. In this situation, getArgInfo
currently crashes because tracebackdefers passes a frame with sp set
to 0. However, the entire approach used by getArgInfo is flawed in
this situation because the wrapper has not actually executed, and
hence hasn't saved this metadata to any stack frame.

In the defer case, we know the *funcval from the _defer itself, so we
can fix this by teaching getArgInfo to use the *funcval context
directly when its available, and otherwise get it from the active call
frame.

While we're here, this commit simplifies getArgInfo a bit by making it
play more nicely with the type system. Rather than decoding the
*reflect.methodValue that is the wrapper's context as a *[2]uintptr,
just write out a copy of the reflect.methodValue type in the runtime.

Fixes #16331. Fixes #17471.

Change-Id: I81db4d985179b4a81c68c490cceeccbfc675456a
Reviewed-on: https://go-review.googlesource.com/31138
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-on: https://go-review.googlesource.com/35638
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
@AlfredChenxf
Copy link

$ 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

@ALTree
Copy link
Member

ALTree commented Jul 6, 2017

@AlfredChenxf old closed issues are not tracked. Please open a new issue for your problem.

@golang golang locked and limited conversation to collaborators Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

9 participants