You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2017/06/14 21:45:00 UTC

[jira] [Resolved] (MYNEWT-755) newtmgr panic: runtime error: cgo argument has Go pointer to Go pointer

     [ https://issues.apache.org/jira/browse/MYNEWT-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Collins resolved MYNEWT-755.
----------------------------------------
    Resolution: Won't Fix

Ah, I see.  Sorry... somehow I missed that you were using a BLE connection profile.

The gatt library (what newtmgr uses for BLE connectivity) doesn't work in Mac OS.  That is why you're seeing that ugly crash dump.  We could add a proper error message instead of the crash, but I don't think it matters too much in this case because we'll be replacing that version of newtmgr with one that actually does work in Mac OS: https://github.com/apache/incubator-mynewt-newtmgr

> 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)