go: x/build: OOM on windows-arm64 builder

#!watchflakes
default <- goos == "windows" && goarch == "arm64" && (`fatal error: runtime: cannot allocate memory` || `fatal error: out of memory`)

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestHighlight
=== PAUSE TestHighlight
=== CONT  TestHighlight
    integration_test.go:479: gopls highlight a.go:4:7: exited with code 2, want success: true (gopls highlight a.go:4:7: exit=2 stdout=<<.\a.go:4:6-13
        .\a.go:5:6-13
        >> stderr=<<fatal error: runtime: cannot allocate memory
        
        runtime stack:
        runtime.throw({0x7ff65320093e?, 0x239bedb91a8?})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.windows-arm64/src/runtime/panic.go:1067 +0x38 fp=0x54f0dff6e0 sp=0x54f0dff6b0 pc=0x7ff652654788
...
        golang.org/x/tools/gopls/internal/cache.(*analysisNode).run.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1381114845/gopls/internal/cache/analysis.go:820 +0x54 fp=0x400018bf60 sp=0x400018bf00 pc=0x7ff652db3744
        golang.org/x/sync/errgroup.(*Group).Go.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54 fp=0x400018bfd0 sp=0x400018bf60 pc=0x7ff652a74424
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.windows-arm64/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400018bfd0 sp=0x400018bfd0 pc=0x7ff65265d7e4
        created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1537
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98
        >>)
--- FAIL: TestHighlight (9.18s)

— watchflakes

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

This is a builder issue (failing in make.bat). Moving out of the gopls milestone.