linux-amd64-longtest-race at 5d1287fa62de7b9c401749cd79147a5e38b11209 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash" "-force"] and env ["HOSTNAME=buildlet-linux-amd64-bullseye-rn019b01a" "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=0s" "GO_STAGE0_DL_DELAY=200ms" "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-rn019b01a" "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=0s" "GO_STAGE0_DL_DELAY=200ms" "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.504s ok archive/zip 96.684s ok bufio 1.245s ok bytes 6.250s ok cmp 1.011s ok compress/bzip2 1.323s ok compress/flate 119.800s ok compress/gzip 9.732s ok compress/lzw 1.402s ok compress/zlib 7.131s ok container/heap 1.014s ok container/list 1.012s ok container/ring 1.013s ok context 1.037s ok crypto 1.011s ok crypto/aes 1.037s ok crypto/cipher 1.886s ok crypto/des 1.033s ok crypto/dsa 3.945s ok crypto/ecdh 1.813s ok crypto/ecdsa 3.785s ok crypto/ed25519 1.701s ok crypto/elliptic 1.938s ok crypto/hmac 1.014s ok crypto/internal/alias 1.011s ok crypto/internal/bigmod 3.379s ok crypto/internal/boring 1.011s ? crypto/internal/boring/bbig [no test files] ? crypto/internal/boring/sig [no test files] ok crypto/internal/boring/bcache 1.358s ok crypto/internal/edwards25519 28.347s ok crypto/internal/edwards25519/field 11.173s ok crypto/internal/nistec 23.642s ? crypto/internal/randutil [no test files] ok crypto/internal/nistec/fiat 1.010s [no tests to run] ok crypto/md5 1.015s ok crypto/rand 2.951s ok crypto/rc4 1.331s ok crypto/rsa 6.883s ok crypto/sha1 1.026s ok crypto/sha256 1.015s ok crypto/sha512 1.016s ok crypto/subtle 13.404s ok crypto/tls 5.789s ok crypto/x509 4.371s ? crypto/x509/pkix [no test files] ok database/sql 2.261s ok database/sql/driver 1.010s ok debug/buildinfo 4.728s ok debug/dwarf 1.080s ok debug/elf 2.476s ok debug/gosym 1.229s ok debug/macho 1.020s ok debug/pe 1.033s ok debug/plan9obj 1.010s ok embed 1.010s [no tests to run] ok embed/internal/embedtest 1.012s ? encoding [no test files] ok encoding/ascii85 1.014s ok encoding/asn1 1.015s ok encoding/base32 1.043s ok encoding/base64 1.017s ok encoding/binary 1.016s ok encoding/csv 1.035s ok encoding/gob 17.535s ok encoding/hex 1.016s ok encoding/json 5.478s ok encoding/pem 2.539s ok encoding/xml 27.575s ok errors 1.015s ok expvar 1.011s ok flag 3.065s ok fmt 1.434s ok go/ast 1.017s ok go/build 4.332s ok go/build/constraint 1.014s ok go/constant 1.017s ok go/doc 1.172s ok go/doc/comment 2.562s ok go/format 1.031s ok go/importer 1.124s ok go/internal/gccgoimporter 1.034s ok go/internal/gcimporter 38.352s ok go/internal/srcimporter 11.630s ? go/internal/typeparams [no test files] ok go/parser 36.281s ok go/printer 2.050s ok go/scanner 1.015s ok go/token 1.083s ok go/types 37.662s ok go/version 1.010s ok hash 1.013s ok hash/adler32 1.027s ok hash/crc32 1.034s ok hash/crc64 1.018s ok hash/fnv 1.011s ok hash/maphash 1.011s ok html 1.011s ok html/template 1.461s ? image/color/palette [no test files] ok image 1.997s ok image/color 1.023s ok image/draw 1.389s ok image/gif 69.120s ? image/internal/imageutil [no test files] ok image/jpeg 19.104s ok image/png 4.917s ok index/suffixarray 511.922s ok internal/abi 1.041s ? 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.011s ok internal/coverage/cmerge 1.011s ? 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.012s ok internal/coverage/slicereader 1.010s ? internal/coverage/stringtab [no test files] ? internal/coverage/uleb128 [no test files] ok internal/coverage/slicewriter 1.010s ok internal/coverage/test 1.030s ok internal/cpu 3.029s ok internal/dag 1.010s ok internal/diff 1.011s ok internal/fmtsort 1.011s ? internal/goarch [no test files] ok internal/fuzz 1.025s ok internal/godebug 17.541s ? 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 3.204s 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.426s ok internal/poll 18.797s ? internal/race [no test files] ok internal/profile 1.012s ok internal/reflectlite 1.014s ok internal/safefilepath 1.011s ok internal/saferio 1.162s ok internal/singleflight 1.089s ? 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.103s ok internal/trace 5.489s ? internal/trace/traceviewer [no test files] ? internal/trace/traceviewer/format [no test files] --- FAIL: TestTraceAnnotationsStress (0.34s) --- 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?}, 0x70000000f?}, 0x3?, 0x58?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7ffde77e7d10 sp=0x7ffde77e7cd8 pc=0x459dcc runtime.traceAdvance.func5(0xc000032f08?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7ffde77e7d50 sp=0x7ffde77e7d10 pc=0x46134e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7ffde77e7d68 sp=0x7ffde77e7d50 pc=0x439344 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7ffde77e7ee0 sp=0x7ffde77e7d68 pc=0x43b236 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7ffde77e7f18 sp=0x7ffde77e7ee0 pc=0x43d011 runtime.park_m(0xc000104820) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7ffde77e7f70 sp=0x7ffde77e7f18 pc=0x43d5ec runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7ffde77e7f88 sp=0x7ffde77e7f70 pc=0x46530e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13a5362dc6e?, 0x495380?, 0x5?, 0x0?, 0x4b3e24?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00011edd0 sp=0xc00011edb0 pc=0x435d4e time.Sleep(0x989680) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00011ee10 sp=0xc00011edd0 pc=0x463c95 main.do({0x4d88c0, 0x5b57c0}, 0x4) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x125 fp=0xc00011eea0 sp=0xc00011ee10 pc=0x495a85 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:43 +0x158 fp=0xc00011ef50 sp=0xc00011eea0 pc=0x495898 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc00011efe0 sp=0xc00011ef50 pc=0x43591d runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011efe8 sp=0xc00011efe0 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 17 gp=0xc000104340 m=nil [finalizer wait]: runtime.gopark(0xc00005a660?, 0x41efdc?, 0xe0?, 0x62?, 0x550011?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a620 sp=0xc00005a600 pc=0x435d4e 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=0x4671c1 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(0x4516be?, 0xc00005e008?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0000566b8 sp=0xc000056698 pc=0x435d4e runtime.chanrecv(0xc0001160c0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000056730 sp=0xc0000566b8 pc=0x40601f runtime.chanrecv1(0xc000136000?, 0x13a5956be1a?) /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=0x4550cb runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0000567e0 sp=0xc0000567b0 pc=0x455b9b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000567e8 sp=0xc0000567e0 pc=0x4671c1 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 19 gp=0xc000104680 m=5 mp=0xc000300008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00011ae78 sp=0xc00011ae68 pc=0x465328 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=0x453eca runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00011afe0 sp=0xc00011afb0 pc=0x454f4f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011afe8 sp=0xc00011afe0 pc=0x4671c1 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?, 0x40?, 0x7d?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000057738 sp=0xc000057718 pc=0x435d4e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc0000577a0 sp=0xc000057738 pc=0x454971 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0000577e0 sp=0xc0000577a0 pc=0x4955a5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000577e8 sp=0xc0000577e0 pc=0x4671c1 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 23 gp=0xc000104d00 m=nil [sleep]: runtime.gopark(0x13a53652960?, 0x495380?, 0x6?, 0x0?, 0x4b3e24?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00011fd98 sp=0xc00011fd78 pc=0x435d4e time.Sleep(0x989680) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00011fdd8 sp=0xc00011fd98 pc=0x463c95 main.do({0x4d88f8, 0xc000124180}, 0x0) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x125 fp=0xc00011fe68 sp=0xc00011fdd8 pc=0x495a85 main.do.func1.1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:73 +0x9b fp=0xc00011fee8 sp=0xc00011fe68 pc=0x495ddb runtime/trace.WithRegion({0x4d88f8?, 0xc000124180?}, {0xc000126080, 0x7}, 0xc00011ff88) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc00011ff50 sp=0xc00011fee8 pc=0x49531d main.do.func1.1(0x2) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:70 +0xb4 fp=0xc00011ffc8 sp=0xc00011ff50 pc=0x495d14 main.do.func1.gowrap1() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:77 +0x24 fp=0xc00011ffe0 sp=0xc00011ffc8 pc=0x495c24 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011ffe8 sp=0xc00011ffe0 pc=0x4671c1 created by main.do.func1 in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:69 +0x45 rax 0xd rbx 0x26 rcx 0x0 rdx 0x0 rdi 0xc000032f08 rsi 0x0 rbp 0x7ffde77e7d00 rsp 0x7ffde77e7cd8 r8 0x556a80 r9 0x1 r10 0x1 r11 0x1 r12 0xc000032f08 r13 0x1 r14 0x556500 r15 0x7 rip 0x459dcc rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceCPUProfile (1.46s) --- FAIL: TestTraceCPUProfile/Stress (0.15s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x45b6ec m=4 sigcode=1 addr=0x90 goroutine 0 gp=0xc0001041a0 m=4 mp=0xc000100008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000100008?, 0x100000002?}, 0x4?}, 0x0?, 0xa8?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc000115d60 sp=0xc000115d28 pc=0x45b6ec runtime.traceAdvance.func5(0xc000035408?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc000115da0 sp=0xc000115d60 pc=0x462b6e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc000115db8 sp=0xc000115da0 pc=0x43a444 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc000115f30 sp=0xc000115db8 pc=0x43c336 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc000115f68 sp=0xc000115f30 pc=0x43e111 runtime.park_m(0xc000009a00) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0xc000115fc0 sp=0xc000115f68 pc=0x43e6ec runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0xc000115fd8 sp=0xc000115fc0 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?, 0xc000008d00?) /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(0x13acdd65a34?, 0xc152b20203127fbd?, 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?, 0xc0003c0000?, 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?, 0x13ad3c7510b?) /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=0 mp=0x5fb640 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0003cae78 sp=0xc0003cae68 pc=0x466ae8 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc0003cafb0 sp=0xc0003cae78 pc=0x4557ea runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc0003cafe0 sp=0xc0003cafb0 pc=0x45686f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0003cafe8 sp=0xc0003cafe0 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?, 0x20?, 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 0x5555555555555559 rbx 0xa rcx 0x0 rdx 0x0 rdi 0xc000035408 rsi 0x0 rbp 0xc000115d50 rsp 0xc000115d28 r8 0xc000100008 r9 0x1 r10 0x0 r11 0x212 r12 0xc000035408 r13 0x1 r14 0xc0001041a0 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=9 sigcode=1 addr=0x90 goroutine 0 gp=0xc0004841a0 m=9 mp=0xc000480008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000480008?, 0x100000001?}, 0x4?}, 0x3?, 0xa8?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc000419d60 sp=0xc000419d28 pc=0x45b3cc runtime.traceAdvance.func5(0xc00003c508?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc000419da0 sp=0xc000419d60 pc=0x46284e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc000419db8 sp=0xc000419da0 pc=0x4393e4 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc000419f30 sp=0xc000419db8 pc=0x43b2d6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc000419f68 sp=0xc000419f30 pc=0x43d0b1 runtime.park_m(0xc00009c000) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0xc000419fc0 sp=0xc000419f68 pc=0x43d68c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0xc000419fd8 sp=0xc000419fc0 pc=0x46618e goroutine 1 gp=0xc0000081a0 m=nil [semacquire]: runtime.gopark(0x438169?, 0xc000096e88?, 0x0?, 0x0?, 0x4661f2?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000096df8 sp=0xc000096dd8 pc=0x435dee runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xc000014178, 0x0, 0x1, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc000096e60 sp=0xc000096df8 pc=0x448145 sync.runtime_Semacquire(0xc00007e080?) /workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc000096e98 sp=0xc000096e60 pc=0x464d05 sync.(*WaitGroup).Wait(0x8?) /workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc000096ec0 sp=0xc000096e98 pc=0x46dd48 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:81 +0x293 fp=0xc000096f50 sp=0xc000096ec0 pc=0x495c93 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000096fe0 sp=0xc000096f50 pc=0x4359bd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000096fe8 sp=0xc000096fe0 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 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=0x435dee 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=0x468041 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(0x4437b3?, 0xc000009380?, 0xf8?, 0xa6?, 0x43abf6?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a6b8 sp=0xc00005a698 pc=0x435dee runtime.chanrecv(0xc00001c120, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005a730 sp=0xc00005a6b8 pc=0x40601f runtime.chanrecv1(0xc00008a050?, 0x13ae6eff17d?) /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=0x4566cb runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00005a7e0 sp=0xc00005a7b0 pc=0x45719b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x468041 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 7 gp=0xc000009520 m=3 mp=0xc000100008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00009ee78 sp=0xc00009ee68 pc=0x4661a8 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00009efb0 sp=0xc00009ee78 pc=0x4554ca runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00009efe0 sp=0xc00009efb0 pc=0x45654f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00009efe8 sp=0xc00009efe0 pc=0x468041 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(0x4bc8f8?, 0x0?, 0x18?, 0xa?, 0x2?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005d738 sp=0xc00005d718 pc=0x435dee runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc00005d7a0 sp=0xc00005d738 pc=0x455f71 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00005d7e0 sp=0xc00005d7a0 pc=0x495865 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x468041 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 9 gp=0xc000009860 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=0xc000093f28 sp=0xc000093ef0 pc=0x49617a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000093fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000093f90 sp=0xc000093f28 pc=0x4955dd main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:39 +0x5f fp=0xc000093fe0 sp=0xc000093f90 pc=0x49611f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000093fe8 sp=0xc000093fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:38 +0x17d goroutine 10 gp=0xc000009a00 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=0xc000094f28 sp=0xc000094ef0 pc=0x49607a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000094fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000094f90 sp=0xc000094f28 pc=0x4955dd main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:48 +0x5f fp=0xc000094fe0 sp=0xc000094f90 pc=0x49601f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000094fe8 sp=0xc000094fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:47 +0x1cb goroutine 11 gp=0xc000009ba0 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=0xc000092f20 sp=0xc000092e88 pc=0x495f15 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000092fb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000092f88 sp=0xc000092f20 pc=0x4955dd main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:57 +0x65 fp=0xc000092fe0 sp=0xc000092f88 pc=0x495ea5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000092fe8 sp=0xc000092fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:56 +0x230 goroutine 12 gp=0xc000009d40 m=nil [runnable]: runtime.gopark(0xc000098ee8?, 0x2?, 0x0?, 0x0?, 0xc000098ecc?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000098d78 sp=0xc000098d58 pc=0x435dee runtime.selectgo(0xc000098ee8, 0xc000098ec8, 0xc000098ee8?, 0x0, 0x0?, 0x1) /workdir/go/src/runtime/select.go:327 +0x725 fp=0xc000098e98 sp=0xc000098d78 pc=0x447105 main.main.func4.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:72 +0x85 fp=0xc000098f20 sp=0xc000098e98 pc=0x495de5 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000098fb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000098f88 sp=0xc000098f20 pc=0x4955dd main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:69 +0x65 fp=0xc000098fe0 sp=0xc000098f88 pc=0x495d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000098fe8 sp=0xc000098fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:68 +0x113 goroutine 13 gp=0xc00009c000 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=0xc000099f28 sp=0xc000099ef0 pc=0x49617a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000099fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000099f90 sp=0xc000099f28 pc=0x4955dd main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:39 +0x5f fp=0xc000099fe0 sp=0xc000099f90 pc=0x49611f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000099fe8 sp=0xc000099fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:38 +0x17d goroutine 14 gp=0xc00009c1a0 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=0xc0000a2f28 sp=0xc0000a2ef0 pc=0x49607a runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc0000a2fb8) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc0000a2f90 sp=0xc0000a2f28 pc=0x4955dd main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:48 +0x5f fp=0xc0000a2fe0 sp=0xc0000a2f90 pc=0x49601f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a2fe8 sp=0xc0000a2fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:47 +0x1cb goroutine 15 gp=0xc00009c340 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=0xc0000a3f20 sp=0xc0000a3e88 pc=0x495f15 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc0000a3fb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc0000a3f88 sp=0xc0000a3f20 pc=0x4955dd main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:57 +0x65 fp=0xc0000a3fe0 sp=0xc0000a3f88 pc=0x495ea5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a3fe8 sp=0xc0000a3fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:56 +0x230 goroutine 16 gp=0xc00009c4e0 m=nil [select]: runtime.gopark(0xc000097ee8?, 0x2?, 0x0?, 0x0?, 0xc000097ecc?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000097d78 sp=0xc000097d58 pc=0x435dee runtime.selectgo(0xc000097ee8, 0xc000097ec8, 0xc000097ee8?, 0x0, 0x0?, 0x1) /workdir/go/src/runtime/select.go:327 +0x725 fp=0xc000097e98 sp=0xc000097d78 pc=0x447105 main.main.func4.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:72 +0x85 fp=0xc000097f20 sp=0xc000097e98 pc=0x495de5 runtime/trace.WithRegion({0x4d8800?, 0x5b5780?}, {0x4b3fde, 0x7}, 0xc000097fb0) /workdir/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000097f88 sp=0xc000097f20 pc=0x4955dd main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:69 +0x65 fp=0xc000097fe0 sp=0xc000097f88 pc=0x495d45 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000097fe8 sp=0xc000097fe0 pc=0x468041 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:68 +0x113 rax 0xaaaaaaaaaaaaaaad rbx 0x6 rcx 0x0 rdx 0x0 rdi 0xc00003c508 rsi 0x0 rbp 0xc000419d50 rsp 0xc000419d28 r8 0xc000480008 r9 0x1 r10 0x1 r11 0x1 r12 0xc00003c508 r13 0x1 r14 0xc0004841a0 r15 0x3 rip 0x45b3cc rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceGCStress (1.33s) --- FAIL: TestTraceGCStress/Stress (0.21s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x45c06c m=7 sigcode=1 addr=0x90 goroutine 0 gp=0xc000009a00 m=7 mp=0xc000061c08 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000061c08?, 0x0?}, 0x0?}, 0x0?, 0x0?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0xc000611bc0 sp=0xc000611b88 pc=0x45c06c runtime.traceAdvance.func5(0xc00004a508?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0xc000611c00 sp=0xc000611bc0 pc=0x4633ae runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0xc000611c18 sp=0xc000611c00 pc=0x43b3e4 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0xc000611d90 sp=0xc000611c18 pc=0x43d2d6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0xc000611dc8 sp=0xc000611d90 pc=0x43f0b1 runtime.goschedImpl(0xc0029bb040, 0x1) /workdir/go/src/runtime/proc.go:4081 +0x178 fp=0xc000611e18 sp=0xc000611dc8 pc=0x43f838 runtime.gopreempt_m(...) /workdir/go/src/runtime/proc.go:4098 runtime.newstack() /workdir/go/src/runtime/stack.go:1070 +0x3d1 fp=0xc000611fc8 sp=0xc000611e18 pc=0x44e991 runtime.morestack() /workdir/go/src/runtime/asm_amd64.s:616 +0x7a fp=0xc000611fd0 sp=0xc000611fc8 pc=0x467d3a goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13b2d7ca211?, 0x0?, 0x0?, 0x0?, 0x495f00?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000120e98 sp=0xc000120e78 pc=0x437dee time.Sleep(0x17d78400) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000120ed8 sp=0xc000120e98 pc=0x466cd5 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:75 +0x1ac fp=0xc000120f50 sp=0xc000120ed8 pc=0x49632c runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000120fe0 sp=0xc000120f50 pc=0x4379bd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000120fe8 sp=0xc000120fe0 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:306 +0x15b fp=0xc00005b7c8 sp=0xc00005b780 pc=0x42427b 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(0x10000?, 0x4daed0?, 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 17 gp=0xc000104340 m=nil [finalizer wait]: runtime.gopark(0xc00005a660?, 0x42107c?, 0x20?, 0xec?, 0x550011?) /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 18 gp=0xc0001044e0 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 19 gp=0xc000104680 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 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=0xc000502000 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x1?, 0x3c?, 0x8a?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000508750 sp=0xc000508730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005087e0 sp=0xc000508750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005087e8 sp=0xc0005087e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 5 gp=0xc000009520 m=nil [GC worker (idle)]: runtime.gopark(0x13b2e20b1d5?, 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 20 gp=0xc000104820 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x3?, 0x64?, 0xb9?, 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 6 gp=0xc0000096c0 m=nil [GC worker (idle)]: runtime.gopark(0x13b2f5a983b?, 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 21 gp=0xc0001049c0 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x1?, 0xac?, 0xfa?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000057f50 sp=0xc000057f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000057fe0 sp=0xc000057f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 49 gp=0xc000580000 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x3?, 0x60?, 0xec?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000504750 sp=0xc000504730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005047e0 sp=0xc000504750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005047e8 sp=0xc0005047e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 50 gp=0xc0005801a0 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x3?, 0x62?, 0x67?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000504f50 sp=0xc000504f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000504fe0 sp=0xc000504f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000504fe8 sp=0xc000504fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 51 gp=0xc000580340 m=nil [GC worker (idle)]: runtime.gopark(0x13b2f59141b?, 0x1?, 0x8?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000505750 sp=0xc000505730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005057e0 sp=0xc000505750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005057e8 sp=0xc0005057e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 22 gp=0xc000104b60 m=nil [GC worker (idle)]: runtime.gopark(0x13b2f5c47f3?, 0x1?, 0x87?, 0xb8?, 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 34 gp=0xc0005021a0 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x1?, 0xcd?, 0x8b?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000508f50 sp=0xc000508f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000508fe0 sp=0xc000508f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000508fe8 sp=0xc000508fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 35 gp=0xc000502340 m=nil [GC worker (idle)]: runtime.gopark(0x13b2cde0fc5?, 0x1?, 0x3a?, 0x3a?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000509750 sp=0xc000509730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005097e0 sp=0xc000509750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005097e8 sp=0xc0005097e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 36 gp=0xc0005024e0 m=nil [GC worker (idle)]: runtime.gopark(0x5bec20?, 0x3?, 0xd2?, 0xc2?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000509f50 sp=0xc000509f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000509fe0 sp=0xc000509f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000509fe8 sp=0xc000509fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 37 gp=0xc000502680 m=nil [GC worker (idle)]: runtime.gopark(0x13b2f5c5027?, 0x1?, 0xca?, 0x20?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00050a750 sp=0xc00050a730 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00050a7e0 sp=0xc00050a750 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00050a7e8 sp=0xc00050a7e0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 52 gp=0xc0005804e0 m=nil [GC worker (idle)]: runtime.gopark(0x13b2cdde3dd?, 0x3?, 0x4a?, 0x1?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000505f50 sp=0xc000505f30 pc=0x437dee runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000505fe0 sp=0xc000505f50 pc=0x41abe5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000505fe8 sp=0xc000505fe0 pc=0x469a61 created by runtime.gcBgMarkStartWorkers in goroutine 1 /workdir/go/src/runtime/mgc.go:1234 +0x1c goroutine 65 gp=0xc0029ba000 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00011ef00 sp=0xc00011eef8 pc=0x418ebc runtime.mallocgc(0x27bb, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00011ef88 sp=0xc00011ef00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00011efb0 sp=0xc00011ef88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00011efe0 sp=0xc00011efb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011efe8 sp=0xc00011efe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 66 gp=0xc0029ba1a0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc003230f00 sp=0xc003230ef8 pc=0x418ebc runtime.mallocgc(0x4ca8, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc003230f88 sp=0xc003230f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc003230fb0 sp=0xc003230f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc003230fe0 sp=0xc003230fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc003230fe8 sp=0xc003230fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 67 gp=0xc0029ba340 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00011df00 sp=0xc00011def8 pc=0x418ebc runtime.mallocgc(0x1ef2, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00011df88 sp=0xc00011df00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00011dfb0 sp=0xc00011df88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00011dfe0 sp=0xc00011dfb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011dfe8 sp=0xc00011dfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 68 gp=0xc0029ba4e0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00351df00 sp=0xc00351def8 pc=0x418ebc runtime.mallocgc(0x5ab0, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00351df88 sp=0xc00351df00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00351dfb0 sp=0xc00351df88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00351dfe0 sp=0xc00351dfb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00351dfe8 sp=0xc00351dfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 69 gp=0xc0029ba680 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00322ff00 sp=0xc00322fef8 pc=0x418ebc runtime.mallocgc(0x64c7, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00322ff88 sp=0xc00322ff00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00322ffb0 sp=0xc00322ff88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00322ffe0 sp=0xc00322ffb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00322ffe8 sp=0xc00322ffe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 70 gp=0xc0029ba820 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc003231f00 sp=0xc003231ef8 pc=0x418ebc runtime.mallocgc(0x7519, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc003231f88 sp=0xc003231f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc003231fb0 sp=0xc003231f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc003231fe0 sp=0xc003231fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc003231fe8 sp=0xc003231fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 71 gp=0xc0029ba9c0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00322cf00 sp=0xc00322cef8 pc=0x418ebc runtime.mallocgc(0x720d, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00322cf88 sp=0xc00322cf00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00322cfb0 sp=0xc00322cf88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00322cfe0 sp=0xc00322cfb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00322cfe8 sp=0xc00322cfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 72 gp=0xc0029bab60 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00289df00 sp=0xc00289def8 pc=0x418ebc runtime.mallocgc(0x1cb5, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00289df88 sp=0xc00289df00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00289dfb0 sp=0xc00289df88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00289dfe0 sp=0xc00289dfb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00289dfe8 sp=0xc00289dfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 73 gp=0xc0029bad00 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00322df00 sp=0xc00322def8 pc=0x418ebc runtime.mallocgc(0x1ac4, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00322df88 sp=0xc00322df00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00322dfb0 sp=0xc00322df88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00322dfe0 sp=0xc00322dfb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00322dfe8 sp=0xc00322dfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 74 gp=0xc0029baea0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc003521f00 sp=0xc003521ef8 pc=0x418ebc runtime.mallocgc(0x6653, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc003521f88 sp=0xc003521f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc003521fb0 sp=0xc003521f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc003521fe0 sp=0xc003521fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc003521fe8 sp=0xc003521fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 75 gp=0xc0029bb040 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc0075fbf00 sp=0xc0075fbef8 pc=0x418ebc runtime.mallocgc(0x5d4e, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc0075fbf88 sp=0xc0075fbf00 pc=0x40d245 runtime.makeslice(0x8000?, 0x5db1?, 0x5db1?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0075fbfb0 sp=0xc0075fbf88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0075fbfe0 sp=0xc0075fbfb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0075fbfe8 sp=0xc0075fbfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 76 gp=0xc0029bb1e0 m=nil [runnable]: math/rand.Intn(0x8000) /workdir/go/src/math/rand/rand.go:453 +0x35 fp=0xc002899fb0 sp=0xc002899fa8 pc=0x495695 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x25 fp=0xc002899fe0 sp=0xc002899fb0 pc=0x4963e5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc002899fe8 sp=0xc002899fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 77 gp=0xc0029bb380 m=nil [runnable]: math/rand.Intn(0x8000) /workdir/go/src/math/rand/rand.go:453 +0x35 fp=0xc00791dfb0 sp=0xc00791dfa8 pc=0x495695 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x25 fp=0xc00791dfe0 sp=0xc00791dfb0 pc=0x4963e5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00791dfe8 sp=0xc00791dfe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 78 gp=0xc0029bb520 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc0075fff00 sp=0xc0075ffef8 pc=0x418ebc runtime.mallocgc(0x7efd, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc0075fff88 sp=0xc0075fff00 pc=0x40d245 runtime.makeslice(0x8000?, 0x88b?, 0x88b?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc0075fffb0 sp=0xc0075fff88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc0075fffe0 sp=0xc0075fffb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0075fffe8 sp=0xc0075fffe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 79 gp=0xc0029bb6c0 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc000121f00 sp=0xc000121ef8 pc=0x418ebc runtime.mallocgc(0x711f, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc000121f88 sp=0xc000121f00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc000121fb0 sp=0xc000121f88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc000121fe0 sp=0xc000121fb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000121fe8 sp=0xc000121fe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 80 gp=0xc0029bb860 m=nil [runnable]: runtime.gcTrigger.test({0x0?, 0x0?, 0x0?}) /workdir/go/src/runtime/mgc.go:568 +0xdc fp=0xc00011ff00 sp=0xc00011fef8 pc=0x418ebc runtime.mallocgc(0x68c1, 0x49f960, 0x1) /workdir/go/src/runtime/malloc.go:1307 +0x805 fp=0xc00011ff88 sp=0xc00011ff00 pc=0x40d245 runtime.makeslice(0x8000?, 0x0?, 0x0?) /workdir/go/src/runtime/slice.go:107 +0x49 fp=0xc00011ffb0 sp=0xc00011ff88 pc=0x44c609 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:60 +0x3c fp=0xc00011ffe0 sp=0xc00011ffb0 pc=0x4963fc runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00011ffe8 sp=0xc00011ffe0 pc=0x469a61 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gc-stress.go:58 +0x115 goroutine 7 gp=0xc000502b60 m=nil [chan receive]: runtime.gopark(0x45395e?, 0xc0001180a0?, 0x2?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0029c3eb8 sp=0xc0029c3e98 pc=0x437dee runtime.chanrecv(0xc0001160c0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc0029c3f30 sp=0xc0029c3eb8 pc=0x40601f runtime.chanrecv1(0xc00008a0a0?, 0x13b33764069?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc0029c3f58 sp=0xc0029c3f30 pc=0x405c52 runtime.(*wakeableSleep).sleep(0xc000124018, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc0029c3fb0 sp=0xc0029c3f58 pc=0x45736b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0029c3fe0 sp=0xc0029c3fb0 pc=0x457e3b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0029c3fe8 sp=0xc0029c3fe0 pc=0x469a61 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 8 gp=0xc000502d00 m=11 mp=0xc002600008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00289ce78 sp=0xc00289ce68 pc=0x467bc8 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00289cfb0 sp=0xc00289ce78 pc=0x45616a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00289cfe0 sp=0xc00289cfb0 pc=0x4571ef runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00289cfe8 sp=0xc00289cfe0 pc=0x469a61 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 9 gp=0xc000502ea0 m=nil [trace reader (blocked)]: runtime.gopark(0xc0029c2f78?, 0xc00012e060?, 0x20?, 0xe0?, 0x693?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0029c2f38 sp=0xc0029c2f18 pc=0x437dee runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc0029c2fa0 sp=0xc0029c2f38 pc=0x456c11 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0029c2fe0 sp=0xc0029c2fa0 pc=0x495ee5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0029c2fe8 sp=0xc0029c2fe0 pc=0x469a61 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 rax 0x3 rbx 0x8 rcx 0x0 rdx 0x0 rdi 0xc00004a508 rsi 0x0 rbp 0xc000611bb0 rsp 0xc000611b88 r8 0xc000061c08 r9 0x1 r10 0x0 r11 0x286 r12 0xc000611c98 r13 0x4 r14 0xc000009a00 r15 0x7 rip 0x45c06c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStacks (0.52s) --- FAIL: TestTraceStacks/Stress (0.15s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x460f4c m=5 sigcode=1 addr=0x90 goroutine 0 gp=0xc0001041a0 m=5 mp=0xc000100008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000100008?, 0x1000000010?}, 0x500000003?}, 0x3?, 0x50?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7f85db4f9c08 sp=0x7f85db4f9bd0 pc=0x460f4c runtime.traceAdvance.func5(0xc000037408?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7f85db4f9c48 sp=0x7f85db4f9c08 pc=0x4683ce runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7f85db4f9c60 sp=0x7f85db4f9c48 pc=0x43e744 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7f85db4f9dd8 sp=0x7f85db4f9c60 pc=0x4406d6 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7f85db4f9e10 sp=0x7f85db4f9dd8 pc=0x4424b1 runtime.park_m(0xc0000a8000) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7f85db4f9e68 sp=0x7f85db4f9e10 pc=0x442a8c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7f85db4f9e80 sp=0x7f85db4f9e68 pc=0x46d72e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13b66fc6d28?, 0xc000073dd8?, 0x80?, 0x47?, 0xc0000140d8?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000073dc8 sp=0xc000073da8 pc=0x43b14e time.Sleep(0x5f5e100) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000073e08 sp=0xc000073dc8 pc=0x46c775 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:101 +0x565 fp=0xc000073f50 sp=0xc000073e08 pc=0x4d5cc5 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000073fe0 sp=0xc000073f50 pc=0x43ad1d runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 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 5 gp=0xc000009a00 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 6 gp=0xc000009ba0 m=nil [chan receive]: runtime.gopark(0x45869e?, 0xc000110000?, 0x1?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005e6b8 sp=0xc00005e698 pc=0x43b14e runtime.chanrecv(0xc00001e120, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005e730 sp=0xc00005e6b8 pc=0x407d3f runtime.chanrecv1(0xc000096050?, 0x13b6cee843c?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005e758 sp=0xc00005e730 pc=0x407972 runtime.(*wakeableSleep).sleep(0xc000014060, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc00005e7b0 sp=0xc00005e758 pc=0x45c24b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00005e7e0 sp=0xc00005e7b0 pc=0x45cd1b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x46f761 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 7 gp=0xc000009d40 m=7 mp=0xc000300008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00006ee78 sp=0xc00006ee68 pc=0x46d748 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00006efb0 sp=0xc00006ee78 pc=0x45b04a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00006efe0 sp=0xc00006efb0 pc=0x45c0cf runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x46f761 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 8 gp=0xc0000a8000 m=nil [trace reader (blocked)]: runtime.gopark(0xc00005f778?, 0xc00008c0c0?, 0x20?, 0x90?, 0x109?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005f738 sp=0xc00005f718 pc=0x43b14e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc00005f7a0 sp=0xc00005f738 pc=0x45baf1 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00005f7e0 sp=0xc00005f7a0 pc=0x4d55c5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005f7e8 sp=0xc00005f7e0 pc=0x46f761 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 9 gp=0xc0000a81a0 m=nil [select (no cases)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005ffa0 sp=0xc00005ff80 pc=0x43b14e runtime.block() /workdir/go/src/runtime/select.go:103 +0x26 fp=0xc00005ffd0 sp=0xc00005ffa0 pc=0x44c026 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:33 +0xf fp=0xc00005ffe0 sp=0xc00005ffd0 pc=0x4d636f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:32 +0xac goroutine 10 gp=0xc0000a8340 m=nil [chan send (nil chan)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058720 sp=0xc000058700 pc=0x43b14e runtime.chansend(0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/chan.go:165 +0xda fp=0xc000058790 sp=0xc000058720 pc=0x406d3a runtime.chansend1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:145 +0x17 fp=0xc0000587c0 sp=0xc000058790 pc=0x406c57 main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:37 +0x1c fp=0xc0000587e0 sp=0xc0000587c0 pc=0x4d639c runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:35 +0xb8 goroutine 11 gp=0xc0000a84e0 m=nil [chan receive (nil chan)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000058f20 sp=0xc000058f00 pc=0x43b14e runtime.chanrecv(0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/chan.go:469 +0x159 fp=0xc000058f98 sp=0xc000058f20 pc=0x407ad9 runtime.chanrecv1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc000058fc0 sp=0xc000058f98 pc=0x407972 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:41 +0x17 fp=0xc000058fe0 sp=0xc000058fc0 pc=0x4d63d7 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:39 +0xc5 goroutine 12 gp=0xc0000a8680 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000059720 sp=0xc000059700 pc=0x43b14e runtime.chanrecv(0xc00001e2a0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000059798 sp=0xc000059720 pc=0x407d3f runtime.chanrecv1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc0000597c0 sp=0xc000059798 pc=0x407972 main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:45 +0x19 fp=0xc0000597e0 sp=0xc0000597c0 pc=0x4d6339 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:44 +0x11d goroutine 13 gp=0xc0000a8820 m=nil [chan send]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000059f20 sp=0xc000059f00 pc=0x43b14e runtime.chansend(0xc00001e300, 0x533ae0, 0x1, 0x0?) /workdir/go/src/runtime/chan.go:259 +0x38d fp=0xc000059f90 sp=0xc000059f20 pc=0x406fed runtime.chansend1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:145 +0x17 fp=0xc000059fc0 sp=0xc000059f90 pc=0x406c57 main.main.func5() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:49 +0x1e fp=0xc000059fe0 sp=0xc000059fc0 pc=0x4d62fe 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:48 +0x179 goroutine 14 gp=0xc0000a89c0 m=nil [select]: runtime.gopark(0xc00005a7b0?, 0x2?, 0x0?, 0x0?, 0xc00005a7ac?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005a658 sp=0xc00005a638 pc=0x43b14e runtime.selectgo(0xc00005a7b0, 0xc00005a7a8, 0x0?, 0x0, 0x0?, 0x1) /workdir/go/src/runtime/select.go:327 +0x725 fp=0xc00005a778 sp=0xc00005a658 pc=0x44c765 main.main.func6() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:54 +0x4a fp=0xc00005a7e0 sp=0xc00005a778 pc=0x4d62ca 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:53 +0x1ff goroutine 15 gp=0xc0000a8b60 m=nil [sync.Mutex.Lock]: runtime.gopark(0x0?, 0x0?, 0x80?, 0x1?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005aec8 sp=0xc00005aea8 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xc0000161c4, 0x0, 0x3, 0x1, 0x15) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc00005af30 sp=0xc00005aec8 pc=0x44d7a5 sync.runtime_SemacquireMutex(0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/sema.go:77 +0x25 fp=0xc00005af68 sp=0xc00005af30 pc=0x46bf85 sync.(*Mutex).lockSlow(0xc0000161c0) /workdir/go/src/sync/mutex.go:171 +0x15d fp=0xc00005afb8 sp=0xc00005af68 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=0xc00005afe0 sp=0xc00005afb8 pc=0x4d6252 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:61 +0x273 goroutine 16 gp=0xc0000a8d00 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0xe0?, 0x1?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005b700 sp=0xc00005b6e0 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xc0000161d8, 0x0, 0x1, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x225 fp=0xc00005b768 sp=0xc00005b700 pc=0x44d7a5 sync.runtime_Semacquire(0x0?) /workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc00005b7a0 sp=0xc00005b768 pc=0x46bec5 sync.(*WaitGroup).Wait(0x0?) /workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc00005b7c8 sp=0xc00005b7a0 pc=0x47c0e8 main.main.func8() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:68 +0x17 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x4d61f7 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:67 +0x2d3 goroutine 18 gp=0xc0000a8ea0 m=nil [sync.Cond.Wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005bf30 sp=0xc00005bf10 pc=0x43b14e runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 sync.runtime_notifyListWait(0xc00008a050, 0x0) /workdir/go/src/runtime/sema.go:569 +0x159 fp=0xc00005bf80 sp=0xc00005bf30 pc=0x46c239 sync.(*Cond).Wait(0x0?) /workdir/go/src/sync/cond.go:70 +0x85 fp=0xc00005bfc0 sp=0xc00005bf80 pc=0x479bc5 main.main.func9() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:73 +0x2e fp=0xc00005bfe0 sp=0xc00005bfc0 pc=0x4d61ae 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:71 +0x365 goroutine 19 gp=0xc0000a9040 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0000c0538 sp=0xc0000c0518 pc=0x43b14e runtime.netpollblock(0x0?, 0x404ee6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0000c0570 sp=0xc0000c0538 pc=0x433f57 internal/poll.runtime_pollWait(0x7f85da4c2720, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc0000c0590 sp=0xc0000c0570 pc=0x46aae5 internal/poll.(*pollDesc).wait(0x3?, 0x0?, 0x0) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0000c05b8 sp=0xc0000c0590 pc=0x4955e7 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc00002c100) /workdir/go/src/internal/poll/fd_unix.go:611 +0x2ac fp=0xc0000c0660 sp=0xc0000c05b8 pc=0x49688c net.(*netFD).accept(0xc00002c100) /workdir/go/src/net/fd_unix.go:172 +0x29 fp=0xc0000c0718 sp=0xc0000c0660 pc=0x4c29a9 net.(*TCPListener).accept(0xc00007e020) /workdir/go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc0000c0740 sp=0xc0000c0718 pc=0x4d0ebe net.(*TCPListener).Accept(0xc00007e020) /workdir/go/src/net/tcpsock.go:327 +0x30 fp=0xc0000c0770 sp=0xc0000c0740 pc=0x4d0310 main.main.func10() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:81 +0x22 fp=0xc0000c07e0 sp=0xc0000c0770 pc=0x4d6062 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c07e8 sp=0xc0000c07e0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:80 +0x425 goroutine 20 gp=0xc0000a91e0 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0xb?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0000c0e48 sp=0xc0000c0e28 pc=0x43b14e runtime.netpollblock(0x4874b8?, 0x404ee6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc0000c0e80 sp=0xc0000c0e48 pc=0x433f57 internal/poll.runtime_pollWait(0x7f85da4c2628, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc0000c0ea0 sp=0xc0000c0e80 pc=0x46aae5 internal/poll.(*pollDesc).wait(0xc00008c1e0?, 0xc0000c0fc7?, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0000c0ec8 sp=0xc0000c0ea0 pc=0x4955e7 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00008c1e0, {0xc0000c0fc7, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc0000c0f60 sp=0xc0000c0ec8 pc=0x495f1a os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0xc000060050, {0xc0000c0fc7?, 0x0?, 0x0?}) /workdir/go/src/os/file.go:118 +0x52 fp=0xc0000c0fa0 sp=0xc0000c0f60 pc=0x497692 main.main.func11() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:97 +0x32 fp=0xc0000c0fe0 sp=0xc0000c0fa0 pc=0x4d5f52 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c0fe8 sp=0xc0000c0fe0 pc=0x46f761 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:95 +0x557 rax 0x555555555555555b rbx 0x10 rcx 0x0 rdx 0x0 rdi 0xc000037408 rsi 0x0 rbp 0x7f85db4f9bf8 rsp 0x7f85db4f9bd0 r8 0xc000100008 r9 0x1 r10 0x1 r11 0x1 r12 0xc000037408 r13 0x1 r14 0xc0001041a0 r15 0x5 rip 0x460f4c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStress (0.56s) --- 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?, 0x100000001?}, 0x4?}, 0x3?, 0x50?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7f8143ffec08 sp=0x7f8143ffebd0 pc=0x460f8c runtime.traceAdvance.func5(0xc00002e008?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7f8143ffec48 sp=0x7f8143ffec08 pc=0x46840e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7f8143ffec60 sp=0x7f8143ffec48 pc=0x43e704 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7f8143ffedd8 sp=0x7f8143ffec60 pc=0x440696 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7f8143ffee10 sp=0x7f8143ffedd8 pc=0x442471 runtime.park_m(0xc00018c340) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7f8143ffee68 sp=0x7f8143ffee10 pc=0x442a4c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7f8143ffee80 sp=0x7f8143ffee68 pc=0x46d42e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13b887fa74c?, 0xc000073e40?, 0xd9?, 0x87?, 0x4d4e09?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000073e10 sp=0xc000073df0 pc=0x43b10e time.Sleep(0x2faf080) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000073e50 sp=0xc000073e10 pc=0x46c475 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:57 +0x274 fp=0xc000073f50 sp=0xc000073e50 pc=0x4d5294 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000073fe0 sp=0xc000073f50 pc=0x43acdd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 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 5 gp=0xc000009a00 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 6 gp=0xc000009ba0 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005e718 sp=0xc00005e6f8 pc=0x43b10e runtime.chanrecv(0xc00001e120, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005e790 sp=0xc00005e718 pc=0x407cff runtime.chanrecv1(0x0?, 0x0?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005e7b8 sp=0xc00005e790 pc=0x407932 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:29 +0x25 fp=0xc00005e7e0 sp=0xc00005e7b8 pc=0x4d5ac5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x46f461 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:28 +0xbe goroutine 7 gp=0xc000009d40 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0xb?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005ee40 sp=0xc00005ee20 pc=0x43b10e runtime.netpollblock(0x486ef8?, 0x404ea6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00005ee78 sp=0xc00005ee40 pc=0x433f17 internal/poll.runtime_pollWait(0x7f8148765e80, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc00005ee98 sp=0xc00005ee78 pc=0x46ab25 internal/poll.(*pollDesc).wait(0xc00008c180?, 0xc00005efbf?, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00005eec0 sp=0xc00005ee98 pc=0x495027 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00008c180, {0xc00005efbf, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc00005ef58 sp=0xc00005eec0 pc=0x49595a os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0xc000060040, {0xc00005efbf?, 0x0?, 0x0?}) /workdir/go/src/os/file.go:118 +0x52 fp=0xc00005ef98 sp=0xc00005ef58 pc=0x4970d2 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:45 +0x3b fp=0xc00005efe0 sp=0xc00005ef98 pc=0x4d59fb runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005efe8 sp=0xc00005efe0 pc=0x46f461 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:43 +0x1df goroutine 18 gp=0xc00018c000 m=nil [chan receive]: runtime.gopark(0x1?, 0xc000000001?, 0xf8?, 0x86?, 0x43476e?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc0000586b8 sp=0xc000058698 pc=0x43b10e runtime.chanrecv(0xc000186000, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc000058730 sp=0xc0000586b8 pc=0x407cff runtime.chanrecv1(0xc000188000?, 0x13b8e73eb72?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc000058758 sp=0xc000058730 pc=0x407932 runtime.(*wakeableSleep).sleep(0xc000184000, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc0000587b0 sp=0xc000058758 pc=0x45c28b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0000587e0 sp=0xc0000587b0 pc=0x45cd5b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x46f461 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 19 gp=0xc00018c1a0 m=5 mp=0xc000100008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000074e78 sp=0xc000074e68 pc=0x46d448 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc000074fb0 sp=0xc000074e78 pc=0x45b08a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc000074fe0 sp=0xc000074fb0 pc=0x45c10f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000074fe8 sp=0xc000074fe0 pc=0x46f461 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 20 gp=0xc00018c340 m=nil [trace reader (blocked)]: runtime.gopark(0xc000059778?, 0xc00008c0c0?, 0x20?, 0x10?, 0x8b?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000059738 sp=0xc000059718 pc=0x43b10e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc0000597a0 sp=0xc000059738 pc=0x45bb31 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0000597e0 sp=0xc0000597a0 pc=0x4d4e85 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x46f461 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 rax 0xaaaaaaaaaaaaaabb rbx 0x30 rcx 0x0 rdx 0x0 rdi 0xc00002e008 rsi 0x0 rbp 0x7f8143ffebf8 rsp 0x7f8143ffebd0 r8 0xc000063508 r9 0x1 r10 0x1 r11 0x1 r12 0xc00002e008 r13 0x1 r14 0xc000009520 r15 0x7 rip 0x460f8c rflags 0x10246 cs 0x33 fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStressStartStop (0.42s) --- FAIL: TestTraceStressStartStop/Stress (0.14s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x460f8c m=3 sigcode=1 addr=0x90 goroutine 0 gp=0xc000008ea0 m=3 mp=0xc000062e08 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000062e08?, 0x800000008?}, 0x700000006?}, 0x3?, 0x50?) /workdir/go/src/runtime/trace2status.go:91 +0xcc fp=0x7f21f29f8c08 sp=0x7f21f29f8bd0 pc=0x460f8c runtime.traceAdvance.func5(0xc000032a08?) /workdir/go/src/runtime/trace2.go:551 +0x8e fp=0x7f21f29f8c48 sp=0x7f21f29f8c08 pc=0x46840e runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x44 fp=0x7f21f29f8c60 sp=0x7f21f29f8c48 pc=0x43e704 runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x56 fp=0x7f21f29f8dd8 sp=0x7f21f29f8c60 pc=0x440696 runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xb1 fp=0x7f21f29f8e10 sp=0x7f21f29f8dd8 pc=0x442471 runtime.park_m(0xc000009040) /workdir/go/src/runtime/proc.go:4052 +0x1ec fp=0x7f21f29f8e68 sp=0x7f21f29f8e10 pc=0x442a4c runtime.mcall() /workdir/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7f21f29f8e80 sp=0x7f21f29f8e68 pc=0x46d42e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x13ba1be9982?, 0x0?, 0x0?, 0x0?, 0x4d55c0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc000073e98 sp=0xc000073e78 pc=0x43b10e time.Sleep(0xf4240) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc000073ed8 sp=0xc000073e98 pc=0x46c475 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:162 +0xad fp=0xc000073f50 sp=0xc000073ed8 pc=0x4d57ed runtime.main() /workdir/go/src/runtime/proc.go:271 +0x29d fp=0xc000073fe0 sp=0xc000073f50 pc=0x43acdd runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 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?, 0x5337d8?, 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(0x5e0ba0) /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 5 gp=0xc000009a00 m=nil [finalizer wait]: runtime.gopark(0xc00005c648?, 0x40f205?, 0x98?, 0x1?, 0x506160?) /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 6 gp=0xc000009ba0 m=nil [sleep]: runtime.gopark(0x13ba1bc136a?, 0xc00005e6a8?, 0x40?, 0x47?, 0xc00011a000?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005e698 sp=0xc00005e678 pc=0x43b10e time.Sleep(0xf4240) /workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00005e6d8 sp=0xc00005e698 pc=0x46c475 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:58 +0x1df fp=0xc00005e7e0 sp=0xc00005e6d8 pc=0x4d5a9f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x46f461 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:28 +0x9f goroutine 18 gp=0xc000104340 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(0xc000112000, 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.2() /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:38 +0x25 fp=0xc0000587e0 sp=0xc0000587b8 pc=0x4d63a5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x46f461 created by main.main.func1 in goroutine 6 /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:37 +0xf9 goroutine 19 gp=0xc0001044e0 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(0x487618?, 0x404ea6?, 0x0?) /workdir/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc000058e78 sp=0xc000058e40 pc=0x433f17 internal/poll.runtime_pollWait(0x7f21f19bce50, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x85 fp=0xc000058e98 sp=0xc000058e78 pc=0x46ab25 internal/poll.(*pollDesc).wait(0xc000118000?, 0xc000058fbf?, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000058ec0 sp=0xc000058e98 pc=0x495747 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000118000, {0xc000058fbf, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc000058f58 sp=0xc000058ec0 pc=0x49607a os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0xc000116000, {0xc000058fbf?, 0x0?, 0x0?}) /workdir/go/src/os/file.go:118 +0x52 fp=0xc000058f98 sp=0xc000058f58 pc=0x4977f2 main.main.func1.4() /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:54 +0x3b fp=0xc000058fe0 sp=0xc000058f98 pc=0x4d62db runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x46f461 created by main.main.func1 in goroutine 6 /workdir/go/src/internal/trace/v2/testdata/testprog/stress-start-stop.go:52 +0x1d5 goroutine 7 gp=0xc000009d40 m=nil [chan receive]: runtime.gopark(0x4586de?, 0xc000120000?, 0x2?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005eeb8 sp=0xc00005ee98 pc=0x43b10e runtime.chanrecv(0xc00001e180, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3bf fp=0xc00005ef30 sp=0xc00005eeb8 pc=0x407cff runtime.chanrecv1(0xc000096050?, 0x13ba7b479ec?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc00005ef58 sp=0xc00005ef30 pc=0x407932 runtime.(*wakeableSleep).sleep(0xc000014060, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xab fp=0xc00005efb0 sp=0xc00005ef58 pc=0x45c28b runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00005efe0 sp=0xc00005efb0 pc=0x45cd5b runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005efe8 sp=0xc00005efe0 pc=0x46f461 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 8 gp=0xc0000a8000 m=4 mp=0xc000063508 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00006ee78 sp=0xc00006ee68 pc=0x46d448 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x62a fp=0xc00006efb0 sp=0xc00006ee78 pc=0x45b08a runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x2f fp=0xc00006efe0 sp=0xc00006efb0 pc=0x45c10f runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x46f461 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 9 gp=0xc0000a81a0 m=nil [trace reader (blocked)]: runtime.gopark(0xc00005ff78?, 0x7bb?, 0x0?, 0x0?, 0x0?) /workdir/go/src/runtime/proc.go:402 +0xce fp=0xc00005ff38 sp=0xc00005ff18 pc=0x43b10e runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x31 fp=0xc00005ffa0 sp=0xc00005ff38 pc=0x45bb31 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00005ffe0 sp=0xc00005ffa0 pc=0x4d55a5 runtime.goexit({}) /workdir/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x46f461 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xd0 rax 0x5555555555555557 rbx 0x4 rcx 0x0 rdx 0x0 rdi 0xc000032a08 rsi 0x0 rbp 0x7f21f29f8bf8 rsp 0x7f21f29f8bd0 r8 0xc000062e08 r9 0x1 r10 0x1 r11 0x1 r12 0xc000032a08 r13 0x1 r14 0xc000008ea0 r15 0x7 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.478s FAIL go tool dist: Failed: exit status 1