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: pthread_create failure in TestCgoCallbackGC on Raspberry Pi 2 linux/arm #11959

Closed
ajstarks opened this issue Jul 31, 2015 · 12 comments

Comments

Projects
None yet
6 participants
@ajstarks
Copy link
Contributor

commented Jul 31, 2015

on a Raspberry Pi 2:
Linux raspberrypi 4.0.7-v7+ #801 SMP PREEMPT Tue Jun 30 18:38:23 BST 2015 armv7l GNU/Linux

./all.bash of Go 1.5 beta 3 fails the TestCgoCallbackGC test:

ok      regexp  2.415s
ok      regexp/syntax   6.854s
--- FAIL: TestCgoCallbackGC (19.77s)
    crash_cgo_test.go:46: expected "OK\n", but got "runtime/cgo: pthread_create failed: Resource temporarily unavailable\nSIGABRT: abort\nPC=0x76e198dc m=2\n\ngoroutine 0 [idle]:\n\ngoroutine 1 [chan receive]:\nmain.main()\n\t/tmp/go-build626950043/main.go:72 +0x114\n\ngoroutine 17 [syscall, locked to thread]:\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ngoroutine 11 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 170 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 165 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 161 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 157 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 153 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 149 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 146 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 205 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 203 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 201 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 197 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 14 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 190 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 9 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 183 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 179 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 208 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 139 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 134 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 12 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 8 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 173 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 167 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 142 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 158 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 154 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 152 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 148 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 206 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 204 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 200 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 196 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 192 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 187 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 182 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 177 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 178 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 144 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 138 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 133 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 10 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 5 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 171 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 166 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 164 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 162 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 159 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 156 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 155 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 150 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 137 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 136 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 145 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 207 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 130 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 202 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 199 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 198 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 195 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 193 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 191 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 188 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 186 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 184 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 181 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 174 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 172 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 143 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 168 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 163 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 160 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 141 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 151 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 147 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 7 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 132 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 131 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 16 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 15 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 194 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 189 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 185 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 180 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 176 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 140 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 135 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 13 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 4 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 175 [syscall, locked to thread]:\nmain._Cfunc_foo()\n\t_/tmp/go-build626950043/_obj/_cgo_gotypes.go:37 +0x30\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:67 +0x14\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 209 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 210 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 211 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 212 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 213 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 214 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 215 [runnable]:\nmain.main.func2(0x1036a040)\n\t/tmp/go-build626950043/main.go:66\ncreated by main.main\n\t/tmp/go-build626950043/main.go:69 +0xd8\n\ngoroutine 226 [runnable, locked to thread]:\nruntime.unwindm(0x10443f94)\n\t/home/pi/go/src/runtime/cgocall.go:263\nruntime.cgocallbackg1()\n\t/home/pi/go/src/runtime/cgocall.go:261 +0x108\nruntime.cgocallbackg()\n\t/home/pi/go/src/runtime/cgocall.go:177 +0xac\nruntime.cgocallback_gofunc(0x0, 0x0, 0x0)\n\t/home/pi/go/src/runtime/asm_arm.s:609 +0x6c\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ngoroutine 227 [syscall, locked to thread]:\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ngoroutine 228 [syscall, locked to thread]:\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ngoroutine 229 [runnable, locked to thread]:\nruntime.unwindm(0x1072ff64)\n\t/home/pi/go/src/runtime/cgocall.go:263\nruntime.cgocallbackg1()\n\t/home/pi/go/src/runtime/cgocall.go:261 +0x108\nruntime.cgocallbackg()\n\t/home/pi/go/src/runtime/cgocall.go:177 +0xac\nruntime.cgocallback_gofunc(0x0, 0x0, 0x0)\n\t/home/pi/go/src/runtime/asm_arm.s:609 +0x6c\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ngoroutine 230 [runnable, locked to thread]:\nmain.grow1(0x106ddf34, 0x106d0444, 0x2ea9c8a)\n\t/tmp/go-build626950043/main.go:42\nmain.grow1(0x106ddf34, 0x106d0458, 0x2ea96d6)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d046c, 0x2ea9121)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0480, 0x2ea8b6b)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0494, 0x2ea85b4)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d04a8, 0x2ea7ffc)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d04bc, 0x2ea7a43)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d04d0, 0x2ea7489)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d04e4, 0x2ea6ece)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d04f8, 0x2ea6912)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d050c, 0x2ea6355)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0520, 0x2ea5d97)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0534, 0x2ea57d8)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0548, 0x2ea5218)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d055c, 0x2ea4c57)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0570, 0x2ea4695)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0584, 0x2ea40d2)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0598, 0x2ea3b0e)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d05ac, 0x2ea3549)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d05c0, 0x2ea2f83)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d05d4, 0x2ea29bc)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d05e8, 0x2ea23f4)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d05fc, 0x2ea1e2b)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0610, 0x2ea1861)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0624, 0x2ea1296)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0638, 0x2ea0cca)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d064c, 0x2ea06fd)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0660, 0x2ea012f)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0674, 0x2e9fb60)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0688, 0x2e9f590)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d069c, 0x2e9efbf)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d06b0, 0x2e9e9ed)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d06c4, 0x2e9e41a)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d06d8, 0x2e9de46)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d06ec, 0x2e9d871)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0700, 0x2e9d29b)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0714, 0x2e9ccc4)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0728, 0x2e9c6ec)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d073c, 0x2e9c113)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0750, 0x2e9bb39)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0764, 0x2e9b55e)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0778, 0x2e9af82)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d078c, 0x2e9a9a5)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d07a0, 0x2e9a3c7)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d07b4, 0x2e99de8)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d07c8, 0x2e99808)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d07dc, 0x2e99227)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d07f0, 0x2e98c45)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0804, 0x2e98662)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0818, 0x2e9807e)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d082c, 0x2e97a99)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0840, 0x2e974b3)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0854, 0x2e96ecc)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0868, 0x2e968e4)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d087c, 0x2e962fb)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0890, 0x2e95d11)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d08a4, 0x2e95726)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d08b8, 0x2e9513a)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d08cc, 0x2e94b4d)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d08e0, 0x2e9455f)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d08f4, 0x2e93f70)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0908, 0x2e93980)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d091c, 0x2e9338f)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0930, 0x2e92d9d)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0944, 0x2e927aa)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0958, 0x2e921b6)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d096c, 0x2e91bc1)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0980, 0x2e915cb)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0994, 0x2e90fd4)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d09a8, 0x2e909dc)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d09bc, 0x2e903e3)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d09d0, 0x2e8fde9)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d09e4, 0x2e8f7ee)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d09f8, 0x2e8f1f2)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a0c, 0x2e8ebf5)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a20, 0x2e8e5f7)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a34, 0x2e8dff8)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a48, 0x2e8d9f8)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a5c, 0x2e8d3f7)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a70, 0x2e8cdf5)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a84, 0x2e8c7f2)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0a98, 0x2e8c1ee)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0aac, 0x2e8bbe9)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0ac0, 0x2e8b5e3)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0ad4, 0x2e8afdc)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0ae8, 0x2e8a9d4)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0afc, 0x2e8a3cb)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b10, 0x2e89dc1)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b24, 0x2e897b6)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b38, 0x2e891aa)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b4c, 0x2e88b9d)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b60, 0x2e8858f)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b74, 0x2e87f80)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b88, 0x2e87970)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0b9c, 0x2e8735f)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0bb0, 0x2e86d4d)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0bc4, 0x2e8673a)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0bd8, 0x2e86126)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0bec, 0x2e85b11)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x106ddf34, 0x106d0c00, 0x2e854fb)\n\t/tmp/go-build626950043/main.go:48 +0x6c\n...additional frames elided...\n\ngoroutine 231 [runnable, locked to thread]:\nmain.grow1(0x10381f5c, 0x10381f04, 0xc6c4)\n\t/tmp/go-build626950043/main.go:42\nmain.grow1(0x10381f5c, 0x10381f18, 0x0)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x10381f5c, 0x10381f2c, 0x0)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x10381f5c, 0x10381f40, 0x0)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow1(0x10381f5c, 0x10381f60, 0x2fce8)\n\t/tmp/go-build626950043/main.go:48 +0x6c\nmain.grow()\n\t/tmp/go-build626950043/main.go:37 +0x34\nmain.go_callback()\n\t/tmp/go-build626950043/main.go:28 +0x18\n\ngoroutine 232 [runnable, locked to thread]:\nruntime.unwindm(0x107a7f64)\n\t/home/pi/go/src/runtime/cgocall.go:263\nruntime.cgocallbackg1()\n\t/home/pi/go/src/runtime/cgocall.go:261 +0x108\nruntime.cgocallbackg()\n\t/home/pi/go/src/runtime/cgocall.go:177 +0xac\nruntime.cgocallback_gofunc(0x938ea6, 0x9630, 0x104d5f78)\n\t/home/pi/go/src/runtime/asm_arm.s:609 +0x6c\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ngoroutine 233 [runnable, locked to thread]:\nruntime.goexit()\n\t/home/pi/go/src/runtime/asm_arm.s:1016 +0x4\n\ntrap    0x6\nerror   0x0\noldmask 0x0\nr0      0x0\nr1      0x333f\nr2      0x6\nr3      0x333f\nr4      0x6\nr5      0x2\nr6      0x76f19bec\nr7      0x10c\nr8      0x1032c2c0\nr9      0x76bebfb0\nr10     0x10300540\nfp      0x155198\nip      0x0\nsp      0x76beba14\nlr      0x76e198a8\npc      0x76e198dc\ncpsr    0x20000010\nfault   0x0\n"
FAIL
FAIL    runtime 266.627s
ok      runtime/debug   0.137s
ok      runtime/pprof   22.162s
--- FAIL: TestTraceSymbolize (0.26s)
    trace_stack_test.go:170: did not match event GoUnblock at runtime.selectgo:0
    trace_stack_test.go:170: seen the following events of this type:
    trace_stack_test.go:170: ---
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   runtime.chansend1:92
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize:109
    trace_stack_test.go:170:   testing.tRunner:456
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   runtime.chanrecv1:349
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize:110
    trace_stack_test.go:170:   testing.tRunner:456
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   runtime.selectgo:212
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize:170
    trace_stack_test.go:170:   testing.tRunner:456
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   sync.(*Mutex).Unlock:121
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize:115
    trace_stack_test.go:170:   testing.tRunner:456
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   sync.(*WaitGroup).Add:89
    trace_stack_test.go:170:   sync.(*WaitGroup).Done:95
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize:116
    trace_stack_test.go:170:   testing.tRunner:456
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   sync.(*Cond).Signal:71
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize:117
    trace_stack_test.go:170:   testing.tRunner:456
    trace_stack_test.go:170: ---
    trace_stack_test.go:170: ---
    trace_stack_test.go:170: ---
    trace_stack_test.go:170:   runtime.chansend1:92
    trace_stack_test.go:170:   runtime/trace_test.TestTraceSymbolize.func11:102
    trace_stack_test.go:170: ---
FAIL
FAIL    runtime/trace   29.546s
ok      sort    1.502s
ok      strconv 5.499s
ok      strings 2.025s
ok      sync    1.296s
ok      sync/atomic 6.217s
ok      syscall 0.289s
ok      testing 3.204s
ok      testing/quick   0.598s
ok      text/scanner    0.106s
ok      text/tabwriter  0.053s
ok      text/template   0.518s
ok      text/template/parse 0.098s
ok      time    7.024s
ok      unicode 0.039s
ok      unicode/utf16   0.022s
ok      unicode/utf8    0.152s
ok      cmd/addr2line   16.334s
ok      cmd/api 0.161s
ok      cmd/asm/internal/asm    0.296s
ok      cmd/asm/internal/lex    0.028s
ok      cmd/compile/internal/big    82.532s
ok      cmd/cover   32.973s
ok      cmd/doc 0.296s
ok      cmd/fix 0.137s
ok      cmd/go  324.172s
ok      cmd/gofmt   0.472s
ok      cmd/internal/goobj  0.022s
ok      cmd/internal/obj    0.092s
ok      cmd/internal/obj/x86    0.191s
ok      cmd/internal/rsc.io/arm/armasm  0.140s
ok      cmd/internal/rsc.io/x86/x86asm  3.562s
ok      cmd/newlink 0.230s
ok      cmd/nm  16.445s
ok      cmd/objdump 43.175s
ok      cmd/pack    35.955s
ok      cmd/pprof/internal/profile  0.036s
ok      cmd/vet 56.864s
2015/07/30 05:44:52 Failed: exit status 1
@davecheney

This comment has been minimized.

Copy link
Contributor

commented Jul 31, 2015

I'm tempted to put this one down to resource starvation. The RPI 2 has 4 cores and only 1gb of ram, which is probably not enough these days.

Does the test pass if you run it stand alone ?

go test -short runtime
@ajstarks

This comment has been minimized.

Copy link
Contributor Author

commented Jul 31, 2015

No, it does not pass when run stand alone. I note that beta2 did not have this behavior on the same machine.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Aug 6, 2015

It really looks like starvation to me.

@rsc rsc changed the title build: go1.5beta3 linux/arm (Raspberry Pi) TestCgoCallbackGC failure runtime: pthread_create failure in TestCgoCallbackGC on Raspberry Pi 2 linux/arm Aug 6, 2015

@rsc rsc added this to the Go1.5Maybe milestone Aug 6, 2015

@rsc

This comment has been minimized.

Copy link
Contributor

commented Aug 6, 2015

Does it still break if you run it under strace -f -o x.trace ? If so, please post the trace somewhere. Thanks.

@davecheney

This comment has been minimized.

Copy link
Contributor

commented Aug 6, 2015

I've been trying the same test on my RPI. Sometimes it passes, sometimes it
doesn't. I agree with Russ that this is probably resource starvation.

On Fri, 7 Aug 2015 04:03 Russ Cox notifications@github.com wrote:

It really looks like starvation to me.


Reply to this email directly or view it on GitHub
#11959 (comment).

@rsc rsc closed this Aug 7, 2015

@ajstarks

This comment has been minimized.

Copy link
Contributor Author

commented Aug 18, 2015

I'm not sure it's resource exhaustion. I can build rc1 on a Digital Ocean amd64 1G single core droplet with no issue. [1] I've repeated the test on the 4 core 1 Gb Pi and it still fails, even after lowering the GPU memory to the minimum [2].

Running with strace hangs.

[1] https://gist.github.com/ajstarks/06fa30721b03f442756f
[2] https://gist.github.com/ajstarks/a4e48ef7463372991d35

@davecheney

This comment has been minimized.

Copy link
Contributor

commented Aug 20, 2015

I can recreate this pretty easily on my rpi. I'd like to reopen this for 1.6, even if the eventual resolution is to disable that test in -short mode.

@davecheney davecheney reopened this Aug 20, 2015

@davecheney davecheney modified the milestones: Go1.6, Go1.5Maybe Aug 20, 2015

@davecheney davecheney self-assigned this Aug 20, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Aug 20, 2015

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

@davecheney

This comment has been minimized.

Copy link
Contributor

commented Aug 22, 2015

Thanks to the great advice from @capnm, #12035 (comment) I'm less certain that there is anything to be fixed here.

Using ulimit to set the thread stack size to 1mb allows the runtime test to pass. I think this is preferable to hard coding a thread stack size in runtime/cgo or the runtime tests, as I'm sure no matter what value we choose it'll be wrong for someone, and they'll be mad that we took away the one configuration knob (ulimit) that they had.

I'm going to assign this to @rsc to decide, but my recommendation is not make a code change, and instead advise rpi owners to use ulimit instead. I can do a blog post to explain the situation.

cc @ajstarks

@davecheney davecheney assigned rsc and unassigned davecheney Aug 22, 2015

@minux

This comment has been minimized.

Copy link
Member

commented Aug 22, 2015

@capnm

This comment has been minimized.

Copy link

commented Aug 23, 2015

@minux yes I agree, constraining the test to make it pass is ok.

The test reveals a more general issue, that Go can relatively easy crash
exhausting the kernel user virtual space, even if there is still a lot of free RAM.

On Raspberry Pi 2 (2GB user vmem, default 8M stack size) after roughly
160 blocking cgo calls. That's probably not expected (and was the reason
for my comments).

@gopherbot

This comment has been minimized.

Copy link

commented Sep 11, 2015

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

davecheney added a commit that referenced this issue Nov 24, 2015

runtime: skip CallbackGC test in short mode on linux/arm
Fixes #11959
Fixes #12035

Skip the CallbackGC test on linux/arm. This test takes between 30 and 60
seconds to run by itself, and is run 4 times over the course of ./run.bash
(once during the runtime test, three times more later in the build).

Change-Id: I4e7d3046031cd8c08f39634bdd91da6e00054caf
Reviewed-on: https://go-review.googlesource.com/14485
Reviewed-by: Russ Cox <rsc@golang.org>

@golang golang locked and limited conversation to collaborators Sep 22, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.