[
https://issues.apache.org/jira/browse/MYNEWT-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049819#comment-16049819
]
Jacob commented on MYNEWT-755:
------------------------------
Heh. duh. Yeah I actually know that. I was probably using serial transport and
then switched to ble not thinking.
EXCEPT, it turns out ble does work on ios when I use the GODEBUG=cgocheck=0
flag :)
Jacobs-MacBook-Air:newt jacobrosenthal$ GODEBUG=cgocheck=0 newtmgr image
coredownload core.dump -cnimble_bleprph
2017/06/14 19:43:34 Unhandled event: xpc.Dict{"kCBMsgId":53,
"kCBMsgArgs":xpc.Dict{"kCBMsgArgDeviceUUID":xpc.UUID{0x2f, 0xd, 0xcb, 0x60,
0xf, 0x3e, 0x47, 0x52, 0xb7, 0x74, 0x13, 0x29, 0x3a, 0x3, 0xd4, 0xd0},
"kCBMsgArgATTMTU":104}}
Got response: 6 bytes
No corefile present
Jacobs-MacBook-Air:newt jacobrosenthal$
> newtmgr panic: runtime error: cgo argument has Go pointer to Go pointer
> -----------------------------------------------------------------------
>
> Key: MYNEWT-755
> URL: https://issues.apache.org/jira/browse/MYNEWT-755
> Project: Mynewt
> Issue Type: Bug
> Security Level: Public(Viewable by anyone)
> Components: Newtmgr
> Reporter: Jacob
> Assignee: Christopher Collins
> Fix For: v1_1_0_rel
>
>
> Googling seems to indicate maybe it needs refactoring?
> https://github.com/ry/v8worker/issues/31
> Ive tried back to mynewt_1_0_0_b2_tag and it still happens so I think its
> tied to again either xcode update or maybe a go point release?
> Jacobs-MacBook-Air:newtmgr jacobrosenthal$ go version
> go version go1.7.5 darwin/amd64
> My xcode is 8.3.2
> But I can confirm the listed workaround is to use GODEBUG=cgocheck=0 works
> but I get (possibly unrelated?) unhandled xpc events as well
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)