cmd/go: cgo hang on a darwin machine #21178
Labels
FrozenDueToAge
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
Please answer these questions before submitting your issue. Thanks!
What did you do?
I was running "go build" on a project, and saw the process not return for several minutes, which is unusual, a typical build takes 3-4 seconds. Looking at ps(1) output, the build appeared to be waiting on a "cgo" job within the github.com/confluentinc/confluent-kafka-go/kafka package. I finally killed the job, and subsequent builds worked w/o a problem.
What did you expect to see?
I would expect to see go build return success or return compile errors relatively quickly. The subsequent successful builds took 3-4 seconds, the hung process had been hanging for 2+ minutes.
What did you see instead?
A hung process. An lsof of the job showed nothing significant open by the offending job:
I stupidly managed to lose the exact command being run, but I believe it was something like this one:
When I killed the offending process, I got the following output:
System details
The text was updated successfully, but these errors were encountered: