-
-
Notifications
You must be signed in to change notification settings - Fork 667
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
internal/glfw: rare crash at setting an icon on macOS #2474
Comments
Which go Version are u using? And the expected is no crash right? |
(EDITED: NVM, I was misunderstanding) |
1.19.2.
Right. |
Yeah I wouldn't really expect gotip branch to work since it doesn't play nicely with goroutines. There must be a reason it thinks that we are in Cgo when we aren't yet. I need to look into this further. Fortunately, ebitengine won't flat at break in Go 1.20. Only -race when CGO_ENABLED=0 so a temporary fix is to just have them enable Cgo when using race which is already required. Plus ebitengine uses Cgo for glfw so it's okay for now. |
Hmm this is a very mysterious error and this should never happen in theory. |
I came across this golang/go#57263 issue which may relate. |
Ebitengine Version
v2.5.0-alpha.7
Operating System
Go Version (
go version
)go version go1.19.2 darwin/amd64
What steps will reproduce the problem?
Just launch an application.
What is the expected result?
What happens instead?
No crash
Anything else you feel useful to add?
The issue is very rare and there is no stable way to reproduce this.
The text was updated successfully, but these errors were encountered: