openbsd-riscv64-jsing at fbfe62bc802d27539a858afd66ae335ff94b1d25 :: Running /home/gopher/build/go/src/make.bash with args ["/home/gopher/build/go/src/make.bash" "-force"] and env ["_=/home/gopher/go/bin/buildlet" "LOGNAME=gopher" "HOME=/home/gopher" "GOPATH=/home/gopher/go" "ENV=/home/gopher/.kshrc" "PATH=/home/gopher/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/home/gopher/go/bin:/home/gopher/src/go/bin" "SHELL=/bin/ksh" "PS1=[\\u@\\h \\w \\#]$ " "TERM=screen" "USER=gopher" "WORKDIR=/home/gopher/build" "GO_BUILDER_NAME=openbsd-riscv64-jsing" "GO_BUILDER_FLAKY_NET=1" "GOROOT_BOOTSTRAP=/home/gopher/go-openbsd-riscv64-bootstrap" "GO_TEST_TIMEOUT_SCALE=3" "GOBIN=" "TMPDIR=/home/gopher/build/tmp" "GOCACHE=/home/gopher/build/gocache" "GOPLSCACHE=/home/gopher/build/goplscache" "PWD=/home/gopher/build/go/src"] in dir /home/gopher/build/go/src Building Go cmd/dist using /home/gopher/go-openbsd-riscv64-bootstrap. (devel go1.22-fa62143c6f Thu Aug 3 15:55:17 2023 +1000 openbsd/riscv64) Building Go toolchain1 using /home/gopher/go-openbsd-riscv64-bootstrap. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for openbsd/riscv64. --- Installed Go for openbsd/riscv64 in /home/gopher/build/go Installed commands in /home/gopher/build/go/bin *** You need to add /home/gopher/build/go/bin to your PATH. ##### Test execution environment. # GOARCH: riscv64 # CPU: # GOOS: openbsd # OS Version: OpenBSD 7.4 OpenBSD 7.4 (GENERIC.MP) #427: Tue Oct 10 10:26:56 MDT 2023 deraadt@riscv64.openbsd.org:/usr/src/sys/arch/riscv64/compile/GENERIC.MP riscv64 ##### Testing packages. ok archive/tar 1.942s ok archive/zip 4.008s ok bufio 0.522s ok bytes 2.221s ok cmp 0.161s ok compress/bzip2 0.658s ok compress/flate 8.929s ok compress/gzip 24.029s ok compress/lzw 0.528s ok compress/zlib 3.052s ok container/heap 0.204s ok container/list 0.168s ok container/ring 0.121s ok context 0.320s ok crypto 0.121s ok crypto/aes 0.184s ok crypto/cipher 0.144s ok crypto/des 0.162s ok crypto/dsa 0.177s ok crypto/ecdh 0.429s ok crypto/ecdsa 0.353s ok crypto/ed25519 0.625s ok crypto/elliptic 0.232s ok crypto/hmac 0.131s ok crypto/internal/alias 0.159s ok crypto/internal/bigmod 1.827s ok crypto/internal/boring 0.181s ok crypto/internal/boring/bcache 0.948s ok crypto/internal/edwards25519 0.935s ok crypto/internal/edwards25519/field 0.254s ok crypto/internal/nistec 1.370s ok crypto/internal/nistec/fiat 0.158s [no tests to run] ok crypto/md5 0.107s ok crypto/rand 0.629s ok crypto/rc4 0.421s ok crypto/rsa 3.486s ok crypto/sha1 0.135s ok crypto/sha256 0.139s ok crypto/sha512 0.156s ok crypto/subtle 1.083s ok crypto/tls 3.708s ok crypto/x509 5.308s ok database/sql 1.299s ok database/sql/driver 0.174s ok debug/buildinfo 0.225s ok debug/dwarf 0.432s ok debug/elf 1.983s ok debug/gosym 0.464s ok debug/macho 0.163s ok debug/pe 0.300s ok debug/plan9obj 0.128s ok embed 0.167s [no tests to run] ok embed/internal/embedtest 0.192s ok encoding/ascii85 0.215s ok encoding/asn1 0.164s ok encoding/base32 0.303s ok encoding/base64 0.107s ok encoding/binary 0.193s ok encoding/csv 0.245s ok encoding/gob 18.776s ok encoding/hex 0.113s ok encoding/json 3.681s ok encoding/pem 5.913s ok encoding/xml 0.811s ok errors 0.204s ok expvar 0.181s ok flag 0.419s ok fmt 1.044s ok go/ast 0.110s ok go/build 24.821s ok go/build/constraint 0.134s ok go/constant 0.160s ok go/doc 0.667s ok go/doc/comment 6.963s ok go/format 0.255s ok go/importer 3.436s ok go/internal/gccgoimporter 0.284s ok go/internal/gcimporter 17.611s ok go/internal/srcimporter 9.747s ok go/parser 3.646s ok go/printer 1.670s ok go/scanner 0.523s ok go/token 1.212s ok go/types 96.252s ok go/version 0.110s ok hash 0.138s ok hash/adler32 0.179s ok hash/crc32 0.219s ok hash/crc64 0.186s ok hash/fnv 0.168s ok hash/maphash 0.749s ok html 0.106s ok html/template 0.664s ok image 0.600s ok image/color 0.284s ok image/draw 0.994s ok image/gif 1.676s ok image/jpeg 1.758s ok image/png 2.980s ok index/suffixarray 7.371s ok internal/abi 0.874s ok internal/buildcfg 0.116s ok internal/coverage/cformat 0.180s ok internal/coverage/cmerge 0.162s ok internal/coverage/pods 0.197s ok internal/coverage/slicereader 0.095s ok internal/coverage/slicewriter 0.148s ok internal/coverage/test 0.147s ok internal/cpu 0.261s ok internal/dag 0.186s ok internal/diff 0.212s ok internal/fmtsort 0.159s ok internal/fuzz 0.264s ok internal/godebug 5.578s ok internal/godebugs 0.110s ok internal/gover 0.084s ok internal/intern 1.671s ok internal/itoa 0.126s ok internal/platform 14.743s ok internal/poll 0.181s ok internal/profile 0.141s ok internal/reflectlite 0.129s ok internal/safefilepath 0.111s ok internal/saferio 0.651s ok internal/singleflight 0.317s ok internal/testenv 2.418s ok internal/trace 0.607s ok internal/trace/v2 46.304s ok internal/types/errors 5.656s ok internal/unsafeheader 0.090s ok internal/xcoff 0.168s ok internal/zstd 0.525s ok io 0.551s ok io/fs 2.197s ok io/ioutil 0.212s ok log 0.182s ok log/slog 0.337s ok log/slog/internal/benchmarks 0.119s ok log/slog/internal/buffer 0.161s ok log/syslog 1.504s ok maps 0.122s ok math 0.166s ok math/big 19.361s ok math/bits 0.118s ok math/cmplx 0.100s ok math/rand 2.275s ok math/rand/v2 2.904s ok mime 0.175s ok mime/multipart 7.622s ok mime/quotedprintable 0.303s ok net 19.537s ok net/http 54.870s ok net/http/cgi 2.051s ok net/http/cookiejar 0.158s ok net/http/fcgi 0.393s ok net/http/httptest 0.428s ok net/http/httptrace 0.177s ok net/http/httputil 1.149s ok net/http/internal 0.199s ok net/http/internal/ascii 0.094s ok net/http/pprof 4.382s ok net/internal/socktest 0.119s ok net/mail 0.143s ok net/netip 3.933s ok net/rpc 0.284s ok net/rpc/jsonrpc 0.137s ok net/smtp 0.241s ok net/textproto 0.281s ok net/url 0.170s ok os 3.498s ok os/exec 3.869s ok os/exec/internal/fdtest 0.093s ok os/signal 6.940s ok os/user 0.189s ok path 0.297s ok path/filepath 0.376s ok plugin 0.107s ok reflect 2.101s ok regexp 4.978s ok regexp/syntax 11.801s ok runtime 185.339s ok runtime/coverage 0.185s ok runtime/debug 1.362s ok runtime/internal/atomic 0.459s ok runtime/internal/math 0.146s ok runtime/internal/sys 0.146s ok runtime/internal/wasitest 0.102s ok runtime/metrics 0.112s ok runtime/pprof 16.683s ok runtime/trace 0.536s ok slices 0.704s ok sort 0.369s ok strconv 3.880s ok strings 38.530s ok sync 2.141s ok sync/atomic 14.154s ok syscall 2.810s ok testing 3.666s ok testing/fstest 0.210s ok testing/iotest 0.166s ok testing/quick 0.544s ok testing/slogtest 0.102s ok text/scanner 0.144s ok text/tabwriter 0.125s ok text/template 0.436s ok text/template/parse 0.166s ok time 5.313s ok unicode 0.121s ok unicode/utf16 0.115s ok unicode/utf8 0.160s ok cmd/addr2line 13.816s ok cmd/api 10.026s ok cmd/asm/internal/asm 5.041s ok cmd/asm/internal/lex 0.206s ok cmd/cgo/internal/swig 0.349s ok cmd/cgo/internal/test 0.187s ok cmd/cgo/internal/testcarchive 4.043s ok cmd/cgo/internal/testcshared 3.984s ok cmd/cgo/internal/testerrors 0.470s ok cmd/cgo/internal/testfortran 0.421s ok cmd/cgo/internal/testgodefs 0.481s ok cmd/cgo/internal/testlife 0.438s ok cmd/cgo/internal/testnocgo 0.089s ok cmd/cgo/internal/testplugin 0.138s ok cmd/cgo/internal/testsanitizers 0.121s [no tests to run] ok cmd/cgo/internal/testshared 0.225s ok cmd/cgo/internal/testso 0.419s ok cmd/cgo/internal/teststdio 0.402s ok cmd/cgo/internal/testtls 0.124s ok cmd/compile/internal/abt 0.163s ok cmd/compile/internal/amd64 0.120s ok cmd/compile/internal/base 0.130s ok cmd/compile/internal/compare 0.163s ok cmd/compile/internal/devirtualize 0.105s ok cmd/compile/internal/dwarfgen 3.562s ok cmd/compile/internal/importer 16.086s ok cmd/compile/internal/inline/inlheur 8.748s ok cmd/compile/internal/ir 0.221s ok cmd/compile/internal/logopt 0.870s ok cmd/compile/internal/loopvar 0.192s ok cmd/compile/internal/noder 0.196s ok cmd/compile/internal/reflectdata 0.142s [no tests to run] ok cmd/compile/internal/ssa 72.348s ok cmd/compile/internal/syntax 0.547s ok cmd/compile/internal/test 140.832s ok cmd/compile/internal/typecheck 4.970s ok cmd/compile/internal/types 0.098s ok cmd/compile/internal/types2 75.457s ok cmd/covdata 0.204s ok cmd/cover 20.241s ok cmd/dist 0.214s ok cmd/distpack 0.208s ok cmd/doc 2.703s ok cmd/fix 100.549s ok cmd/go 634.381s ok cmd/go/internal/auth 0.097s ok cmd/go/internal/cache 1.633s ok cmd/go/internal/cfg 0.136s [no tests to run] ok cmd/go/internal/envcmd 0.781s ok cmd/go/internal/fsys 0.967s ok cmd/go/internal/generate 0.292s ok cmd/go/internal/gover 0.214s ok cmd/go/internal/imports 0.276s ok cmd/go/internal/load 0.132s ok cmd/go/internal/lockedfile 0.773s ok cmd/go/internal/lockedfile/internal/filelock 0.269s ok cmd/go/internal/modfetch 0.164s ok cmd/go/internal/modfetch/codehost 18.262s ok cmd/go/internal/modfetch/zip_sum_test 0.213s ok cmd/go/internal/modindex 1.950s ok cmd/go/internal/modload 0.341s ok cmd/go/internal/mvs 0.221s ok cmd/go/internal/par 0.263s ok cmd/go/internal/str 0.116s ok cmd/go/internal/test 0.430s ok cmd/go/internal/toolchain 0.209s ok cmd/go/internal/vcs 0.271s ok cmd/go/internal/vcweb 0.393s ok cmd/go/internal/vcweb/vcstest 21.622s ok cmd/go/internal/web 0.130s ok cmd/go/internal/work 1.465s ok cmd/gofmt 0.662s ok cmd/internal/archive 3.257s ok cmd/internal/buildid 3.274s ok cmd/internal/cov 4.504s ok cmd/internal/dwarf 0.137s ok cmd/internal/edit 0.119s ok cmd/internal/goobj 0.090s ok cmd/internal/moddeps 14.456s ok cmd/internal/notsha256 0.133s ok cmd/internal/obj 7.077s ok cmd/internal/obj/ppc64 2.089s ok cmd/internal/obj/riscv 5.383s ok cmd/internal/obj/s390x 0.169s ok cmd/internal/obj/x86 35.934s ok cmd/internal/objabi 0.972s ok cmd/internal/pkgpath 0.534s ok cmd/internal/pkgpattern 0.126s ok cmd/internal/quoted 0.105s ok cmd/internal/src 0.088s ok cmd/internal/test2json 1.726s ok cmd/link 52.369s ok cmd/link/internal/benchmark 0.135s ok cmd/link/internal/ld 94.763s ok cmd/link/internal/loader 0.352s ok cmd/nm 14.468s ok cmd/objdump 0.861s ok cmd/pack 9.445s ok cmd/pprof 0.154s ok cmd/trace 0.155s ok cmd/trace/v2 0.585s ok cmd/vet 92.350s ##### os/user with tag osusergo ok os/user 0.151s ##### hash/maphash purego implementation ok hash/maphash 0.663s ##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick --- FAIL: TestArenaCollision (0.31s) malloc_test.go:284: === RUN TestArenaCollision malloc_test.go:301: reserved [0x90000000, 0x94000000) malloc_test.go:301: reserved [0xbc000000, 0xc0000000) malloc_test.go:301: reserved [0x54000000, 0x58000000) malloc_test.go:301: reserved [0x178000000, 0x17c000000) malloc_test.go:301: reserved [0xd0000000, 0xd4000000) runtime: inUse=0 npages=1 fatal error: allocated pages below zero? runtime stack: runtime.throw({0x44a781?, 0x0?}) /home/gopher/build/go/src/runtime/panic.go:1023 +0x44 fp=0xf3b5db68 sp=0xf3b5db40 pc=0x4dc3c runtime.(*scavChunkData).free(0x0?, 0x1, 0x0?) /home/gopher/build/go/src/runtime/mgcscavenge.go:1338 +0xd8 fp=0xf3b5db88 sp=0xf3b5db68 pc=0x3a0d0 runtime.(*scavengeIndex).free(0x76ea80, 0x230, 0xb0, 0x1) /home/gopher/build/go/src/runtime/mgcscavenge.go:1151 +0xa4 fp=0xf3b5dbc0 sp=0xf3b5db88 pc=0x39d0c runtime.(*pageAlloc).free(0x75e9c8, 0x8c160000, 0x1) /home/gopher/build/go/src/runtime/mpagealloc.go:950 +0x26c fp=0xf3b5dc48 sp=0xf3b5dbc0 pc=0x42bb4 runtime.(*mheap).freeSpanLocked(0x75e9c0, 0xd510f878, 0x0) /home/gopher/build/go/src/runtime/mheap.go:1640 +0x238 fp=0xf3b5dc98 sp=0xf3b5dc48 pc=0x3f600 runtime.(*sweepLocked).sweep.(*mheap).freeSpan.func3() /home/gopher/build/go/src/runtime/mheap.go:1567 +0x7c fp=0xf3b5dcd8 sp=0xf3b5dc98 pc=0x3c114 runtime.(*mheap).freeSpan(...) /home/gopher/build/go/src/runtime/mheap.go:1551 runtime.(*sweepLocked).sweep(0x7061c?, 0x70?) /home/gopher/build/go/src/runtime/mgcsweep.go:757 +0x790 fp=0xf3b5dde8 sp=0xf3b5dcd8 pc=0x3b970 runtime.(*mcentral).uncacheSpan(0x0?, 0x8c04c708?) /home/gopher/build/go/src/runtime/mcentral.go:236 +0xd0 fp=0xf3b5de08 sp=0xf3b5dde8 pc=0x2aa60 runtime.(*mcache).releaseAll(0x46532108) /home/gopher/build/go/src/runtime/mcache.go:291 +0x178 fp=0xf3b5de70 sp=0xf3b5de08 pc=0x2a310 runtime.(*mcache).prepareForSweep(0x46532108) /home/gopher/build/go/src/runtime/mcache.go:328 +0x64 fp=0xf3b5dea0 sp=0xf3b5de70 pc=0x2a414 runtime.acquirep(0x8c034008) /home/gopher/build/go/src/runtime/proc.go:5753 +0x38 fp=0xf3b5dec0 sp=0xf3b5dea0 pc=0x5d728 runtime.stopm() /home/gopher/build/go/src/runtime/proc.go:2799 +0xac fp=0xf3b5dee8 sp=0xf3b5dec0 pc=0x55d5c runtime.gcstopm() /home/gopher/build/go/src/runtime/proc.go:3097 +0xd0 fp=0xf3b5df08 sp=0xf3b5dee8 pc=0x56aa0 runtime.findRunnable() /home/gopher/build/go/src/runtime/proc.go:3165 +0x2a8 fp=0xf3b5e070 sp=0xf3b5df08 pc=0x56f30 runtime.schedule() /home/gopher/build/go/src/runtime/proc.go:3884 +0xa0 fp=0xf3b5e0a0 sp=0xf3b5e070 pc=0x58e00 runtime.goschedImpl(0x8c001860, 0x1) /home/gopher/build/go/src/runtime/proc.go:4081 +0x1e8 fp=0xf3b5e0e8 sp=0xf3b5e0a0 pc=0x59678 runtime.gopreempt_m(...) /home/gopher/build/go/src/runtime/proc.go:4098 runtime.newstack() /home/gopher/build/go/src/runtime/stack.go:1070 +0x2b8 fp=0xf3b5e288 sp=0xf3b5e0e8 pc=0x6b680 runtime.morestack() /home/gopher/build/go/src/runtime/asm_riscv64.s:223 +0x58 fp=0xf3b5e290 sp=0xf3b5e288 pc=0x8b580 goroutine 1 gp=0x8c0001a0 m=nil [chan receive]: runtime.gopark(0x8c07ed00?, 0x8c07ed88?, 0x0?, 0x6?, 0x4653af28?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x8c137980 sp=0x8c137968 pc=0x51768 runtime.chanrecv(0x8c06a3f0, 0x8c137a67, 0xc0?) /home/gopher/build/go/src/runtime/chan.go:583 +0x420 fp=0x8c1379f8 sp=0x8c137980 pc=0x16f78 runtime.chanrecv1(0x74e160?, 0x3ac4a0?) /home/gopher/build/go/src/runtime/chan.go:442 +0x14 fp=0x8c137a18 sp=0x8c1379f8 pc=0x16b24 testing.(*T).Run(0x8c001520, {0x44102b?, 0xa8820?}, 0x4674d0) /home/gopher/build/go/src/testing/testing.go:1750 +0x35c fp=0x8c137ad0 sp=0x8c137a18 pc=0x114bd4 testing.runTests.func1(0x8c001520) /home/gopher/build/go/src/testing/testing.go:2161 +0x4c fp=0x8c137b08 sp=0x8c137ad0 pc=0x116944 testing.tRunner(0x8c001520, 0x8c137c10) /home/gopher/build/go/src/testing/testing.go:1689 +0x108 fp=0x8c137b50 sp=0x8c137b08 pc=0x113f78 testing.runTests(0x8c00a138, {0x748140, 0x196, 0x196}, {0x38?, 0x1fe50?, 0x0?}) /home/gopher/build/go/src/testing/testing.go:2159 +0x404 fp=0x8c137c30 sp=0x8c137b50 pc=0x11686c testing.(*M).Run(0x8c1017c0) /home/gopher/build/go/src/testing/testing.go:2027 +0x5ec fp=0x8c137e58 sp=0x8c137c30 pc=0x115554 runtime_test.TestMain(0x8c1017c0) /home/gopher/build/go/src/runtime/crash_test.go:29 +0x44 fp=0x8c137eb8 sp=0x8c137e58 pc=0x2d732c main.main() _testmain.go:1479 +0x174 fp=0x8c137f68 sp=0x8c137eb8 pc=0x374e64 runtime.main() /home/gopher/build/go/src/runtime/proc.go:271 +0x27c fp=0x8c137fd8 sp=0x8c137f68 pc=0x512dc runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c137fd8 sp=0x8c137fd8 pc=0x8d684 goroutine 2 gp=0x8c000680 m=nil [force gc (idle)]: runtime.gopark(0x74f7a0?, 0x720a00?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x8c0467a8 sp=0x8c046790 pc=0x51768 runtime.goparkunlock(...) /home/gopher/build/go/src/runtime/proc.go:408 runtime.forcegchelper() /home/gopher/build/go/src/runtime/proc.go:326 +0xd4 fp=0x8c0467d8 sp=0x8c0467a8 pc=0x515ac runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c0467d8 sp=0x8c0467d8 pc=0x8d684 created by runtime.init.5 in goroutine 1 /home/gopher/build/go/src/runtime/proc.go:314 +0x28 goroutine 3 gp=0x8c000b60 m=nil [runnable]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x8c046f88 sp=0x8c046f70 pc=0x51768 runtime.goparkunlock(...) /home/gopher/build/go/src/runtime/proc.go:408 runtime.bgsweep(0x8c06a000) /home/gopher/build/go/src/runtime/mgcsweep.go:317 +0x124 fp=0x8c046fc8 sp=0x8c046f88 pc=0x3ac54 runtime.gcenable.gowrap1() /home/gopher/build/go/src/runtime/mgc.go:203 +0x2c fp=0x8c046fd8 sp=0x8c046fc8 pc=0x2eec4 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c046fd8 sp=0x8c046fd8 pc=0x8d684 created by runtime.gcenable in goroutine 1 /home/gopher/build/go/src/runtime/mgc.go:203 +0x70 goroutine 4 gp=0x8c000d00 m=nil [GC scavenge wait]: runtime.gopark(0x0?, 0x40c3880000000000?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x8c047788 sp=0x8c047770 pc=0x51768 runtime.goparkunlock(...) /home/gopher/build/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x74e960) /home/gopher/build/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x8c0477b0 sp=0x8c047788 pc=0x38620 runtime.bgscavenge(0x8c06a000) /home/gopher/build/go/src/runtime/mgcscavenge.go:658 +0x6c fp=0x8c0477c8 sp=0x8c0477b0 pc=0x38b6c runtime.gcenable.gowrap2() /home/gopher/build/go/src/runtime/mgc.go:204 +0x2c fp=0x8c0477d8 sp=0x8c0477c8 pc=0x2ee74 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c0477d8 sp=0x8c0477d8 pc=0x8d684 created by runtime.gcenable in goroutine 1 /home/gopher/build/go/src/runtime/mgc.go:204 +0xb0 goroutine 5 gp=0x8c000ea0 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x8c047da8 sp=0x8c047d90 pc=0x51768 runtime.runfinq() /home/gopher/build/go/src/runtime/mfinal.go:194 +0x108 fp=0x8c047fd8 sp=0x8c047da8 pc=0x2dea0 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c047fd8 sp=0x8c047fd8 pc=0x8d684 created by runtime.createfing in goroutine 1 /home/gopher/build/go/src/runtime/mfinal.go:164 +0x64 goroutine 6 gp=0x8c001860 m=nil [runnable]: runtime.gcTrigger.test({0x0, 0x0, 0x0}) /home/gopher/build/go/src/runtime/mgc.go:568 +0x18 fp=0x8c05cd40 sp=0x8c05cd40 pc=0x2f258 runtime.mallocgc(0x100000, 0x3d4660, 0x1) /home/gopher/build/go/src/runtime/malloc.go:1307 +0x6e4 fp=0x8c05cdd0 sp=0x8c05cd40 pc=0x2002c runtime.newobject(0x8c0267c0?) /home/gopher/build/go/src/runtime/malloc.go:1390 +0x38 fp=0x8c05cdf0 sp=0x8c05cdd0 pc=0x20258 runtime_test.TestArenaCollision(0x8c0016c0) /home/gopher/build/go/src/runtime/malloc_test.go:307 +0x43c fp=0x8c05cf78 sp=0x8c05cdf0 pc=0x2f7dbc testing.tRunner(0x8c0016c0, 0x4674d0) /home/gopher/build/go/src/testing/testing.go:1689 +0x108 fp=0x8c05cfc0 sp=0x8c05cf78 pc=0x113f78 testing.(*T).Run.gowrap1() /home/gopher/build/go/src/testing/testing.go:1742 +0x30 fp=0x8c05cfd8 sp=0x8c05cfc0 pc=0x114cd8 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c05cfd8 sp=0x8c05cfd8 pc=0x8d684 created by testing.(*T).Run in goroutine 1 /home/gopher/build/go/src/testing/testing.go:1742 +0x348 goroutine 7 gp=0x8c001a00 m=0 mp=0x74f7a0 [flushing proc caches]: runtime.systemstack_switch() /home/gopher/build/go/src/runtime/asm_riscv64.s:96 +0x8 fp=0x8c0484b0 sp=0x8c0484a8 pc=0x8b448 runtime.forEachP(...) /home/gopher/build/go/src/runtime/proc.go:1911 runtime.gcMarkTermination({0xa0?, 0xdb4a8796aa5bb?}) /home/gopher/build/go/src/runtime/mgc.go:1124 +0x5d0 fp=0x8c0486c0 sp=0x8c0484b0 pc=0x304f0 runtime.gcMarkDone() /home/gopher/build/go/src/runtime/mgc.go:927 +0x2c4 fp=0x8c048748 sp=0x8c0486c0 pc=0x2fd2c runtime.gcBgMarkWorker() /home/gopher/build/go/src/runtime/mgc.go:1446 +0x36c fp=0x8c0487d8 sp=0x8c048748 pc=0x311ac runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c0487d8 sp=0x8c0487d8 pc=0x8d684 created by runtime.gcBgMarkStartWorkers in goroutine 6 /home/gopher/build/go/src/runtime/mgc.go:1234 +0x2c goroutine 17 gp=0x8c084340 m=nil [GC worker (idle)]: runtime.gopark(0x8c0427c0?, 0x0?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x8c042748 sp=0x8c042730 pc=0x51768 runtime.gcBgMarkWorker() /home/gopher/build/go/src/runtime/mgc.go:1310 +0xe4 fp=0x8c0427d8 sp=0x8c042748 pc=0x30f24 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x8c0427d8 sp=0x8c0427d8 pc=0x8d684 created by runtime.gcBgMarkStartWorkers in goroutine 6 /home/gopher/build/go/src/runtime/mgc.go:1234 +0x2c (exit status exit status 2) --- FAIL: TestArenaCollision (0.32s) malloc_test.go:284: === RUN TestArenaCollision malloc_test.go:301: reserved [0x74000000, 0x78000000) malloc_test.go:301: reserved [0x8c000000, 0x90000000) malloc_test.go:301: reserved [0x80000000, 0x84000000) malloc_test.go:301: reserved [0x54000000, 0x58000000) malloc_test.go:301: reserved [0x48000000, 0x4c000000) runtime: inUse=0 npages=1 fatal error: allocated pages below zero? runtime stack: runtime.throw({0x44a781?, 0x0?}) /home/gopher/build/go/src/runtime/panic.go:1023 +0x44 fp=0x1255c04f8 sp=0x1255c04d0 pc=0x4dc3c runtime.(*scavChunkData).free(0x0?, 0x1, 0x0?) /home/gopher/build/go/src/runtime/mgcscavenge.go:1338 +0xd8 fp=0x1255c0518 sp=0x1255c04f8 pc=0x3a0d0 runtime.(*scavengeIndex).free(0x76ea80, 0x1c0, 0xb4, 0x1) /home/gopher/build/go/src/runtime/mgcscavenge.go:1151 +0xa4 fp=0x1255c0550 sp=0x1255c0518 pc=0x39d0c runtime.(*pageAlloc).free(0x75e9c8, 0x70168000, 0x1) /home/gopher/build/go/src/runtime/mpagealloc.go:950 +0x26c fp=0x1255c05d8 sp=0x1255c0550 pc=0x42bb4 runtime.(*mheap).freeSpanLocked(0x75e9c0, 0xbf795558, 0x0) /home/gopher/build/go/src/runtime/mheap.go:1640 +0x238 fp=0x1255c0628 sp=0x1255c05d8 pc=0x3f600 runtime.(*sweepLocked).sweep.(*mheap).freeSpan.func3() /home/gopher/build/go/src/runtime/mheap.go:1567 +0x7c fp=0x1255c0668 sp=0x1255c0628 pc=0x3c114 runtime.(*mheap).freeSpan(...) /home/gopher/build/go/src/runtime/mheap.go:1551 runtime.(*sweepLocked).sweep(0x7061c?, 0x70?) /home/gopher/build/go/src/runtime/mgcsweep.go:757 +0x790 fp=0x1255c0778 sp=0x1255c0668 pc=0x3b970 runtime.(*mcentral).uncacheSpan(0x100000000?, 0x7004c708?) /home/gopher/build/go/src/runtime/mcentral.go:236 +0xd0 fp=0x1255c0798 sp=0x1255c0778 pc=0x2aa60 runtime.(*mcache).releaseAll(0x9db3b108) /home/gopher/build/go/src/runtime/mcache.go:291 +0x178 fp=0x1255c0800 sp=0x1255c0798 pc=0x2a310 runtime.(*mcache).prepareForSweep(0x9db3b108) /home/gopher/build/go/src/runtime/mcache.go:328 +0x64 fp=0x1255c0830 sp=0x1255c0800 pc=0x2a414 runtime.acquirep(0x70034008) /home/gopher/build/go/src/runtime/proc.go:5753 +0x38 fp=0x1255c0850 sp=0x1255c0830 pc=0x5d728 runtime.stopm() /home/gopher/build/go/src/runtime/proc.go:2799 +0xac fp=0x1255c0878 sp=0x1255c0850 pc=0x55d5c runtime.gcstopm() /home/gopher/build/go/src/runtime/proc.go:3097 +0xd0 fp=0x1255c0898 sp=0x1255c0878 pc=0x56aa0 runtime.findRunnable() /home/gopher/build/go/src/runtime/proc.go:3165 +0x2a8 fp=0x1255c0a00 sp=0x1255c0898 pc=0x56f30 runtime.schedule() /home/gopher/build/go/src/runtime/proc.go:3884 +0xa0 fp=0x1255c0a30 sp=0x1255c0a00 pc=0x58e00 runtime.goschedImpl(0x70001860, 0x1) /home/gopher/build/go/src/runtime/proc.go:4081 +0x1e8 fp=0x1255c0a78 sp=0x1255c0a30 pc=0x59678 runtime.gopreempt_m(...) /home/gopher/build/go/src/runtime/proc.go:4098 runtime.newstack() /home/gopher/build/go/src/runtime/stack.go:1070 +0x2b8 fp=0x1255c0c18 sp=0x1255c0a78 pc=0x6b680 runtime.morestack() /home/gopher/build/go/src/runtime/asm_riscv64.s:223 +0x58 fp=0x1255c0c20 sp=0x1255c0c18 pc=0x8b580 goroutine 1 gp=0x700001a0 m=nil [chan receive]: runtime.gopark(0x7007ef70?, 0x7007eff8?, 0x70?, 0x6?, 0x9db43f28?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x70137980 sp=0x70137968 pc=0x51768 runtime.chanrecv(0x7006a3f0, 0x70137a67, 0xc0?) /home/gopher/build/go/src/runtime/chan.go:583 +0x420 fp=0x701379f8 sp=0x70137980 pc=0x16f78 runtime.chanrecv1(0x74e160?, 0x3ac4a0?) /home/gopher/build/go/src/runtime/chan.go:442 +0x14 fp=0x70137a18 sp=0x701379f8 pc=0x16b24 testing.(*T).Run(0x70001520, {0x44102b?, 0xa8820?}, 0x4674d0) /home/gopher/build/go/src/testing/testing.go:1750 +0x35c fp=0x70137ad0 sp=0x70137a18 pc=0x114bd4 testing.runTests.func1(0x70001520) /home/gopher/build/go/src/testing/testing.go:2161 +0x4c fp=0x70137b08 sp=0x70137ad0 pc=0x116944 testing.tRunner(0x70001520, 0x70137c10) /home/gopher/build/go/src/testing/testing.go:1689 +0x108 fp=0x70137b50 sp=0x70137b08 pc=0x113f78 testing.runTests(0x7000a138, {0x748140, 0x196, 0x196}, {0x38?, 0x1fe50?, 0x0?}) /home/gopher/build/go/src/testing/testing.go:2159 +0x404 fp=0x70137c30 sp=0x70137b50 pc=0x11686c testing.(*M).Run(0x70101860) /home/gopher/build/go/src/testing/testing.go:2027 +0x5ec fp=0x70137e58 sp=0x70137c30 pc=0x115554 runtime_test.TestMain(0x70101860) /home/gopher/build/go/src/runtime/crash_test.go:29 +0x44 fp=0x70137eb8 sp=0x70137e58 pc=0x2d732c main.main() _testmain.go:1479 +0x174 fp=0x70137f68 sp=0x70137eb8 pc=0x374e64 runtime.main() /home/gopher/build/go/src/runtime/proc.go:271 +0x27c fp=0x70137fd8 sp=0x70137f68 pc=0x512dc runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x70137fd8 sp=0x70137fd8 pc=0x8d684 goroutine 2 gp=0x70000680 m=nil [force gc (idle)]: runtime.gopark(0x74f7a0?, 0x720a00?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x700467a8 sp=0x70046790 pc=0x51768 runtime.goparkunlock(...) /home/gopher/build/go/src/runtime/proc.go:408 runtime.forcegchelper() /home/gopher/build/go/src/runtime/proc.go:326 +0xd4 fp=0x700467d8 sp=0x700467a8 pc=0x515ac runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x700467d8 sp=0x700467d8 pc=0x8d684 created by runtime.init.5 in goroutine 1 /home/gopher/build/go/src/runtime/proc.go:314 +0x28 goroutine 3 gp=0x70000b60 m=nil [runnable]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x70046f88 sp=0x70046f70 pc=0x51768 runtime.goparkunlock(...) /home/gopher/build/go/src/runtime/proc.go:408 runtime.bgsweep(0x7006a000) /home/gopher/build/go/src/runtime/mgcsweep.go:317 +0x124 fp=0x70046fc8 sp=0x70046f88 pc=0x3ac54 runtime.gcenable.gowrap1() /home/gopher/build/go/src/runtime/mgc.go:203 +0x2c fp=0x70046fd8 sp=0x70046fc8 pc=0x2eec4 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x70046fd8 sp=0x70046fd8 pc=0x8d684 created by runtime.gcenable in goroutine 1 /home/gopher/build/go/src/runtime/mgc.go:203 +0x70 goroutine 4 gp=0x70000d00 m=nil [GC scavenge wait]: runtime.gopark(0x0?, 0x40c3880000000000?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x70047788 sp=0x70047770 pc=0x51768 runtime.goparkunlock(...) /home/gopher/build/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x74e960) /home/gopher/build/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x700477b0 sp=0x70047788 pc=0x38620 runtime.bgscavenge(0x7006a000) /home/gopher/build/go/src/runtime/mgcscavenge.go:658 +0x6c fp=0x700477c8 sp=0x700477b0 pc=0x38b6c runtime.gcenable.gowrap2() /home/gopher/build/go/src/runtime/mgc.go:204 +0x2c fp=0x700477d8 sp=0x700477c8 pc=0x2ee74 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x700477d8 sp=0x700477d8 pc=0x8d684 created by runtime.gcenable in goroutine 1 /home/gopher/build/go/src/runtime/mgc.go:204 +0xb0 goroutine 5 gp=0x70000ea0 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x70047da8 sp=0x70047d90 pc=0x51768 runtime.runfinq() /home/gopher/build/go/src/runtime/mfinal.go:194 +0x108 fp=0x70047fd8 sp=0x70047da8 pc=0x2dea0 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x70047fd8 sp=0x70047fd8 pc=0x8d684 created by runtime.createfing in goroutine 1 /home/gopher/build/go/src/runtime/mfinal.go:164 +0x64 goroutine 6 gp=0x70001860 m=nil [runnable]: runtime.gcTrigger.test({0x0, 0x0, 0x0}) /home/gopher/build/go/src/runtime/mgc.go:568 +0x18 fp=0x7005cd40 sp=0x7005cd40 pc=0x2f258 runtime.mallocgc(0x100000, 0x3d4660, 0x1) /home/gopher/build/go/src/runtime/malloc.go:1307 +0x6e4 fp=0x7005cdd0 sp=0x7005cd40 pc=0x2002c runtime.newobject(0x70128908?) /home/gopher/build/go/src/runtime/malloc.go:1390 +0x38 fp=0x7005cdf0 sp=0x7005cdd0 pc=0x20258 runtime_test.TestArenaCollision(0x700016c0) /home/gopher/build/go/src/runtime/malloc_test.go:307 +0x43c fp=0x7005cf78 sp=0x7005cdf0 pc=0x2f7dbc testing.tRunner(0x700016c0, 0x4674d0) /home/gopher/build/go/src/testing/testing.go:1689 +0x108 fp=0x7005cfc0 sp=0x7005cf78 pc=0x113f78 testing.(*T).Run.gowrap1() /home/gopher/build/go/src/testing/testing.go:1742 +0x30 fp=0x7005cfd8 sp=0x7005cfc0 pc=0x114cd8 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x7005cfd8 sp=0x7005cfd8 pc=0x8d684 created by testing.(*T).Run in goroutine 1 /home/gopher/build/go/src/testing/testing.go:1742 +0x348 goroutine 7 gp=0x70001a00 m=0 mp=0x74f7a0 [flushing proc caches]: runtime.systemstack_switch() /home/gopher/build/go/src/runtime/asm_riscv64.s:96 +0x8 fp=0x700484b0 sp=0x700484a8 pc=0x8b448 runtime.forEachP(...) /home/gopher/build/go/src/runtime/proc.go:1911 runtime.gcMarkTermination({0xa0?, 0xdb4bbea6c15ea?}) /home/gopher/build/go/src/runtime/mgc.go:1124 +0x5d0 fp=0x700486c0 sp=0x700484b0 pc=0x304f0 runtime.gcMarkDone() /home/gopher/build/go/src/runtime/mgc.go:927 +0x2c4 fp=0x70048748 sp=0x700486c0 pc=0x2fd2c runtime.gcBgMarkWorker() /home/gopher/build/go/src/runtime/mgc.go:1446 +0x36c fp=0x700487d8 sp=0x70048748 pc=0x311ac runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x700487d8 sp=0x700487d8 pc=0x8d684 created by runtime.gcBgMarkStartWorkers in goroutine 6 /home/gopher/build/go/src/runtime/mgc.go:1234 +0x2c goroutine 17 gp=0x70084340 m=nil [GC worker (idle)]: runtime.gopark(0x700427c0?, 0x0?, 0x0?, 0x0?, 0x0?) /home/gopher/build/go/src/runtime/proc.go:402 +0x108 fp=0x70042748 sp=0x70042730 pc=0x51768 runtime.gcBgMarkWorker() /home/gopher/build/go/src/runtime/mgc.go:1310 +0xe4 fp=0x700427d8 sp=0x70042748 pc=0x30f24 runtime.goexit({}) /home/gopher/build/go/src/runtime/asm_riscv64.s:540 +0x4 fp=0x700427d8 sp=0x700427d8 pc=0x8d684 created by runtime.gcBgMarkStartWorkers in goroutine 6 /home/gopher/build/go/src/runtime/mgc.go:1234 +0x2c (exit status exit status 2) FAIL FAIL runtime 225.838s FAIL 2023/12/02 07:48:41 Failed: exit status 1 go tool dist: FAILED