go: runtime: frequent crashes with "exit status 16962" on netbsd-arm64-bsiegert builder

#!watchflakes
post <- goos == "netbsd" && goarch == "arm64" && `exit status 16962`

The netbsd/arm64 builder regularly fails with a process (usually compile) exiting with exit status 16962 - some examples:

https://build.golang.org/log/21955ac5c870203c1e6ff0c9c4f3437c10778dbf https://build.golang.org/log/f58d31621ecf6eb5317790d7683479bb44b9561d https://build.golang.org/log/96764e29f501a683cccf7006af49b865d0e2f133

16962 is 0x4242 hexadecimal, which seems to suggest that sigreturn_tramp is failing to call setcontext:

https://github.com/golang/go/blob/master/src/runtime/sys_netbsd_arm64.s#L275

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 40 (35 by maintainers)

Commits related to this issue

Most upvoted comments

If the problem is Go 1.17.13, then we can have the coordinator install something newer.

The failures are typically early in the bootstrap phase, which means they are in binaries built with Go 1.14.2. I did the following two things:

  • the A64 now uses Go 1.18beta2 as its GOROOT_BOOTSTRAP, which includes the latest change on this issue.
  • I added a second machine, a Raspberry Pi 4 with NetBSD-current from January 15. Amusingly, because its system compiler is gcc 10.3, it uncovered issue #50987 (now fixed).