<pre class="notranslate">pi@raspberrypi ~ $ go version
go version devel +c61a75775ab6 Fri Mar 22 17:46:45 2013 -0400 linux/arm
pi@raspberrypi ~ $ cd $ov/go-client/hellovg
pi@raspberrypi ~/gowork/src/github.com/ajstarks/openvg/go-client/hellovg $ ./hellovg
fatal error: malloc/free - deadlock
[signal 0xb code=0x1 addr=0x2f0 pc=0x2cc04]

goroutine 1 [syscall]:
[fp=0xb689ff1c] return()
    /home/pi/go/src/pkg/runtime/asm_arm.s:275
[fp=0xb689ff44] runtime.cgocall(0x33a54, 0xb576c)
    /home/pi/go/src/pkg/runtime/cgocall.c:149 +0xd8
[fp=0xb689ff6c] runtime.cgocall(0xb6f5f5f5, 0xff0000)
    /home/pi/go/src/pkg/runtime/cgocall.c:149 +0xd8

goroutine 2 [syscall]:

Note that all tests passed for the build.

This is my standard test when I pull a new release on my raspi-- rebuild everything,
rebuild the cgo-based openvg library, rebuild all clients.

What do you see instead?

Crash

Which compiler are you using (5g, 6g, 8g, gccgo)?

5g, cgo

Which operating system are you using?

Linux raspberrypi 3.6.11+ #385 PREEMPT Fri Mar 1 21:53:22 GMT 2013 armv6l GNU/Linux

Which version are you using?  (run 'go version')

go version devel +c61a75775ab6 Fri Mar 22 17:46:45 2013 -0400 linux/arm

Please provide any additional information below.

The crashing program is linked with a cgo-created OpenVG library. See:
<a href="https://github.com/ajstarks/openvg/blob/master/openvg.go">https://github.com/ajstarks/openvg/blob/master/openvg.go</a></pre>
<pre class="notranslate">What does 'go version' print?
go version go1.3beta2 +5bf1a8b3aeea Thu May 29 13:47:31 2014 -0400 darwin/amd64

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

1. run this code: <a href="http://play.golang.org/p/hxuIOC49ac" rel="nofollow">http://play.golang.org/p/hxuIOC49ac</a>

What happened?
A quarter to a half of the requests have errors such as:
- http: can't write HTTP request on broken connection
- Get <a href="http://www.adobe.com/nz/nz-sitemap.xml" rel="nofollow">http://www.adobe.com/nz/nz-sitemap.xml</a>: EOF

What should have happened instead?
All get requests should succeed

Please provide any additional information below.
If you put a 1 second sleep between each request they all succeed

I looked for possibly related issues and this and found these that seem to be related:
<a href="https://golang.org/issue/4677" rel="nofollow">https://golang.org/issue/4677</a>
<a href="https://golang.org/issue/3514" rel="nofollow">https://golang.org/issue/3514</a></pre>