On 31 Mar 2016, at 11:14 PM, Chris Lamb <la...@debian.org> wrote:

[...]

>     dh_auto_test -O--buildsystem=golang
>       go test -v github.com/armon/gomdb
>  === RUN   TestEnvOpen
>  --- PASS: TestEnvOpen (0.00s)
>  === RUN   TestEnvCopy
>  --- PASS: TestEnvCopy (0.00s)
>       env_test.go:67: Env path: /tmp/mdb_test840057194
>  === RUN   TestTest1
>  --- FAIL: TestTest1 (0.00s)
>  panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
>       panic: runtime error: cgo argument has Go pointer to Go pointer

This appears to be something to do with how cgo rewrites calls to C functions 
in Go 1.6:

https://github.com/golang/go/issues/14210

I don't fully understand it yet but hopefully I can figure out a fix shortly.

A bigger problem is that now this package could only be runnable under one of 
Go 1.5
or Go 1.6.


Tim.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to