Skip to content

windows-latest 20220626.1: regression ThreadSanitizer failed to allocate... with go test -race #5841

@mark-pictor-csec

Description

@mark-pictor-csec

Description

Something in the latest win22 image (win22/20220626.1) is causing a regression. This is not seen with the previous image (win22/20220614.0).

The errors seen are of the form

==5248==ERROR: ThreadSanitizer failed to allocate 0x0000019b9000 (26972160) bytes at 0x200d965c00000 (error code: 87)

while running

go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic

Something similar has been seen by other people, and I suspect the cause is the same: tailscale/tailscale#4926, gobuffalo/.github#2

Platforms affected

  • Azure DevOps
  • GitHub Actions

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

failed image https://github.com/actions/virtual-environments/releases/tag/win22%2F20220626.1
failed build https://github.com/Contrast-Security-OSS/go-test-bench/runs/7101854784?check_suite_focus=true#step:4:105

working image https://github.com/actions/virtual-environments/releases/tag/win22%2F20220614.0
working build https://github.com/Contrast-Security-OSS/go-test-bench/runs/6992890616?check_suite_focus=true#step:4:620

Is it regression?

yes

Expected behavior

the build to pass, or at least to fail for reasons under our control

Actual behavior

the test run fails with errors like

==5248==ERROR: ThreadSanitizer failed to allocate 0x0000019b9000 (26972160) bytes at 0x200d965c00000 (error code: 87)

Repro steps

Re-run this job, which is the windows-latest test on our branch broken-cmd-exercise.
The workflow config can be seen at continuous-integration-workflow.yml:L29

Metadata

Metadata

Assignees

Labels

OS: Windowsbug reportexternalinvestigateCollect additional information, like space on disk, other tool incompatibilities etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions