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
cgo crash (malloc/free - deadlock) on linux/arm #5114
Labels
Milestone
Comments
here is an example crashing client: // first OpenVG program package main import ( "bufio" "github.com/ajstarks/openvg" "os" ) func main() { width, height := openvg.Init() // OpenGL, etc initialization w2 := float64(width / 2) h2 := float64(height / 2) w := float64(width) openvg.Start(width, height) // Start the picture openvg.BackgroundColor("black") // Black background openvg.FillRGB(44, 100, 232, 1) // Big blue marble openvg.Circle(w2, 0, w) // The "world" openvg.FillColor("white") // White text openvg.TextMid(w2, h2, "hello, world", "serif", width/10) // Greetings openvg.End() // End the picture bufio.NewReader(os.Stdin).ReadBytes('\n') // Pause until [RETURN] openvg.Finish() // Graphics cleanup } |
Could be related to issue #5099. My example also uses globals |
Possibly duplicate of https://golang.org/issue/5227 Can you please apply https://golang.org/cl/8602044/ and test. Labels changed: added priority-soon, go1.1, cgo, arch-arm, removed priority-triage. |
Fixed when https://golang.org/cl/8602044/ is applied against go1.1beta2 (revision d58997478ec6) |
tested the fix against bubtrail colortab hellovg hgrad planets randcircle raspi shapedemo clients found in https://github.com/ajstarks/openvg/tree/master/go-client, all build and run correctly. |
This issue was closed by revision 0e76a94. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: