runtime: esbuild sometimes crashes with fatal: morestack on g0
on 64-bit Windows
#51266
Labels
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-Windows
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, 1.17.7 is the latest release.
What operating system and processor architecture are you using (
go env
)?(this is the OS used to build the executable, but not to run it)
go env
OutputWhat did you do?
This is a new bug report as suggested by #39457 (comment). See this issue for full context: evanw/esbuild#2031. Specifically I'm the author of esbuild, a JavaScript build tool written in Go, and I have a user reporting intermittent crashes. The crashes either say
fatal: morestack on g0
or something like[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0x512894]
.What did you expect to see?
I expect users to be able to run esbuild successfully without intermittent crashes.
What did you see instead?
The crashes look something like this (see evanw/esbuild#2031 for the full stack trace):
or like this:
The problem appears to happen on 64-bit Windows. Note that esbuild does not make use of cgo. The machine is "a 3970x, i.e. 32 cores, 64 threads" according to the user. I cannot reproduce this issue myself (I don't even have a Windows machine) so I can't help debug this myself.
The text was updated successfully, but these errors were encountered: