Skip to content
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

v1.2.0 enters infinite loop #162

Closed
RaduBerinde opened this issue Jan 10, 2019 · 3 comments
Closed

v1.2.0 enters infinite loop #162

RaduBerinde opened this issue Jan 10, 2019 · 3 comments

Comments

@RaduBerinde
Copy link

Running errcheck on the CockroachDB code.

With errcheck v1.1.0:

$ time ~/roach2/bin/errcheck -exclude pkg/testutils/lint/testdata/errcheck_excludes.txt ./pkg/...

real	0m7.966s
user	0m45.962s
sys	0m5.611s

With v1.2.0, the same command doesn't finish (I waited 10 minutes). I also notice that a single core is pinned at 100% while it's running.

RaduBerinde added a commit to RaduBerinde/cockroach that referenced this issue Jan 10, 2019
RaduBerinde added a commit to RaduBerinde/cockroach that referenced this issue Jan 11, 2019
@RaduBerinde
Copy link
Author

This was with go 1.10.

@RaduBerinde
Copy link
Author

Looks like it works fine with go 1.11. Possibly related to golang/go#29427

@echlebek
Copy link
Collaborator

Hmm, I guess we can chalk it up to that x/tools bug? We've since dropped support for that Go version, so I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants