runtime: programs sometimes stall at launch #37254
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
A weird thing has been happening to me recently, and I'm not sure how to debug it.
I'll run
go install cmd/compile
to install a modified compiler. (In this instance, the modifications were envvar-guarded logging, so it was not a broken compiler.)Then I'll execute the compiler. To rule out any
go tool
problems or the like, I am running the compiler directly using an absolute path:/Users/josh/go/tip/pkg/tool/darwin_amd64/compile -S x.go
. And the compiler hangs.If I send a SIGQUIT, I don't get a backtrace:
It's as if the runtime stalled during launch.
Subsequent compiler runs usually work as normal.
I can't reproduce reliably, but it has happened enough that I think I'm probably not going crazy.
What should I do to debug next time this happens?
The text was updated successfully, but these errors were encountered: