You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our build system that just showed up as "corrupt input", with no further context. I had to hunt for the message, it's coming from here. It was easy for me as an experienced developer to know that I should probably delete my $GOPATH/pkg directory, but others might not easily find where the error message is coming from and determine what to do.
Unfortunately I cannot provide the corrupted input, I cannot trivially determine which file is causing the problem and it is in private code. I will keep my corrupted pkg directory around for a few days in case anyone wants me to check anything, but otherwise I presume it is not useful.
The text was updated successfully, but these errors were encountered:
By the way, because of the origin of the error message I guess it could be that SIGKILL is not the root cause, I could genuinely be experiencing bit rot, or some other bug. I see that very few others have ever hit this message and reported it publicly.
I also note that the code is littered with Fatal and panic calls with no other context, so it may be that the fixing "this problem" (corruption causing error messages with no further context) would require substantial work.
So much has changed since Go 1.6 that I'm going to close this bug. We never got reports of this from others and never saw it ourselves on our builders either.
Version, Architecture: go1.6, linux/amd64
What did you do?
Interrupt a go build (possibly with
SIGKILL
), and then attempt to build again.What did you expect to see?
A successful build, or an error message telling me where the problem is and what to do.
What did you see instead?
Or, with
-x
:In our build system that just showed up as "corrupt input", with no further context. I had to hunt for the message, it's coming from here. It was easy for me as an experienced developer to know that I should probably delete my
$GOPATH/pkg
directory, but others might not easily find where the error message is coming from and determine what to do.Unfortunately I cannot provide the corrupted input, I cannot trivially determine which file is causing the problem and it is in private code. I will keep my corrupted pkg directory around for a few days in case anyone wants me to check anything, but otherwise I presume it is not useful.
The text was updated successfully, but these errors were encountered: