linux-amd64-longtest-race at 67c86037af2bd46ff847cfa4e33b7148f58c1f93 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash" "-force"] and env ["HOSTNAME=buildlet-linux-amd64-bullseye-rn6389350" "HOME=/root" "SHLVL=0" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "DEBIAN_FRONTEND=noninteractive" "USER=root" "GO_STAGE0_NET_DELAY=12s" "GO_STAGE0_DL_DELAY=300ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest-race" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.20.6 linux/amd64) Building Go toolchain1 using /workdir/go1.4. 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 linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["HOSTNAME=buildlet-linux-amd64-bullseye-rn6389350" "HOME=/root" "SHLVL=0" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "DEBIAN_FRONTEND=noninteractive" "USER=root" "GO_STAGE0_NET_DELAY=12s" "GO_STAGE0_DL_DELAY=300ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest-race" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.500s ok archive/zip 93.770s ok bufio 1.230s ok bytes 6.170s ok cmp 1.013s ok compress/bzip2 1.322s ok compress/flate 119.244s ok compress/gzip 9.691s ok compress/lzw 1.389s ok compress/zlib 6.981s ok container/heap 1.014s ok container/list 1.010s ok container/ring 1.011s ok context 1.033s ok crypto 1.010s ok crypto/aes 1.038s ok crypto/cipher 1.874s ok crypto/des 1.032s ok crypto/dsa 8.783s ok crypto/ecdh 1.795s ok crypto/ecdsa 3.748s ok crypto/ed25519 1.679s ok crypto/elliptic 1.897s ok crypto/hmac 1.013s ok crypto/internal/alias 1.010s ok crypto/internal/bigmod 3.302s ok crypto/internal/boring 1.010s ? crypto/internal/boring/bbig [no test files] ? crypto/internal/boring/sig [no test files] ok crypto/internal/boring/bcache 1.309s ok crypto/internal/edwards25519 28.047s ok crypto/internal/edwards25519/field 10.422s ok crypto/internal/nistec 23.576s ? crypto/internal/randutil [no test files] ok crypto/internal/nistec/fiat 1.009s [no tests to run] ok crypto/md5 1.015s ok crypto/rand 2.935s ok crypto/rc4 1.332s ok crypto/rsa 7.759s ok crypto/sha1 1.025s ok crypto/sha256 1.013s ok crypto/sha512 1.016s ok crypto/subtle 13.186s ok crypto/tls 5.663s ok crypto/x509 4.425s ? crypto/x509/pkix [no test files] ok database/sql 2.246s ok database/sql/driver 1.009s ok debug/buildinfo 4.546s ok debug/dwarf 1.060s ok debug/elf 2.374s ok debug/gosym 1.234s ok debug/macho 1.019s ok debug/pe 1.031s ok debug/plan9obj 1.010s ok embed 1.010s [no tests to run] ok embed/internal/embedtest 1.011s ? encoding [no test files] ok encoding/ascii85 1.014s ok encoding/asn1 1.014s ok encoding/base32 1.042s ok encoding/base64 1.018s ok encoding/binary 1.015s ok encoding/csv 1.038s ok encoding/gob 17.395s ok encoding/hex 1.015s ok encoding/json 5.542s ok encoding/pem 2.581s ok encoding/xml 27.398s ok errors 1.015s ok expvar 1.011s ok flag 3.058s ok fmt 1.433s ok go/ast 1.018s ok go/build 4.289s ok go/build/constraint 1.015s ok go/constant 1.015s ok go/doc 1.163s ok go/doc/comment 2.549s ok go/format 1.030s ok go/importer 1.127s ok go/internal/gccgoimporter 1.032s ok go/internal/gcimporter 37.319s ok go/internal/srcimporter 11.543s ? go/internal/typeparams [no test files] ok go/parser 36.162s ok go/printer 1.998s ok go/scanner 1.014s ok go/token 1.082s ok go/types 37.218s ok go/version 1.010s ok hash 1.012s ok hash/adler32 1.028s ok hash/crc32 1.033s ok hash/crc64 1.019s ok hash/fnv 1.010s ok hash/maphash 1.010s ok html 1.010s ok html/template 1.444s ? image/color/palette [no test files] ok image 1.990s ok image/color 1.023s ok image/draw 1.385s ok image/gif 68.994s ? image/internal/imageutil [no test files] ok image/jpeg 19.114s ok image/png 4.906s ok index/suffixarray 512.879s ok internal/abi 1.039s ? internal/bisect [no test files] ? internal/bytealg [no test files] ok internal/buildcfg 1.009s ? internal/cfg [no test files] ? internal/coverage [no test files] ? internal/coverage/calloc [no test files] ? internal/coverage/decodecounter [no test files] ok internal/coverage/cformat 1.010s ok internal/coverage/cmerge 1.009s ? internal/coverage/decodemeta [no test files] ? internal/coverage/encodecounter [no test files] ? internal/coverage/encodemeta [no test files] ? internal/coverage/rtcov [no test files] ok internal/coverage/pods 1.011s ok internal/coverage/slicereader 1.009s ? internal/coverage/stringtab [no test files] ? internal/coverage/uleb128 [no test files] ok internal/coverage/slicewriter 1.009s ok internal/coverage/test 1.029s ok internal/cpu 3.028s ok internal/dag 1.010s ok internal/diff 1.011s ok internal/fmtsort 1.010s ? internal/goarch [no test files] ok internal/fuzz 1.026s ok internal/godebug 17.530s ? internal/goexperiment [no test files] ? internal/goos [no test files] ok internal/godebugs 1.010s ? internal/goroot [no test files] ? internal/goversion [no test files] ok internal/gover 1.010s ? internal/lazyregexp [no test files] ok internal/intern 2.981s ok internal/itoa 1.010s ? internal/lazytemplate [no test files] ? internal/nettrace [no test files] ? internal/obscuretestdata [no test files] ? internal/oserror [no test files] ? internal/pkgbits [no test files] ok internal/platform 1.411s ok internal/poll 14.503s ? internal/race [no test files] ok internal/profile 1.011s ok internal/reflectlite 1.011s ok internal/safefilepath 1.010s ok internal/saferio 1.187s ok internal/singleflight 1.081s ? internal/syscall/execenv [no test files] ? internal/syscall/unix [no test files] ? internal/sysinfo [no test files] ? internal/testlog [no test files] ? internal/testpty [no test files] ok internal/testenv 1.102s ok internal/trace 5.322s ? internal/trace/traceviewer [no test files] ? internal/trace/traceviewer/format [no test files] --- FAIL: TestTraceAnnotationsStress (0.33s) --- FAIL: TestTraceAnnotationsStress/Stress (0.12s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x459dcc m=0 sigcode=1 addr=0x90 goroutine 0 gp=0x556500 m=0 mp=0x556a80 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x556a80?, 0x1000000010?}, 0x90000000c?}, 0x3?, 0x18?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7ffea2aae0d0 sp=0x7ffea2aae098 pc=0x459dcc runtime.traceAdvance.func5(0xc000032f08?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7ffea2aae110 sp=0x7ffea2aae0d0 pc=0x46134e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7ffea2aae128 sp=0x7ffea2aae110 pc=0x439344 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7ffea2aae2a0 sp=0x7ffea2aae128 pc=0x43b236 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7ffea2aae2d8 sp=0x7ffea2aae2a0 pc=0x43d011 runtime.park_m(0xc0000096c0) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7ffea2aae330 sp=0x7ffea2aae2d8 pc=0x43d5ec runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7ffea2aae348 sp=0x7ffea2aae330 pc=0x46530e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13a844cbc78?, 0x495380?, 0x5?, 0x0?, 0x4b3e24?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000096dd0 sp=0xc000096db0 pc=0x435d4e time.Sleep(0x989680) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000096e10 sp=0xc000096dd0 pc=0x463c95 main.do({0x4d88c0, 0x5b57c0}, 0x4) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x125 fp=0xc000096ea0 sp=0xc000096e10 pc=0x495a85 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:43 +0x158 fp=0xc000096f50 sp=0xc000096ea0 pc=0x495898 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000096fe0 sp=0xc000096f50 pc=0x43591d runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000096fe8 sp=0xc000096fe0 pc=0x4671c1 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005afa8 sp=0xc00005af88 pc=0x435d4e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005afe0 sp=0xc00005afa8 pc=0x435bd3 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x4671c1 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005b780 sp=0xc00005b760 pc=0x435d4e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00007c000) /workdir/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc00005b7c8 sp=0xc00005b780 pc=0x422114 runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x416c65 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x4671c1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007c000?, 0x4d7198?, 0x1?, 0x0?, 0xc000008d00?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf78 sp=0xc00005bf58 pc=0x435d4e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x556460) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005bfa8 sp=0xc00005bf78 pc=0x41fb09 runtime.bgscavenge(0xc00007c000) /workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x42009c runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x416c05 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x4671c1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc0000091e0 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005c620 sp=0xc00005c600 pc=0x435d4e runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005c7e0 sp=0xc00005c620 pc=0x415ca7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x4671c1 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 6 gp=0xc000009380 m=nil [chan receive]: runtime.gopark(0x4516be?, 0xc0002a0000?, 0x1?, 0x0?, 0x60?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a6b8 sp=0xc00005a698 pc=0x435d4e runtime.chanrecv(0xc00001c120, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005a730 sp=0xc00005a6b8 pc=0x40601f runtime.chanrecv1(0xc00008a050?, 0x13a8a442ce1?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005a758 sp=0xc00005a730 pc=0x405c52 runtime.(*wakeableSleep).sleep(0xc000012018, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc00005a7b0 sp=0xc00005a758 pc=0x4550cb runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00005a7e0 sp=0xc00005a7b0 pc=0x455b9b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x4671c1 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 7 gp=0xc000009520 m=4 mp=0xc000060e08 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000092e78 sp=0xc000092e68 pc=0x465328 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc000092fb0 sp=0xc000092e78 pc=0x453eca runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc000092fe0 sp=0xc000092fb0 pc=0x454f4f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000092fe8 sp=0xc000092fe0 pc=0x4671c1 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 8 gp=0xc0000096c0 m=nil [trace reader (blocked)]: runtime.gopark(0xc00005d778?, 0xc0000800c0?, 0x20?, 0x0?, 0x7d?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005d738 sp=0xc00005d718 pc=0x435d4e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc00005d7a0 sp=0xc00005d738 pc=0x454971 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00005d7e0 sp=0xc00005d7a0 pc=0x4955a5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x4671c1 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 11 gp=0xc000009ba0 m=nil [sleep]: runtime.gopark(0x13a844f5758?, 0x495380?, 0x6?, 0x0?, 0x4b3e24?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000097d98 sp=0xc000097d78 pc=0x435d4e time.Sleep(0x989680) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000097dd8 sp=0xc000097d98 pc=0x463c95 main.do({0x4d88f8, 0xc00008c180}, 0x0) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x125 fp=0xc000097e68 sp=0xc000097dd8 pc=0x495a85 main.do.func1.1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:73 +0x9b fp=0xc000097ee8 sp=0xc000097e68 pc=0x495ddb runtime/trace.WithRegion({0x4d88f8?, 0xc00008c180?}, {0xc0000141e7, 0x7}, 0xc000097f88) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000097f50 sp=0xc000097ee8 pc=0x49531d main.do.func1.1(0x2) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:70 +0xb4 fp=0xc000097fc8 sp=0xc000097f50 pc=0x495d14 main.do.func1.gowrap1() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:77 +0x24 fp=0xc000097fe0 sp=0xc000097fc8 pc=0x495c24 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000097fe8 sp=0xc000097fe0 pc=0x4671c1 created by main.do.func1 in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:69 +0x45 rax 0x5555555555555573 rbx 0x58 rcx 0x0 rdx 0x0 rdi 0xc000032f08 rsi 0x0 rbp 0x7ffea2aae0c0 rsp 0x7ffea2aae098 r8 0x556a80 r9 0x1 r10 0x1 r11 0x1 r12 0xc000032f08 r13 0x1 r14 0x556500 r15 0x9 rip 0x459dcc rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceCPUProfile (1.58s) --- FAIL: TestTraceCPUProfile/Stress (0.14s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x45b6ec m=6 sigcode=1 addr=0x90 goroutine 0 gp=0xc0004041a0 m=6 mp=0xc000400008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000400008?, 0x1000000010?}, 0xf0000000c?}, 0x3?, 0xa8?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc000415d60 sp=0xc000415d28 pc=0x45b6ec runtime.traceAdvance.func5(0xc00002c008?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc000415da0 sp=0xc000415d60 pc=0x462b6e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc000415db8 sp=0xc000415da0 pc=0x43a444 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc000415f30 sp=0xc000415db8 pc=0x43c336 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc000415f68 sp=0xc000415f30 pc=0x43e111 runtime.park_m(0xc000009a00) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0xc000415fc0 sp=0xc000415f68 pc=0x43e6ec runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0xc000415fd8 sp=0xc000415fc0 pc=0x466ace goroutine 1 gp=0xc0000081a0 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.cpuHog0(0xc000096b08?, 0x186a0) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:128 +0x65 fp=0xc000096af8 sp=0xc000096ad0 pc=0x4e7c85 main.cpuHog1(0x0?) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:120 +0x18 fp=0xc000096b18 sp=0xc000096af8 pc=0x4e7bf8 main.cpuHogger(0x51ece0, 0x65ac48, 0x5f5e100) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:107 +0x4f fp=0xc000096b68 sp=0xc000096b18 pc=0x4e7b4f main.main.func1.1({0x542618?, 0xc00008e450?}) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:44 +0x25 fp=0xc000096b90 sp=0xc000096b68 pc=0x4e7a85 runtime/pprof.Do({0x5425e0?, 0x65abc0?}, {{0xc00007e020?, 0x9?, 0xc000012078?}}, 0xc000096c60) /workdir/go/src/runtime/pprof/runtime.go:51 +0x9d fp=0xc000096c00 sp=0xc000096b90 pc=0x4e663d main.main.func1(0x5f5e100) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:43 +0x218 fp=0xc000096cc8 sp=0xc000096c00 pc=0x4e79d8 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:50 +0xef fp=0xc000096f50 sp=0xc000096cc8 pc=0x4e722f runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000096fe0 sp=0xc000096f50 pc=0x436a1d runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000096fe8 sp=0xc000096fe0 pc=0x468981 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005afa8 sp=0xc00005af88 pc=0x436e4e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005afe0 sp=0xc00005afa8 pc=0x436cd3 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x468981 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005b780 sp=0xc00005b760 pc=0x436e4e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00007c000) /workdir/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc00005b7c8 sp=0xc00005b780 pc=0x4230d4 runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x417c25 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x468981 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007c000?, 0x540278?, 0x1?, 0x0?, 0x421050?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf78 sp=0xc00005bf58 pc=0x436e4e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x5faf40) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005bfa8 sp=0xc00005bf78 pc=0x420ac9 runtime.bgscavenge(0xc00007c000) /workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x42105c runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x417bc5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x468981 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc0000091e0 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005c620 sp=0xc00005c600 pc=0x436e4e runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005c7e0 sp=0xc00005c620 pc=0x416c67 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x468981 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 6 gp=0xc000009520 m=nil [sleep]: runtime.gopark(0x13b04bee841?, 0xc152b09db9dedee7?, 0x0?, 0x60?, 0xc000118000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000092f18 sp=0xc000092ef8 pc=0x436e4e time.Sleep(0x5f5e100) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000092f58 sp=0xc000092f18 pc=0x4659d5 runtime/pprof.profileWriter({0x541fc8?, 0xc00008e3f0?}) /workdir/go/src/runtime/pprof/pprof.go:809 +0x4a fp=0xc000092fc0 sp=0xc000092f58 pc=0x4ddb6a runtime/pprof.StartCPUProfile.gowrap2() /workdir/go/src/runtime/pprof/pprof.go:794 +0x25 fp=0xc000092fe0 sp=0xc000092fc0 pc=0x4dda85 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000092fe8 sp=0xc000092fe0 pc=0x468981 created by runtime/pprof.StartCPUProfile in goroutine 1 /workdir/go/src/runtime/pprof/pprof.go:794 +0x136 goroutine 7 gp=0xc0000096c0 m=nil [chan receive]: runtime.gopark(0x452fde?, 0xc00005e030?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005ceb8 sp=0xc00005ce98 pc=0x436e4e runtime.chanrecv(0xc00001c180, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005cf30 sp=0xc00005ceb8 pc=0x40667f runtime.chanrecv1(0xc00008a050?, 0x13b0aa982ee?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005cf58 sp=0xc00005cf30 pc=0x4062b2 runtime.(*wakeableSleep).sleep(0xc000012048, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc00005cfb0 sp=0xc00005cf58 pc=0x4569eb runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00005cfe0 sp=0xc00005cfb0 pc=0x4574bb runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x468981 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 8 gp=0xc000009860 m=2 mp=0xc000060708 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000097e78 sp=0xc000097e68 pc=0x466ae8 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc000097fb0 sp=0xc000097e78 pc=0x4557ea runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc000097fe0 sp=0xc000097fb0 pc=0x45686f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000097fe8 sp=0xc000097fe0 pc=0x468981 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 9 gp=0xc000009a00 m=nil [trace reader (blocked)]: runtime.gopark(0xc00005df78?, 0xc0000800c0?, 0x20?, 0xb0?, 0x4da?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005df38 sp=0xc00005df18 pc=0x436e4e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc00005dfa0 sp=0xc00005df38 pc=0x456291 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00005dfe0 sp=0xc00005dfa0 pc=0x4e6f45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x468981 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 rax 0x5555555555555558 rbx 0x7 rcx 0x0 rdx 0x0 rdi 0xc00002c008 rsi 0x0 rbp 0xc000415d50 rsp 0xc000415d28 r8 0xc000400008 r9 0x1 r10 0x1 r11 0x1 r12 0xc00002c008 r13 0x1 r14 0xc0004041a0 r15 0xf rip 0x45b6ec rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceFutileWakeup (0.31s) --- FAIL: TestTraceFutileWakeup/Stress (0.12s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x45b3cc m=2 sigcode=1 addr=0x90 goroutine 0 gp=0xc0000089c0 m=2 mp=0xc000060708 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000060708?, 0x800000008?}, 0x500000003?}, 0x3?, 0x3a?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc00007bd60 sp=0xc00007bd28 pc=0x45b3cc runtime.traceAdvance.func5(0xc000037908?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc00007bda0 sp=0xc00007bd60 pc=0x46284e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc00007bdb8 sp=0xc00007bda0 pc=0x4393e4 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc00007bf30 sp=0xc00007bdb8 pc=0x43b2d6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc00007bf68 sp=0xc00007bf30 pc=0x43d0b1 runtime.park_m(0xc000105040) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0xc00007bfc0 sp=0xc00007bf68 pc=0x43d68c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0xc00007bfd8 sp=0xc00007bfc0 pc=0x46618e goroutine 1 gp=0xc0000081a0 m=nil [semacquire]: runtime.gopark(0x5b62a0?, 0xc00011ee88?, 0x0?, 0x0?, 0x7f91c13075b8?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00011edf8 sp=0xc00011edd8 pc=0x435dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xc000126018, 0x0, 0x1, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc00011ee60 sp=0xc00011edf8 pc=0x448145 sync.runtime_Semacquire(0xc00013c060?) /workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc00011ee98 sp=0xc00011ee60 pc=0x464d05 sync.(*WaitGroup).Wait(0x8?) /workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc00011eec0 sp=0xc00011ee98 pc=0x46dd48 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:81 +0x293 fp=0xc00011ef50 sp=0xc00011eec0 pc=0x495c93 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc00011efe0 sp=0xc00011ef50 pc=0x4359bd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011efe8 sp=0xc00011efe0 pc=0x468041 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005afa8 sp=0xc00005af88 pc=0x435dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005afe0 sp=0xc00005afa8 pc=0x435c73 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x468041 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005b780 sp=0xc00005b760 pc=0x435dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00007c000) /workdir/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc00005b7c8 sp=0xc00005b780 pc=0x422114 runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x416c65 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x468041 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0xc00007c000?, 0x4d70f0?, 0x1?, 0x0?, 0xc000008d00?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf78 sp=0xc00005bf58 pc=0x435dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x556420) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005bfa8 sp=0xc00005bf78 pc=0x41fb09 runtime.bgscavenge(0xc00007c000) /workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x42009c runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x416c05 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x468041 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 17 gp=0xc000104340 m=nil [finalizer wait]: runtime.gopark(0xc00005a660?, 0x41efdc?, 0xa0?, 0x62?, 0x550011?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a620 sp=0xc00005a600 pc=0x435dee runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005a7e0 sp=0xc00005a620 pc=0x415ca7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x468041 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 18 gp=0xc0001044e0 m=nil [chan receive]: runtime.gopark(0x452cbe?, 0xc00005e008?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0000566b8 sp=0xc000056698 pc=0x435dee runtime.chanrecv(0xc0001160c0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000056730 sp=0xc0000566b8 pc=0x40601f runtime.chanrecv1(0xc000136000?, 0x13b1d4fa275?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc000056758 sp=0xc000056730 pc=0x405c52 runtime.(*wakeableSleep).sleep(0xc000134000, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc0000567b0 sp=0xc000056758 pc=0x4566cb runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0000567e0 sp=0xc0000567b0 pc=0x45719b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000567e8 sp=0xc0000567e0 pc=0x468041 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 19 gp=0xc000104680 m=3 mp=0xc000060e08 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00011ae78 sp=0xc00011ae68 pc=0x4661a8 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00011afb0 sp=0xc00011ae78 pc=0x4554ca runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00011afe0 sp=0xc00011afb0 pc=0x45654f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011afe8 sp=0xc00011afe0 pc=0x468041 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 20 gp=0xc000104820 m=nil [trace reader (blocked)]: runtime.gopark(0xc000057778?, 0xc00012a060?, 0x20?, 0x60?, 0x548?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000057738 sp=0xc000057718 pc=0x435dee runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc0000577a0 sp=0xc000057738 pc=0x455f71 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0000577e0 sp=0xc0000577a0 pc=0x495865 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000577e8 sp=0xc0000577e0 pc=0x468041 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 21 gp=0xc0001049c0 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:41 +0x3a fp=0xc000147f28 sp=0xc000147ef0 pc=0x49617a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000147fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000147f90 sp=0xc000147f28 pc=0x4955dd main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:39 +0x5f fp=0xc000147fe0 sp=0xc000147f90 pc=0x49611f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000147fe8 sp=0xc000147fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:38 +0x17d goroutine 22 gp=0xc000104b60 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func2.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:50 +0x3a fp=0xc000148f28 sp=0xc000148ef0 pc=0x49607a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000148fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000148f90 sp=0xc000148f28 pc=0x4955dd main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:48 +0x5f fp=0xc000148fe0 sp=0xc000148f90 pc=0x49601f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000148fe8 sp=0xc000148fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:47 +0x1cb goroutine 23 gp=0xc000104d00 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func3.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:59 +0x55 fp=0xc000149f20 sp=0xc000149e88 pc=0x495f15 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000149fb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000149f88 sp=0xc000149f20 pc=0x4955dd main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:57 +0x65 fp=0xc000149fe0 sp=0xc000149f88 pc=0x495ea5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000149fe8 sp=0xc000149fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:56 +0x230 goroutine 24 gp=0xc000104ea0 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func4.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:71 +0x47 fp=0xc000146f20 sp=0xc000146e98 pc=0x495da7 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000146fb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000146f88 sp=0xc000146f20 pc=0x4955dd main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:69 +0x65 fp=0xc000146fe0 sp=0xc000146f88 pc=0x495d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000146fe8 sp=0xc000146fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:68 +0x113 goroutine 25 gp=0xc000105040 m=nil [runnable]: runtime.gopark(0xc00040e120?, 0xc00030e1e0?, 0xf?, 0x6?, 0x2?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000120e50 sp=0xc000120e30 pc=0x435dee runtime.chansend(0xc000138000, 0x4d80a8, 0x1, 0x17?) /workdir/go/src/runtime/chan.go:259 +0x38d fp=0xc000120ec0 sp=0xc000120e50 pc=0x4052cd runtime.chansend1(0x0?, 0x17?) /workdir/go/src/runtime/chan.go:145 +0x17 fp=0xc000120ef0 sp=0xc000120ec0 pc=0x404f37 main.main.func1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:42 +0x4b fp=0xc000120f28 sp=0xc000120ef0 pc=0x49618b runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000120fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000120f90 sp=0xc000120f28 pc=0x4955dd main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:39 +0x5f fp=0xc000120fe0 sp=0xc000120f90 pc=0x49611f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000120fe8 sp=0xc000120fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:38 +0x17d goroutine 26 gp=0xc0001051e0 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func2.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:50 +0x3a fp=0xc000121f28 sp=0xc000121ef0 pc=0x49607a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000121fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000121f90 sp=0xc000121f28 pc=0x4955dd main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:48 +0x5f fp=0xc000121fe0 sp=0xc000121f90 pc=0x49601f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000121fe8 sp=0xc000121fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:47 +0x1cb goroutine 27 gp=0xc000105380 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func3.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:59 +0x55 fp=0xc00014af20 sp=0xc00014ae88 pc=0x495f15 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc00014afb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc00014af88 sp=0xc00014af20 pc=0x4955dd main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:57 +0x65 fp=0xc00014afe0 sp=0xc00014af88 pc=0x495ea5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00014afe8 sp=0xc00014afe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:56 +0x230 goroutine 28 gp=0xc000105520 m=nil [runnable]: runtime.gopark(0xc00011fee8?, 0x2?, 0x0?, 0x0?, 0xc00011fecc?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00011fd78 sp=0xc00011fd58 pc=0x435dee runtime.selectgo(0xc00011fee8, 0xc00011fec8, 0xc00011fee8?, 0x0, 0x0?, 0x1) /workdir/go/src/runtime/select.go:327 +0x725 fp=0xc00011fe98 sp=0xc00011fd78 pc=0x447105 main.main.func4.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:72 +0x85 fp=0xc00011ff20 sp=0xc00011fe98 pc=0x495de5 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc00011ffb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc00011ff88 sp=0xc00011ff20 pc=0x4955dd main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:69 +0x65 fp=0xc00011ffe0 sp=0xc00011ff88 pc=0x495d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011ffe8 sp=0xc00011ffe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:68 +0x113 rax 0x5555555555555557 rbx 0x4 rcx 0x0 rdx 0x0 rdi 0xc000037908 rsi 0x0 rbp 0xc00007bd50 rsp 0xc00007bd28 r8 0xc000060708 r9 0x1 r10 0xa0761d6478bd642f r11 0x6 r12 0xc000037908 r13 0x1 r14 0xc0000089c0 r15 0x5 rip 0x45b3cc rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceGCStress (1.62s) --- FAIL: TestTraceGCStress/Stress (0.48s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x45c06c m=11 sigcode=1 addr=0x90 goroutine 0 gp=0xc0001044e0 m=11 mp=0xc000500708 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000500708?, 0x1000000010?}, 0x300000000?}, 0x3?, 0xa8?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc000a0bd60 sp=0xc000a0bd28 pc=0x45c06c runtime.traceAdvance.func5(0xc00003c508?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc000a0bda0 sp=0xc000a0bd60 pc=0x4633ae runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc000a0bdb8 sp=0xc000a0bda0 pc=0x43b3e4 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc000a0bf30 sp=0xc000a0bdb8 pc=0x43d2d6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc000a0bf68 sp=0xc000a0bf30 pc=0x43f0b1 runtime.park_m(0xc000685520) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0xc000a0bfc0 sp=0xc000a0bf68 pc=0x43f68c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0xc000a0bfd8 sp=0xc000a0bfc0 pc=0x467bae goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13b633fed01?, 0x0?, 0x0?, 0x0?, 0x495f00?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000090e98 sp=0xc000090e78 pc=0x437dee time.Sleep(0x17d78400) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000090ed8 sp=0xc000090e98 pc=0x466cd5 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:75 +0x1ac fp=0xc000090f50 sp=0xc000090ed8 pc=0x49632c runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000090fe0 sp=0xc000090f50 pc=0x4379bd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000090fe8 sp=0xc000090fe0 pc=0x469a61 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005afa8 sp=0xc00005af88 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005afe0 sp=0xc00005afa8 pc=0x437c73 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x469a61 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [runnable]: runtime.goschedIfBusy() /workdir/go/src/runtime/proc.go:365 +0x28 fp=0xc00005b780 sp=0xc00005b768 pc=0x437d08 runtime.bgsweep(0xc00007c000) /workdir/go/src/runtime/mgcsweep.go:301 +0x14f fp=0xc00005b7c8 sp=0xc00005b780 pc=0x42426f runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x418d05 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x469a61 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0x8e6db6?, 0x1b36d10?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf78 sp=0xc00005bf58 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x55eda0) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005bfa8 sp=0xc00005bf78 pc=0x421ba9 runtime.bgscavenge(0xc00007c000) /workdir/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x422159 runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x418ca5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x469a61 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc0000091e0 m=nil [finalizer wait]: runtime.gopark(0x7f7f4cada2e8?, 0xc000016040?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a620 sp=0xc00005a600 pc=0x437dee runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005a7e0 sp=0xc00005a620 pc=0x417d47 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x469a61 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 6 gp=0xc000009380 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005c750 sp=0xc00005c730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005c7e0 sp=0xc00005c750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 7 gp=0xc000009520 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005cf50 sp=0xc00005cf30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005cfe0 sp=0xc00005cf50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 17 gp=0xc000504340 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000056750 sp=0xc000056730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000567e0 sp=0xc000056750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000567e8 sp=0xc0000567e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 18 gp=0xc0005044e0 m=nil [GC worker (idle)]: runtime.gopark(0x13b728ff97a?, 0x3?, 0xcc?, 0x83?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000056f50 sp=0xc000056f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000056fe0 sp=0xc000056f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000056fe8 sp=0xc000056fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 33 gp=0xc000582000 m=nil [GC worker (idle)]: runtime.gopark(0x13b76dc1ef0?, 0x1?, 0xd9?, 0x5e?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092c9f50 sp=0xc0092c9f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0092c9fe0 sp=0xc0092c9f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092c9fe8 sp=0xc0092c9fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 8 gp=0xc0000096c0 m=nil [GC worker (idle)]: runtime.gopark(0x13b76dbfe3e?, 0x1?, 0x74?, 0x77?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005d750 sp=0xc00005d730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005d7e0 sp=0xc00005d750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 19 gp=0xc000504680 m=nil [GC worker (idle)]: runtime.gopark(0x13b6d3663c7?, 0x3?, 0xc2?, 0x1?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000057750 sp=0xc000057730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000577e0 sp=0xc000057750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000577e8 sp=0xc0000577e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 9 gp=0xc000009860 m=nil [GC worker (idle)]: runtime.gopark(0x13b76dbf966?, 0x1?, 0x3a?, 0x5b?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092c7f50 sp=0xc0092c7f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0092c7fe0 sp=0xc0092c7f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092c7fe8 sp=0xc0092c7fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 34 gp=0xc0005821a0 m=nil [GC worker (idle)]: runtime.gopark(0x13b76d85017?, 0x1?, 0xc?, 0xe3?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092cbf50 sp=0xc0092cbf30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0092cbfe0 sp=0xc0092cbf50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092cbfe8 sp=0xc0092cbfe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 20 gp=0xc000504820 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x1?, 0x7a?, 0x3?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc009fbff50 sp=0xc009fbff30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc009fbffe0 sp=0xc009fbff50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc009fbffe8 sp=0xc009fbffe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 10 gp=0xc000009a00 m=nil [GC worker (idle)]: runtime.gopark(0x13b6d2ed729?, 0x3?, 0xa4?, 0x6?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000584750 sp=0xc000584730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005847e0 sp=0xc000584750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005847e8 sp=0xc0005847e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 35 gp=0xc000582340 m=nil [GC worker (idle)]: runtime.gopark(0x13b61da0b2a?, 0x1?, 0x2?, 0x70?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000589750 sp=0xc000589730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005897e0 sp=0xc000589750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005897e8 sp=0xc0005897e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 21 gp=0xc0005049c0 m=nil [GC worker (idle)]: runtime.gopark(0x13b6d2ec3c9?, 0x1?, 0x42?, 0xef?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058750 sp=0xc000058730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000587e0 sp=0xc000058750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 11 gp=0xc000009ba0 m=nil [GC worker (idle)]: runtime.gopark(0x13b6d2eab4b?, 0x3?, 0x2e?, 0xe?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000584f50 sp=0xc000584f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000584fe0 sp=0xc000584f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000584fe8 sp=0xc000584fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 22 gp=0xc000504b60 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x1?, 0x50?, 0x30?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058f50 sp=0xc000058f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000058fe0 sp=0xc000058f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 36 gp=0xc0005824e0 m=nil [GC worker (idle)]: runtime.gopark(0x13b76dc60b8?, 0x1?, 0x4c?, 0x4d?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000589f50 sp=0xc000589f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000589fe0 sp=0xc000589f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000589fe8 sp=0xc000589fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 12 gp=0xc000505040 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc002503f00 sp=0xc002503ef8 pc=0x418ebc runtime.mallocgc(0x5fdf, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc002503f88 sp=0xc002503f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x1c2b?, 0x1c2b?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc002503fb0 sp=0xc002503f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc002503fe0 sp=0xc002503fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc002503fe8 sp=0xc002503fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 13 gp=0xc0005051e0 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05aff000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc009fc3d80 sp=0xc009fc3d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc009fc3de8 sp=0xc009fc3d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc009fc3e78 sp=0xc009fc3de8 pc=0x4195cf runtime.gcAssistAlloc(0xc0005051e0) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc009fc3ed8 sp=0xc009fc3e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cae0f18?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc009fc3f00 sp=0xc009fc3ed8 pc=0x40d394 runtime.mallocgc(0x4624, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc009fc3f88 sp=0xc009fc3f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x6784?, 0x6784?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc009fc3fb0 sp=0xc009fc3f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc009fc3fe0 sp=0xc009fc3fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc009fc3fe8 sp=0xc009fc3fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 14 gp=0xc000505380 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f06090000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092c6d80 sp=0xc0092c6d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc0092c6de8 sp=0xc0092c6d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc0092c6e78 sp=0xc0092c6de8 pc=0x4195cf runtime.gcAssistAlloc(0xc000505380) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc0092c6ed8 sp=0xc0092c6e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cae1878?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc0092c6f00 sp=0xc0092c6ed8 pc=0x40d394 runtime.mallocgc(0x7d59, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc0092c6f88 sp=0xc0092c6f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x7ba9?, 0x7ba9?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0092c6fb0 sp=0xc0092c6f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0092c6fe0 sp=0xc0092c6fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092c6fe8 sp=0xc0092c6fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 15 gp=0xc000505520 m=nil [runnable]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05a0f000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc002507d80 sp=0xc002507d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc002507de8 sp=0xc002507d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc002507e78 sp=0xc002507de8 pc=0x4195cf runtime.gcAssistAlloc(0xc000505520) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc002507ed8 sp=0xc002507e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cad2878?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc002507f00 sp=0xc002507ed8 pc=0x40d394 runtime.mallocgc(0x7c9e, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc002507f88 sp=0xc002507f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc002507fb0 sp=0xc002507f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc002507fe0 sp=0xc002507fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc002507fe8 sp=0xc002507fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 16 gp=0xc0005056c0 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05a0f000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc006744d80 sp=0xc006744d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc006744de8 sp=0xc006744d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc006744e78 sp=0xc006744de8 pc=0x4195cf runtime.gcAssistAlloc(0xc0005056c0) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc006744ed8 sp=0xc006744e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cad3fe8?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc006744f00 sp=0xc006744ed8 pc=0x40d394 runtime.mallocgc(0x57b8, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc006744f88 sp=0xc006744f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc006744fb0 sp=0xc006744f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc006744fe0 sp=0xc006744fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc006744fe8 sp=0xc006744fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 49 gp=0xc000505860 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05835000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc006874d80 sp=0xc006874d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc006874de8 sp=0xc006874d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc006874e78 sp=0xc006874de8 pc=0x4195cf runtime.gcAssistAlloc(0xc000505860) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc006874ed8 sp=0xc006874e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cad1a68?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc006874f00 sp=0xc006874ed8 pc=0x40d394 runtime.mallocgc(0x56a4, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc006874f88 sp=0xc006874f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc006874fb0 sp=0xc006874f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc006874fe0 sp=0xc006874fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc006874fe8 sp=0xc006874fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 50 gp=0xc000505a00 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05b6f000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092c4d80 sp=0xc0092c4d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc0092c4de8 sp=0xc0092c4d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc0092c4e78 sp=0xc0092c4de8 pc=0x4195cf runtime.gcAssistAlloc(0xc000505a00) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc0092c4ed8 sp=0xc0092c4e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cad4498?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc0092c4f00 sp=0xc0092c4ed8 pc=0x40d394 runtime.mallocgc(0x4d68, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc0092c4f88 sp=0xc0092c4f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0092c4fb0 sp=0xc0092c4f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0092c4fe0 sp=0xc0092c4fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092c4fe8 sp=0xc0092c4fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 51 gp=0xc000505ba0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc009fc1f00 sp=0xc009fc1ef8 pc=0x418ebc runtime.mallocgc(0x4953, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc009fc1f88 sp=0xc009fc1f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x6115?, 0x6115?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc009fc1fb0 sp=0xc009fc1f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc009fc1fe0 sp=0xc009fc1fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc009fc1fe8 sp=0xc009fc1fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 52 gp=0xc000505d40 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc009cf0f00 sp=0xc009cf0ef8 pc=0x418ebc runtime.mallocgc(0x3cb8, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc009cf0f88 sp=0xc009cf0f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc009cf0fb0 sp=0xc009cf0f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc009cf0fe0 sp=0xc009cf0fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc009cf0fe8 sp=0xc009cf0fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 53 gp=0xc000684680 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05825000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092c5d80 sp=0xc0092c5d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc0092c5de8 sp=0xc0092c5d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc0092c5e78 sp=0xc0092c5de8 pc=0x4195cf runtime.gcAssistAlloc(0xc000684680) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc0092c5ed8 sp=0xc0092c5e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cae13c8?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc0092c5f00 sp=0xc0092c5ed8 pc=0x40d394 runtime.mallocgc(0x74fc, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc0092c5f88 sp=0xc0092c5f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0092c5fb0 sp=0xc0092c5f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0092c5fe0 sp=0xc0092c5fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092c5fe8 sp=0xc0092c5fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 54 gp=0xc000684820 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc006740f00 sp=0xc006740ef8 pc=0x418ebc runtime.mallocgc(0x4b64, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc006740f88 sp=0xc006740f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc006740fb0 sp=0xc006740f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc006740fe0 sp=0xc006740fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc006740fe8 sp=0xc006740fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 55 gp=0xc0006849c0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc002500f00 sp=0xc002500ef8 pc=0x418ebc runtime.mallocgc(0x4b1c, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc002500f88 sp=0xc002500f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc002500fb0 sp=0xc002500f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc002500fe0 sp=0xc002500fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc002500fe8 sp=0xc002500fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 56 gp=0xc000684b60 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc006870f00 sp=0xc006870ef8 pc=0x418ebc runtime.mallocgc(0x6022, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc006870f88 sp=0xc006870f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x468b?, 0x468b?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc006870fb0 sp=0xc006870f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc006870fe0 sp=0xc006870fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc006870fe8 sp=0xc006870fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 57 gp=0xc000684d00 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x5c?, 0x0?, 0x7f7f05a0f000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0092c8d80 sp=0xc0092c8d60 pc=0x437dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x55f2bc, 0x0, 0x0, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc0092c8de8 sp=0xc0092c8d80 pc=0x448ca5 runtime.semacquire(...) /workdir/go/src/runtime/sema.go:111 runtime.gcMarkDone() /workdir/go/src/runtime/mgc.go:807 +0x2f fp=0xc0092c8e78 sp=0xc0092c8de8 pc=0x4195cf runtime.gcAssistAlloc(0xc000684d00) /workdir/go/src/runtime/mgcmark.go:564 +0x253 fp=0xc0092c8ed8 sp=0xc0092c8e78 pc=0x41d553 runtime.deductAssistCredit(0x7f7f4cad2878?) /workdir/go/src/runtime/malloc.go:1353 +0x54 fp=0xc0092c8f00 sp=0xc0092c8ed8 pc=0x40d394 runtime.mallocgc(0x5a26, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1025 +0xcc fp=0xc0092c8f88 sp=0xc0092c8f00 pc=0x40cb0c runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0092c8fb0 sp=0xc0092c8f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0092c8fe0 sp=0xc0092c8fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092c8fe8 sp=0xc0092c8fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 58 gp=0xc000684ea0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc0092caf00 sp=0xc0092caef8 pc=0x418ebc runtime.mallocgc(0x150c, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc0092caf88 sp=0xc0092caf00 pc=0x40d245 runtime.makeslice(0x8000?, 0x468b?, 0x468b?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0092cafb0 sp=0xc0092caf88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0092cafe0 sp=0xc0092cafb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0092cafe8 sp=0xc0092cafe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 59 gp=0xc000685040 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc009fc0f00 sp=0xc009fc0ef8 pc=0x418ebc runtime.mallocgc(0x1ae3, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc009fc0f88 sp=0xc009fc0f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x67f6?, 0x67f6?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc009fc0fb0 sp=0xc009fc0f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc009fc0fe0 sp=0xc009fc0fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc009fc0fe8 sp=0xc009fc0fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 60 gp=0xc0006851e0 m=nil [chan receive]: runtime.gopark(0x45395e?, 0xc00005e070?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc009fc2eb8 sp=0xc009fc2e98 pc=0x437dee runtime.chanrecv(0xc004e7e060, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc009fc2f30 sp=0xc009fc2eb8 pc=0x40601f runtime.chanrecv1(0xc00008a0a0?, 0x13b7b263314?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc009fc2f58 sp=0xc009fc2f30 pc=0x405c52 runtime.(*wakeableSleep).sleep(0xc000012030, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc009fc2fb0 sp=0xc009fc2f58 pc=0x45736b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc009fc2fe0 sp=0xc009fc2fb0 pc=0x457e3b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc009fc2fe8 sp=0xc009fc2fe0 pc=0x469a61 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 61 gp=0xc000685380 m=10 mp=0xc000100708 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc002505e78 sp=0xc002505e68 pc=0x467bc8 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc002505fb0 sp=0xc002505e78 pc=0x45616a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc002505fe0 sp=0xc002505fb0 pc=0x4571ef runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc002505fe8 sp=0xc002505fe0 pc=0x469a61 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 62 gp=0xc000685520 m=nil [runnable]: syscall.Syscall(0x1, 0x1, 0x7f7f05865020, 0xb31) /workdir/go/src/syscall/syscall_linux.go:69 +0x25 fp=0xc002484e50 sp=0xc002484df0 pc=0x47f4a5 syscall.write(0xc0000800c0?, {0x7f7f05865020?, 0x0?, 0x0?}) /workdir/go/src/syscall/zsyscall_linux_amd64.go:964 +0x3b fp=0xc002484e90 sp=0xc002484e50 pc=0x47ef7b syscall.Write(...) /workdir/go/src/syscall/syscall_unix.go:209 internal/poll.ignoringEINTRIO(...) /workdir/go/src/internal/poll/fd_unix.go:736 internal/poll.(*FD).Write(0xc0000800c0, {0x7f7f05865020, 0xb31, 0xffe0}) /workdir/go/src/internal/poll/fd_unix.go:380 +0x368 fp=0xc002484f40 sp=0xc002484e90 pc=0x4860e8 os.(*File).write(...) /workdir/go/src/os/file_posix.go:46 os.(*File).Write(0xc00005e028, {0x7f7f05865020?, 0xb31, 0xffe0?}) /workdir/go/src/os/file.go:189 +0x51 fp=0xc002484fa0 sp=0xc002484f40 pc=0x486671 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:134 +0x3b fp=0xc002484fe0 sp=0xc002484fa0 pc=0x495edb runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc002484fe8 sp=0xc002484fe0 pc=0x469a61 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 rax 0xaaaaaaaaaaaaaaca rbx 0x5d rcx 0x0 rdx 0x0 rdi 0xc00003c508 rsi 0x0 rbp 0xc000a0bd50 rsp 0xc000a0bd28 r8 0xc000500708 r9 0x1 r10 0x1 r11 0x1 r12 0xc00003c508 r13 0x1 r14 0xc0001044e0 r15 0x3 rip 0x45c06c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceGOMAXPROCS (0.26s) --- FAIL: TestTraceGOMAXPROCS/Stress (0.14s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x459f8c m=2 sigcode=1 addr=0x90 goroutine 0 gp=0xc0000089c0 m=2 mp=0xc000060708 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000060708?, 0x200000002?}, 0x100000001?}, 0x3?, 0xa8?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc00007bd60 sp=0xc00007bd28 pc=0x459f8c runtime.traceAdvance.func5(0xc00002e508?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc00007bda0 sp=0xc00007bd60 pc=0x4612ce runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc00007bdb8 sp=0xc00007bda0 pc=0x439604 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc00007bf30 sp=0xc00007bdb8 pc=0x43b4f6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc00007bf68 sp=0xc00007bf30 pc=0x43d2d1 runtime.park_m(0xc000008b60) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0xc00007bfc0 sp=0xc00007bf68 pc=0x43d8ac runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0xc00007bfd8 sp=0xc00007bfc0 pc=0x464aee goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13b8789f98e?, 0xc00011eee8?, 0xb9?, 0x6a?, 0x48ef09?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00011eeb8 sp=0xc00011ee98 pc=0x43600e time.Sleep(0xf4240) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00011eef8 sp=0xc00011eeb8 pc=0x463c15 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/gomaxprocs.go:38 +0x85 fp=0xc00011ef50 sp=0xc00011eef8 pc=0x48f1e5 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc00011efe0 sp=0xc00011ef50 pc=0x435bdd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011efe8 sp=0xc00011efe0 pc=0x4669a1 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005afa8 sp=0xc00005af88 pc=0x43600e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005afe0 sp=0xc00005afa8 pc=0x435e93 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x4669a1 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005b780 sp=0xc00005b760 pc=0x43600e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00007c000) /workdir/go/src/runtime/mgcsweep.go:317 +0xdf fp=0xc00005b7c8 sp=0xc00005b780 pc=0x42235f runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x416c65 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x4669a1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0x10000?, 0x4ce5f0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf78 sp=0xc00005bf58 pc=0x43600e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x54a260) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005bfa8 sp=0xc00005bf78 pc=0x41fd09 runtime.bgscavenge(0xc00007c000) /workdir/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x4202b9 runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x416c05 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x4669a1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 17 gp=0xc000104340 m=nil [finalizer wait]: runtime.gopark(0xc00005a660?, 0x41f1dc?, 0xc0?, 0xa0?, 0x550011?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a620 sp=0xc00005a600 pc=0x43600e runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005a7e0 sp=0xc00005a620 pc=0x415ca7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x4669a1 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 18 gp=0xc0001044e0 m=nil [sleep]: runtime.gopark(0x13b8789c004?, 0x1?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005d788 sp=0xc00005d768 pc=0x43600e time.Sleep(0xf4240) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00005d7c8 sp=0xc00005d788 pc=0x463c15 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gomaxprocs.go:27 +0x1d fp=0xc00005d7e0 sp=0xc00005d7c8 pc=0x48f25d runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x4669a1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gomaxprocs.go:24 +0x1e goroutine 19 gp=0xc000104680 m=nil [chan receive]: runtime.gopark(0x45187e?, 0xc0002a2000?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000056eb8 sp=0xc000056e98 pc=0x43600e runtime.chanrecv(0xc0001160c0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000056f30 sp=0xc000056eb8 pc=0x40601f runtime.chanrecv1(0xc000136000?, 0x13b8bd957ae?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc000056f58 sp=0xc000056f30 pc=0x405c52 runtime.(*wakeableSleep).sleep(0xc000134000, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc000056fb0 sp=0xc000056f58 pc=0x45528b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc000056fe0 sp=0xc000056fb0 pc=0x455d5b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000056fe8 sp=0xc000056fe0 pc=0x4669a1 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 20 gp=0xc000104820 m=0 mp=0x54a880 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00011be78 sp=0xc00011be68 pc=0x464b08 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00011bfb0 sp=0xc00011be78 pc=0x45408a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00011bfe0 sp=0xc00011bfb0 pc=0x45510f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011bfe8 sp=0xc00011bfe0 pc=0x4669a1 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 21 gp=0xc0001049c0 m=nil [trace reader (blocked)]: runtime.gopark(0xc000057f78?, 0xc00012a060?, 0x20?, 0x50?, 0x3a0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000057f38 sp=0xc000057f18 pc=0x43600e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc000057fa0 sp=0xc000057f38 pc=0x454b31 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc000057fe0 sp=0xc000057fa0 pc=0x48efc5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x4669a1 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 5 gp=0xc0000091e0 m=nil [GC worker (idle)]: runtime.gopark(0xc0001044e0?, 0x416f12?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000056750 sp=0xc000056730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000567e0 sp=0xc000056750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000567e8 sp=0xc0000567e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 33 gp=0xc000300000 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000306750 sp=0xc000306730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003067e0 sp=0xc000306750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003067e8 sp=0xc0003067e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 22 gp=0xc000104b60 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058750 sp=0xc000058730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000587e0 sp=0xc000058750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 34 gp=0xc0003004e0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000306f50 sp=0xc000306f30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000306fe0 sp=0xc000306f50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000306fe8 sp=0xc000306fe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 49 gp=0xc0002aa340 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000302750 sp=0xc000302730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003027e0 sp=0xc000302750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003027e8 sp=0xc0003027e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 35 gp=0xc000300680 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000307750 sp=0xc000307730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003077e0 sp=0xc000307750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003077e8 sp=0xc0003077e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 23 gp=0xc000104d00 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058f50 sp=0xc000058f30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000058fe0 sp=0xc000058f50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 36 gp=0xc000300820 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000307f50 sp=0xc000307f30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000307fe0 sp=0xc000307f50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000307fe8 sp=0xc000307fe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 37 gp=0xc0003009c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000308750 sp=0xc000308730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003087e0 sp=0xc000308750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003087e8 sp=0xc0003087e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 50 gp=0xc0002aa4e0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000302f50 sp=0xc000302f30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000302fe0 sp=0xc000302f50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000302fe8 sp=0xc000302fe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 6 gp=0xc0000096c0 m=nil [GC worker (idle)]: runtime.gopark(0x455298?, 0xc000136050?, 0xc2?, 0xa1?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000057750 sp=0xc000057730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000577e0 sp=0xc000057750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000577e8 sp=0xc0000577e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 38 gp=0xc000300b60 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000308f50 sp=0xc000308f30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000308fe0 sp=0xc000308f50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000308fe8 sp=0xc000308fe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 51 gp=0xc0002aa680 m=nil [GC worker (idle)]: runtime.gopark(0x13b85f5af2b?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000303750 sp=0xc000303730 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0003037e0 sp=0xc000303750 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003037e8 sp=0xc0003037e0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 7 gp=0xc000009860 m=nil [GC worker (idle)]: runtime.gopark(0x13b8788e2e2?, 0x1?, 0x5e?, 0x37?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00011ff50 sp=0xc00011ff30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00011ffe0 sp=0xc00011ff50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011ffe8 sp=0xc00011ffe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 52 gp=0xc0002aa820 m=nil [GC worker (idle)]: runtime.gopark(0x13b85f0d799?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000303f50 sp=0xc000303f30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000303fe0 sp=0xc000303f50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000303fe8 sp=0xc000303fe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 8 gp=0xc000009a00 m=nil [GC worker (idle)]: runtime.gopark(0x13b85f254c6?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005cf50 sp=0xc00005cf30 pc=0x43600e runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00005cfe0 sp=0xc00005cf50 pc=0x418d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x4669a1 created by runtime.gcBgMarkStartWorkers in goroutine 18 /workdir/go/src/runtime/mgc.go:1234 +0x1c rax 0x57 rbx 0x104 rcx 0x0 rdx 0x0 rdi 0xc00002e508 rsi 0x0 rbp 0xc00007bd50 rsp 0xc00007bd28 r8 0xc000060708 r9 0x1 r10 0x1 r11 0x1 r12 0xc00002e508 r13 0x1 r14 0xc0000089c0 r15 0x1 rip 0x459f8c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStacks (0.53s) --- FAIL: TestTraceStacks/Stress (0.16s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x460f4c m=7 sigcode=1 addr=0x90 goroutine 0 gp=0xc0003041a0 m=7 mp=0xc000300008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000300008?, 0x100000001?}, 0x4?}, 0x3?, 0x50?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7f6049649c08 sp=0x7f6049649bd0 pc=0x460f4c runtime.traceAdvance.func5(0xc00002e008?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7f6049649c48 sp=0x7f6049649c08 pc=0x4683ce runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7f6049649c60 sp=0x7f6049649c48 pc=0x43e744 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7f6049649dd8 sp=0x7f6049649c60 pc=0x4406d6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7f6049649e10 sp=0x7f6049649dd8 pc=0x4424b1 runtime.park_m(0xc000104b60) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7f6049649e68 sp=0x7f6049649e10 pc=0x442a8c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7f6049649e80 sp=0x7f6049649e68 pc=0x46d72e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13ba65b0282?, 0xc00006edd8?, 0x80?, 0x47?, 0xc00011e0c0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00006edc8 sp=0xc00006eda8 pc=0x43b14e time.Sleep(0x5f5e100) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00006ee08 sp=0xc00006edc8 pc=0x46c775 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:101 +0x565 fp=0xc00006ef50 sp=0xc00006ee08 pc=0x4d5cc5 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc00006efe0 sp=0xc00006ef50 pc=0x43ad1d runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x46f761 goroutine 2 gp=0xc000008b60 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005cfa8 sp=0xc00005cf88 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005cfe0 sp=0xc00005cfa8 pc=0x43afd3 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x46f761 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000009040 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005d780 sp=0xc00005d760 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xc000088000) /workdir/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc00005d7c8 sp=0xc00005d780 pc=0x426b14 runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005d7e0 sp=0xc00005d7c8 pc=0x41b465 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x46f761 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc0000091e0 m=nil [GC scavenge wait]: runtime.gopark(0xc000088000?, 0x533ae0?, 0x1?, 0x0?, 0xc0000091e0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005df78 sp=0xc00005df58 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x5e0b80) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005dfa8 sp=0xc00005df78 pc=0x424509 runtime.bgscavenge(0xc000088000) /workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00005dfc8 sp=0xc00005dfa8 pc=0x424a9c runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x41b405 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x46f761 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 18 gp=0xc000104680 m=nil [finalizer wait]: runtime.gopark(0xc00005c648?, 0x40f245?, 0x98?, 0x1?, 0x506340?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005c620 sp=0xc00005c600 pc=0x43b14e runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005c7e0 sp=0xc00005c620 pc=0x41a4a7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x46f761 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 19 gp=0xc000104820 m=nil [chan receive]: runtime.gopark(0x45869e?, 0xc000060008?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0000586b8 sp=0xc000058698 pc=0x43b14e runtime.chanrecv(0xc0001100c0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000058730 sp=0xc0000586b8 pc=0x407d3f runtime.chanrecv1(0xc000130000?, 0x13bac4475d4?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc000058758 sp=0xc000058730 pc=0x407972 runtime.(*wakeableSleep).sleep(0xc00011e048, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc0000587b0 sp=0xc000058758 pc=0x45c24b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0000587e0 sp=0xc0000587b0 pc=0x45cd1b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x46f761 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 20 gp=0xc0001049c0 m=0 mp=0x5e11a0 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000073e78 sp=0xc000073e68 pc=0x46d748 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc000073fb0 sp=0xc000073e78 pc=0x45b04a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc000073fe0 sp=0xc000073fb0 pc=0x45c0cf runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 pc=0x46f761 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 21 gp=0xc000104b60 m=nil [trace reader (blocked)]: runtime.gopark(0xc000059778?, 0xc000128060?, 0x20?, 0xa0?, 0x3f6?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000059738 sp=0xc000059718 pc=0x43b14e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc0000597a0 sp=0xc000059738 pc=0x45baf1 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0000597e0 sp=0xc0000597a0 pc=0x4d55c5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x46f761 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 22 gp=0xc000104d00 m=nil [select (no cases)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000059fa0 sp=0xc000059f80 pc=0x43b14e runtime.block() /workdir/go/src/runtime/select.go:103 +0x26 fp=0xc000059fd0 sp=0xc000059fa0 pc=0x44c026 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:33 +0xf fp=0xc000059fe0 sp=0xc000059fd0 pc=0x4d636f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:32 +0xac goroutine 23 gp=0xc000104ea0 m=nil [chan send (nil chan)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a720 sp=0xc00005a700 pc=0x43b14e runtime.chansend(0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/chan.go:165 +0xda fp=0xc00005a790 sp=0xc00005a720 pc=0x406d3a runtime.chansend1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:145 +0x17 fp=0xc00005a7c0 sp=0xc00005a790 pc=0x406c57 main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:37 +0x1c fp=0xc00005a7e0 sp=0xc00005a7c0 pc=0x4d639c runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:35 +0xb8 goroutine 24 gp=0xc000105040 m=nil [chan receive (nil chan)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005af20 sp=0xc00005af00 pc=0x43b14e runtime.chanrecv(0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/chan.go:469 +0x159 fp=0xc00005af98 sp=0xc00005af20 pc=0x407ad9 runtime.chanrecv1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005afc0 sp=0xc00005af98 pc=0x407972 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:41 +0x17 fp=0xc00005afe0 sp=0xc00005afc0 pc=0x4d63d7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:39 +0xc5 goroutine 25 gp=0xc0001051e0 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005b720 sp=0xc00005b700 pc=0x43b14e runtime.chanrecv(0xc000110240, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005b798 sp=0xc00005b720 pc=0x407d3f runtime.chanrecv1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005b7c0 sp=0xc00005b798 pc=0x407972 main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:45 +0x19 fp=0xc00005b7e0 sp=0xc00005b7c0 pc=0x4d6339 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:44 +0x11d goroutine 26 gp=0xc000105380 m=nil [chan send]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf20 sp=0xc00005bf00 pc=0x43b14e runtime.chansend(0xc0001102a0, 0x533ae0, 0x1, 0x0?) /workdir/go/src/runtime/chan.go:259 +0x38d fp=0xc00005bf90 sp=0xc00005bf20 pc=0x406fed runtime.chansend1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:145 +0x17 fp=0xc00005bfc0 sp=0xc00005bf90 pc=0x406c57 main.main.func5() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:49 +0x1e fp=0xc00005bfe0 sp=0xc00005bfc0 pc=0x4d62fe runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:48 +0x179 goroutine 27 gp=0xc000105520 m=nil [select]: runtime.gopark(0xc0001387b0?, 0x2?, 0x0?, 0x0?, 0xc0001387ac?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000138658 sp=0xc000138638 pc=0x43b14e runtime.selectgo(0xc0001387b0, 0xc0001387a8, 0x0?, 0x0, 0x0?, 0x1) /workdir/go/src/runtime/select.go:327 +0x725 fp=0xc000138778 sp=0xc000138658 pc=0x44c765 main.main.func6() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:54 +0x4a fp=0xc0001387e0 sp=0xc000138778 pc=0x4d62ca runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0001387e8 sp=0xc0001387e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:53 +0x1ff goroutine 28 gp=0xc0001056c0 m=nil [sync.Mutex.Lock]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x20?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000138ec8 sp=0xc000138ea8 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xc000126064, 0x0, 0x3, 0x1, 0x15) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc000138f30 sp=0xc000138ec8 pc=0x44d7a5 sync.runtime_SemacquireMutex(0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/sema.go:77 +0x25 fp=0xc000138f68 sp=0xc000138f30 pc=0x46bf85 sync.(*Mutex).lockSlow(0xc000126060) /workdir/go/src/sync/mutex.go:171 +0x15d fp=0xc000138fb8 sp=0xc000138f68 pc=0x47aa3d sync.(*Mutex).Lock(...) /workdir/go/src/sync/mutex.go:90 main.main.func7() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:62 +0x32 fp=0xc000138fe0 sp=0xc000138fb8 pc=0x4d6252 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000138fe8 sp=0xc000138fe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:61 +0x273 goroutine 29 gp=0xc000105860 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0x20?, 0x21?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000139700 sp=0xc0001396e0 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xc000126078, 0x0, 0x1, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc000139768 sp=0xc000139700 pc=0x44d7a5 sync.runtime_Semacquire(0x0?) /workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc0001397a0 sp=0xc000139768 pc=0x46bec5 sync.(*WaitGroup).Wait(0x0?) /workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc0001397c8 sp=0xc0001397a0 pc=0x47c0e8 main.main.func8() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:68 +0x17 fp=0xc0001397e0 sp=0xc0001397c8 pc=0x4d61f7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0001397e8 sp=0xc0001397e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:67 +0x2d3 goroutine 30 gp=0xc000105a00 m=nil [sync.Cond.Wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000139f30 sp=0xc000139f10 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 sync.runtime_notifyListWait(0xc00013e010, 0x0) /workdir/go/src/runtime/sema.go:569 +0x159 fp=0xc000139f80 sp=0xc000139f30 pc=0x46c239 sync.(*Cond).Wait(0x0?) /workdir/go/src/sync/cond.go:70 +0x85 fp=0xc000139fc0 sp=0xc000139f80 pc=0x479bc5 main.main.func9() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:73 +0x2e fp=0xc000139fe0 sp=0xc000139fc0 pc=0x4d61ae runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000139fe8 sp=0xc000139fe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:71 +0x365 goroutine 31 gp=0xc000105ba0 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00013a538 sp=0xc00013a518 pc=0x43b14e runtime.netpollblock(0x0?, 0x404ee6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00013a570 sp=0xc00013a538 pc=0x433f57 internal/poll.runtime_pollWait(0x7f604af39ea0, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc00013a590 sp=0xc00013a570 pc=0x46aae5 internal/poll.(*pollDesc).wait(0x6?, 0x0?, 0x0) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00013a5b8 sp=0xc00013a590 pc=0x4955e7 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000132080) /workdir/go/src/internal/poll/fd_unix.go:611 +0x2ac fp=0xc00013a660 sp=0xc00013a5b8 pc=0x49688c net.(*netFD).accept(0xc000132080) /workdir/go/src/net/fd_unix.go:172 +0x29 fp=0xc00013a718 sp=0xc00013a660 pc=0x4c29a9 net.(*TCPListener).accept(0xc000152000) /workdir/go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc00013a740 sp=0xc00013a718 pc=0x4d0ebe net.(*TCPListener).Accept(0xc000152000) /workdir/go/src/net/tcpsock.go:327 +0x30 fp=0xc00013a770 sp=0xc00013a740 pc=0x4d0310 main.main.func10() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:81 +0x22 fp=0xc00013a7e0 sp=0xc00013a770 pc=0x4d6062 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00013a7e8 sp=0xc00013a7e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:80 +0x425 goroutine 32 gp=0xc000105d40 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0xb?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00013ae48 sp=0xc00013ae28 pc=0x43b14e runtime.netpollblock(0x4874b8?, 0x404ee6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00013ae80 sp=0xc00013ae48 pc=0x433f57 internal/poll.runtime_pollWait(0x7f604af39da8, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc00013aea0 sp=0xc00013ae80 pc=0x46aae5 internal/poll.(*pollDesc).wait(0xc000128180?, 0xc00013afc7?, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00013aec8 sp=0xc00013aea0 pc=0x4955e7 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000128180, {0xc00013afc7, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc00013af60 sp=0xc00013aec8 pc=0x495f1a os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0xc00011c048, {0xc00013afc7?, 0x0?, 0x0?}) /workdir/go/src/os/file.go:118 +0x52 fp=0xc00013afa0 sp=0xc00013af60 pc=0x497692 main.main.func11() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:97 +0x32 fp=0xc00013afe0 sp=0xc00013afa0 pc=0x4d5f52 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00013afe8 sp=0xc00013afe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:95 +0x557 rax 0xaaaaaaaaaaaaaac4 rbx 0x4b rcx 0x0 rdx 0x0 rdi 0xc00002e008 rsi 0x0 rbp 0x7f6049649bf8 rsp 0x7f6049649bd0 r8 0xc000300008 r9 0x1 r10 0x1 r11 0x1 r12 0xc00002e008 r13 0x1 r14 0xc0003041a0 r15 0x7 rip 0x460f4c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStress (0.52s) --- FAIL: TestTraceStress/Stress (0.15s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x460f8c m=4 sigcode=1 addr=0x90 goroutine 0 gp=0xc000009520 m=4 mp=0xc000063508 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000063508?, 0xa0000000a?}, 0x300000009?}, 0x3?, 0x50?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7ff509125c08 sp=0x7ff509125bd0 pc=0x460f8c runtime.traceAdvance.func5(0xc000034f08?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7ff509125c48 sp=0x7ff509125c08 pc=0x46840e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7ff509125c60 sp=0x7ff509125c48 pc=0x43e704 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7ff509125dd8 sp=0x7ff509125c60 pc=0x440696 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7ff509125e10 sp=0x7ff509125dd8 pc=0x442471 runtime.park_m(0xc000009a00) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7ff509125e68 sp=0x7ff509125e10 pc=0x442a4c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7ff509125e80 sp=0x7ff509125e68 pc=0x46d42e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13bc553c13e?, 0xc00006ee40?, 0xd9?, 0x87?, 0x4d4e09?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00006ee10 sp=0xc00006edf0 pc=0x43b10e time.Sleep(0x2faf080) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00006ee50 sp=0xc00006ee10 pc=0x46c475 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:57 +0x274 fp=0xc00006ef50 sp=0xc00006ee50 pc=0x4d5294 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc00006efe0 sp=0xc00006ef50 pc=0x43acdd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x46f461 goroutine 2 gp=0xc000008b60 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005cfa8 sp=0xc00005cf88 pc=0x43b10e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xb3 fp=0xc00005cfe0 sp=0xc00005cfa8 pc=0x43af93 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x46f461 created by runtime.init.6 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000009040 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005d780 sp=0xc00005d760 pc=0x43b10e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xc000088000) /workdir/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc00005d7c8 sp=0xc00005d780 pc=0x426ad4 runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc00005d7e0 sp=0xc00005d7c8 pc=0x41b425 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x46f461 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc0000091e0 m=nil [GC scavenge wait]: runtime.gopark(0xc000088000?, 0x532338?, 0x1?, 0x0?, 0xc0000091e0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005df78 sp=0xc00005df58 pc=0x43b10e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x5deb80) /workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00005dfa8 sp=0xc00005df78 pc=0x4244c9 runtime.bgscavenge(0xc000088000) /workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc00005dfc8 sp=0xc00005dfa8 pc=0x424a5c runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x41b3c5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x46f461 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xa5 goroutine 18 gp=0xc000104680 m=nil [finalizer wait]: runtime.gopark(0xc00005c648?, 0x40f205?, 0x98?, 0x1?, 0x504d60?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005c620 sp=0xc00005c600 pc=0x43b10e runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0x107 fp=0xc00005c7e0 sp=0xc00005c620 pc=0x41a467 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x46f461 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x3d goroutine 19 gp=0xc000104820 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058718 sp=0xc0000586f8 pc=0x43b10e runtime.chanrecv(0xc0001100c0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000058790 sp=0xc000058718 pc=0x407cff runtime.chanrecv1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc0000587b8 sp=0xc000058790 pc=0x407932 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:29 +0x25 fp=0xc0000587e0 sp=0xc0000587b8 pc=0x4d5ac5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x46f461 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:28 +0xbe goroutine 20 gp=0xc0001049c0 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0xb?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058e40 sp=0xc000058e20 pc=0x43b10e runtime.netpollblock(0x486ef8?, 0x404ea6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc000058e78 sp=0xc000058e40 pc=0x433f17 internal/poll.runtime_pollWait(0x7ff5088eee40, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc000058e98 sp=0xc000058e78 pc=0x46ab25 internal/poll.(*pollDesc).wait(0xc000128120?, 0xc000058fbf?, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000058ec0 sp=0xc000058e98 pc=0x495027 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000128120, {0xc000058fbf, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc000058f58 sp=0xc000058ec0 pc=0x49595a os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0xc00011c038, {0xc000058fbf?, 0x0?, 0x0?}) /workdir/go/src/os/file.go:118 +0x52 fp=0xc000058f98 sp=0xc000058f58 pc=0x4970d2 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:45 +0x3b fp=0xc000058fe0 sp=0xc000058f98 pc=0x4d59fb runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x46f461 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:43 +0x1df goroutine 5 gp=0xc0000096c0 m=nil [chan receive]: runtime.gopark(0x4586de?, 0xc00011c048?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005e6b8 sp=0xc00005e698 pc=0x43b10e runtime.chanrecv(0xc00001e060, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005e730 sp=0xc00005e6b8 pc=0x407cff runtime.chanrecv1(0xc000096050?, 0x13bcb49eee2?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005e758 sp=0xc00005e730 pc=0x407932 runtime.(*wakeableSleep).sleep(0xc000014018, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc00005e7b0 sp=0xc00005e758 pc=0x45c28b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00005e7e0 sp=0xc00005e7b0 pc=0x45cd5b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x46f461 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 6 gp=0xc000009860 m=0 mp=0x5df1a0 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00006fe78 sp=0xc00006fe68 pc=0x46d448 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00006ffb0 sp=0xc00006fe78 pc=0x45b08a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00006ffe0 sp=0xc00006ffb0 pc=0x45c10f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x46f461 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 7 gp=0xc000009a00 m=nil [trace reader (blocked)]: runtime.gopark(0xc00005f778?, 0xc000128060?, 0x20?, 0xf0?, 0x8b?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005f738 sp=0xc00005f718 pc=0x43b10e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc00005f7a0 sp=0xc00005f738 pc=0x45bb31 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00005f7e0 sp=0xc00005f7a0 pc=0x4d4e85 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005f7e8 sp=0xc00005f7e0 pc=0x46f461 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 rax 0xaaaaaaaaaaaaaac9 rbx 0x5a rcx 0x0 rdx 0x0 rdi 0xc000034f08 rsi 0x0 rbp 0x7ff509125bf8 rsp 0x7ff509125bd0 r8 0xc000063508 r9 0x1 r10 0x1 r11 0x1 r12 0xc000034f08 r13 0x1 r14 0xc000009520 r15 0x3 rip 0x460f8c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 FAIL FAIL internal/trace/v2 6.766s FAIL go tool dist: Failed: exit status 1