-
Notifications
You must be signed in to change notification settings - Fork 18k
x/exp/shiny: fatal error: found bad pointer in Go heap (darwin/amd64/gldriver) #17971
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
Labels
Milestone
Comments
shiny version:
|
Maybe a dup of #17785 ? |
I think it's important to note that this issue has been going on for at least a year, only recently it started crashing rather than hanging forever. I just tried with go1.5: (I sent SIGQUIT after a few seconds)
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Tested on 1.7.3, and on tip:
go version devel +b21743c Thu Nov 17 20:53:01 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (
go env
)?OS X El Capitan 10.11.6
What did you do?
I was running into this issue with some window resize handling code, but this crash seems to be related to allocating textures and buffers. Here is a minimal reproducer (if I remove any of the NewBuffer or NewTexture calls, or remove win.Publish(), the program exits successfully).
https://play.golang.org/p/vsmjMKZ0-H
What did you expect to see?
Either the program successfully exits, or prints a reasonable error message.
What did you see instead?
On Go 1.7.3, the program prints "published" and then hangs indefinitely. On tip, the program prints "published" and then crashes:
The text was updated successfully, but these errors were encountered: