go: Investigate go1.22rc1 SetFileInformationByHandle issue: "Invalid access to memory location"
https://github.com/moby/moby/pull/46982#issuecomment-1875350509
The bad news; looks like Windows is pretty much broken;
failed to register layer: re-exec error: exit status 1: output: SetFileInformationByHandle \\?\C:\Windows\SystemTemp\hcs2001018820\Files.$wcidirs$: Invalid access to memory location. Error: Process completed with exit code 1.That codepath seems to be hit by
go-winio;And used by hcsshim;
git grep '\.SetFileBasicInfo' vendor/github.com/Microsoft/hcsshim/internal/safefile/safeopen.go: return winio.SetFileBasicInfo(f, &sbi) vendor/github.com/Microsoft/hcsshim/internal/wclayer/baselayerwriter.go: err = winio.SetFileBasicInfo(f, &di.fileInfo) vendor/github.com/Microsoft/hcsshim/internal/wclayer/baselayerwriter.go: err = winio.SetFileBasicInfo(f, fileInfo) vendor/github.com/Microsoft/hcsshim/internal/wclayer/legacy.go: err = winio.SetFileBasicInfo(dest, fileInfo) vendor/github.com/Microsoft/hcsshim/internal/wclayer/legacy.go: err = winio.SetFileBasicInfo(f, fileInfo) vendor/github.com/Microsoft/hcsshim/internal/wclayer/legacy.go: err = winio.SetFileBasicInfo(f, &strippedFi)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (11 by maintainers)
https://github.com/microsoft/go-winio/pull/312 is merged and I believe that means https://github.com/moby/moby/pull/46982 is unblocked: closing our tracking issue.
Yes, I think opening a ticket in upstream would be a good thing to do, at least to put it on their radar, and maybe they have ideas.
I’m just in a call; if you have time, please go ahead and open a ticket 🤗
Probably related to https://go-review.googlesource.com/c/go/+/549256.