Scopes fail to run when built with go 1.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
go-unityscopes |
Opinion
|
Critical
|
Unassigned |
Bug Description
Despite the fixes in revision 74 of lp:go-unityscopes/v2 and the passing tests within go-unityscopes, a scope built with the new revision is still failing to run:
: ../../../bin/store -runtime "" -scope store/snappy-
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 1 [running]:
panic(0x819340, 0xc82000fee0)
/usr/lib/
launchpad.
??:0 +0x4d
launchpad.
/home/
main.main()
/home/
It seems there's no unit tests in go-unityscopes for the Run() method, and looking at the code, it seems to still be using a void* here, also passing a Go interface in, and attempting to pass that over to a method which expects a unity::
The code in main.go here is just creating an object which implements the go-unityscopes Scope interface, and passes it as an arg in scopes.Run(scope).
Changed in go-unityscopes: | |
importance: | Undecided → Critical |
Changed in go-unityscopes: | |
status: | New → Confirmed |
Changed in go-unityscopes: | |
status: | Confirmed → Opinion |