cmd/compile: WebAssembly built from fyne_demo command crashes browser optimizer in Chrome #51241
Labels
arch-wasm
WebAssembly issues
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-JS
Milestone
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
)?This is a bug concerning the webassembly output and its use in Chrome.
go env
OutputWhat did you do?
Running fyne_demo (https://github.com/fyne-io/fyne/tree/master/cmd/fyne_demo) from the develop branch as a web assembly application in Chrome lead to its optimizer crashing in version >100 and an infinite loop in nightly build. I have hosted a demo online at https://fyne.ddlm.me/ that will show the problem.
A bug has been opened for Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=1287331 , but in case there is something that can be done on the go side of the command, it would be interesting to know.
What did you expect to see?
I would expect the same result on Chrome as I get on Safari and Firefox, a running application.
What did you see instead?
It does crash on Chrome inside its optimization pass after 15s of the application running (it get disable when using the web dev tools) while it work on Firefox and Safari.
The text was updated successfully, but these errors were encountered: