-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: go list fails with 'goroutine stack exceeds' on huge project #46380
Comments
how big is "huge project"? |
It's possible there's an infinite recursion bug somewhere, but we'll need more of the stack to track it down. Does this happen consistently? Is there more output than that? |
After some investigation I found a place where it goes into infinite recursion. However I still think "go list" should be able to handle such case gracefully. |
@nuh-temp Could you please post more of the stack (at least the part where it's repeating) or provide a reproducible test case? |
This example is definitely broken from
But in my case I use bazel to build the project and it allows to have multiple |
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?
I'm running the following command which is used by
gopls
to create a list of sources along with their dependencies:and it fails with the following error:
go.mod
ContentWhat did you see instead?
Error message
The text was updated successfully, but these errors were encountered: