runtime: deadlock on blocking call #39928
Labels
arch-wasm
WebAssembly issues
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
This happens when compiling Go code into wasm with:
GOOS=js GOARCH=wasm go build -o ./Go/assets/main.wasm wasm.go
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?
Attempted to make a request from compiled Wasm code.
What did you expect to see?
A string in a HTML element.
What did you see instead?
fatal error: all goroutines are asleep - deadlock!
wasm_exec.js:47
wasm_exec.js:47 goroutine 1 [select (no cases)]:
The text was updated successfully, but these errors were encountered: