aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorthepudds <thepudds1460@gmail.com>2025-11-05 12:18:49 -0500
committert hepudds <thepudds1460@gmail.com>2025-11-14 13:37:37 -0800
commit1a03d0db3f36c1a81a184fa15a54f716569a9972 (patch)
tree98ccc20162aeb812fa8baf95361e2e27b971bb50 /src/database/sql
parentcb0d9980f5721715ebb73dd2e580eaa11c2ddee2 (diff)
downloadgo-1a03d0db3f36c1a81a184fa15a54f716569a9972.tar.xz
runtime: skip tests for GOEXPERIMENT=arenas that do not handle clobberfree=1
When run with GODEBUG=clobberfree=1, three out of seven of the top-level tests in runtime/arena_test.go fail with a SIGSEGV inside the clobberfree function where it is overwriting freed memory with 0xdeadbeef. This is not a new problem. For example, this crashes in Go 1.20: GODEBUG=clobberfree=1 go test runtime -run=TestUserArena It would be nice for all.bash to pass with GODEBUG=clobberfree=1, including it is useful for testing the automatic reclaiming of dead memory via runtime.freegc in #74299. Given the GOEXPERIMENT=arenas in #51317 is not planned to move forward (and is hopefully slated to be replace by regions before too long), for now we just skip those three tests in order to get all.bash passing with GODEBUG=clobberfree=1. Updates #74299 Change-Id: I384d96791157b30c73457d582a45dd74c5607ee0 Reviewed-on: https://go-review.googlesource.com/c/go/+/715080 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions