-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/compile: uncaught RuntimeError: memory access out of bounds #38093
Comments
CC @neelance |
I could not confirm this issue on node.js, but could confirm on Chrome browser (Version 80.0.3987.149 (Official Build) (64-bit)) |
CC @dmitshur Any updates? |
I can also reproduce it. It seems |
This doesn't happen with Go 1.13.9. I think this is a regression. I'll try to bisect. |
6becb03 seems the culprit: from this commit, I saw an error, which is different from the original error though:
|
I think that somebody familiar with wasm is going to have to dig into this. My contribution here is https://golang.org/cl/171827 and https://golang.org/cl/203890. It sounds like the new timers have broken some garbage collection invariant, but I don't know what it would be. Sorry. |
Thanks @hajimehoshi and @ianlancetaylor ! I could probably look into this a little more, but maybe not today. I'm having some issue running wasm on my browser... |
@cherrymui Hi, what's going on this? Thanks. |
This is the same issue as #38574, please see my analysis there. |
Change https://golang.org/cl/230178 mentions this issue: |
Thanks. I was wondering if this will be backported to 1.14 or not since this is a memory-corruption error. |
@hajimehoshi Seems unlikely, because js/wasm is still experimental. See https://github.com/golang/go/wiki/MinorReleases for the policy on backports. |
Ah OK, that's unfortunate but makes sense. Thanks! |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Build this Go program as Wasm and run it on a browser several times:
What did you expect to see?
No error (except for 'already exit')
What did you see instead?
Sometimes I saw this error:
The text was updated successfully, but these errors were encountered: