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

Examples issue "Go pointer to Go pointer" #76

rucuriousyet opened this Issue Jun 26, 2016 · 2 comments


None yet
3 participants
Copy link

rucuriousyet commented Jun 26, 2016

Last login: Sun Jun 26 18:24:04 on ttys000
Seths-Mac-mini:~ digitalblueeye$ go run /Users/digitalblueeye/Programming/Go/BLEServer.go
panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 1 [running]:
panic(0x411ff20, 0xc82000a380)
/usr/local/go/src/runtime/panic.go:481 +0x3e6, 0xc82000a360, 0xc82000a370, 0x1, 0x1, 0x4401cc0)
??:0 +0x4d, 0xf, 0x5804280, 0xc820086000, 0x0)
/Users/digitalblueeye/Programming/Go/src/ +0x1ba, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/Users/digitalblueeye/Programming/Go/src/ +0x2a5
/Users/digitalblueeye/Programming/Go/BLEServer.go:13 +0x4f
exit status 2
Seths-Mac-mini:~ digitalblueeye$

using the latest version of Mac OS X on the mac mini (also latest). I get this issue when running explorer.go or server.go


This comment has been minimized.

Copy link

jesselucas commented Jul 1, 2016

A work around is to disable the cgo check GODEBUG=cgocheck=0


$  GODEBUG=cgocheck=0 ./server

This comment has been minimized.

Copy link

kkdai commented Aug 28, 2018

In High Sierra it still another error Unhandled event: xpc.Dict{"kCBMsgId":4, "kCBMsgArgs":xpc.Dict{"kCBMsgArgState":5}} which refer to currantlabs/ble#58

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