-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: 'go mod tidy -v' hangs and then segfaults with go1.12beta2 darwin/amd64 #30166
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
Comments
Was able to reproduce the go1.12beta2 hang / segfault on a different mac: |
here's the time it takes to segfault on Linux:
On my Mac, |
Can you show us the repo where this crash is happening so that we can diagnose this issue faster ? |
I wish I could - it is an internal project... I attach a slightly modified |
was able to reproduce hang/crash with @agnivade - I added a debugger to |
/cc @bcmills |
when I added a
|
Thanks for the report. The bug is (sadly) pretty clear: we're storing the replaced directory in the |
Here's a simple reproducer:
|
Change https://golang.org/cl/161917 mentions this issue: |
Change https://golang.org/cl/161898 mentions this issue: |
… tidy' Fixes golang#30166 Change-Id: I4704b57ed48197f512cd1b818e1f7d2fffc0d9ce Reviewed-on: https://go-review.googlesource.com/c/161898 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
… tidy' Fixes golang#30166 Change-Id: I4704b57ed48197f512cd1b818e1f7d2fffc0d9ce Reviewed-on: https://go-review.googlesource.com/c/161898 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
no
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go mod tidy -v
What did you expect to see?
no error
What did you see instead?
go mod tidy
hangs for very long time, then gives astack overflow
error:runtime: goroutine stack exceeds 1000000000-byte limit
. Copy of error dump is attached.gomodtidy-sefgault.txt
The text was updated successfully, but these errors were encountered: