-
Notifications
You must be signed in to change notification settings - Fork 6
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
Runtime panic with go 1.6 #4
Comments
Thanks @laibulle I will have a look at it. |
Seems I have fallen foul of this change - golang/go#12416 . I will have to re-examine how I share a references to go structures with the C world. |
jonseymour
pushed a commit
that referenced
this issue
Mar 26, 2016
In go1.6, cgo rules regarding the passing of Go pointers to C libraries changed to prevent unsafe interactions with the Go garbage collector. We need to change so that we pass an indirect reference to the Go object to the c-runtime. This code has been tested to the extent that required to address the particular panic reported with #4 However, a more extensive regression test has not yet been performed. Signed-off-by: Jon Seymour <[email protected]>
jonseymour
pushed a commit
that referenced
this issue
Mar 26, 2016
In go1.6, cgo rules regarding the passing of Go pointers to C libraries changed to prevent unsafe interactions with the Go garbage collector. We need to change so that we pass an indirect reference to the Go object to the c-runtime. This code has been tested to the extent that is required to address the particular panic reported with #4 However, a more extensive regression test has not yet been performed. Signed-off-by: Jon Seymour <[email protected]>
jonseymour
pushed a commit
that referenced
this issue
Mar 26, 2016
In go1.6, cgo rules regarding the passing of Go pointers to C libraries changed to prevent unsafe interactions with the Go garbage collector. We need to change so that we pass an indirect reference to the Go object to the c-runtime. This code has been tested to the extent that is required to address the particular panic reported with #4 However, a more extensive regression test has not yet been performed. Signed-off-by: Jon Seymour <[email protected]>
jonseymour
pushed a commit
that referenced
this issue
Mar 26, 2016
In go1.6, cgo rules regarding the passing of Go pointers to C libraries changed to prevent unsafe interactions with the Go garbage collector. We need to change so that we pass an indirect reference to the Go object to the c-runtime. This code has been tested to the extent that is required to address the particular panic reported with #4 However, a more extensive regression test has not yet been performed. Signed-off-by: Jon Seymour <[email protected]>
Closed via #5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if this package is still maintained.
When I use go 1.5, the library seems to work. But with go 1.6 I get this error
The text was updated successfully, but these errors were encountered: