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

test failure: TestScannableSlices "cgo argument has Go pointer to Go pointer" #967

Closed
onlyjob opened this issue Apr 17, 2016 · 3 comments
Closed

Comments

@onlyjob
Copy link

onlyjob commented Apr 17, 2016

As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819641
TestScannableSlices fails on Golang 1.6:

--- FAIL: TestScannableSlices (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 

Apparently Go pointer to Go pointer is no longer allowed: golang/go#12416

@onlyjob
Copy link
Author

onlyjob commented May 1, 2016

It would be great if this problem could get some attention please...

@xrlyan
Copy link

xrlyan commented Oct 13, 2016

It exists in Golang 1.7 too.

@xrlyan
Copy link

xrlyan commented Oct 13, 2016

Found a temp way,
Run export GODEBUG=cgocheck=0 before you build it.

@jinzhu jinzhu closed this as completed Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants