linux-386-longtest at ecb9d9b95ccba900de9504b3699a219c84b0aa96 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash" "-force"] and env ["HOSTNAME=buildlet-linux-amd64-bullseye-rn8171948" "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-386-longtest" "GO_TEST_SHORT=0" "GOARCH=386" "GOHOSTARCH=386" "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/386. --- Installed Go for linux/386 in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. ##### Test execution environment. # GOARCH: 386 # 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 0.124s ok archive/zip 21.828s ok bufio 0.048s ok bytes 2.573s ok cmp 0.002s ok compress/bzip2 0.033s ok compress/flate 10.160s ok compress/gzip 1.489s ok compress/lzw 0.049s ok compress/zlib 0.524s ok container/heap 0.003s ok container/list 0.002s ok container/ring 0.003s ok context 0.018s ok crypto 0.002s ok crypto/aes 0.017s ok crypto/cipher 0.004s ok crypto/des 0.009s ok crypto/dsa 53.787s ok crypto/ecdh 0.587s ok crypto/ecdsa 4.308s ok crypto/ed25519 0.740s ok crypto/elliptic 0.439s ok crypto/hmac 0.002s ok crypto/internal/alias 0.002s ok crypto/internal/bigmod 0.116s ok crypto/internal/boring 0.002s ? crypto/internal/boring/bbig [no test files] ? crypto/internal/boring/sig [no test files] ok crypto/internal/boring/bcache 0.048s ok crypto/internal/edwards25519 13.589s ok crypto/internal/edwards25519/field 15.212s ok crypto/internal/nistec 43.261s ? crypto/internal/randutil [no test files] ok crypto/internal/nistec/fiat 0.001s [no tests to run] ok crypto/md5 0.004s ok crypto/rand 0.152s ok crypto/rc4 0.024s ok crypto/rsa 4.713s ok crypto/sha1 0.003s ok crypto/sha256 0.004s ok crypto/sha512 0.004s ok crypto/subtle 3.279s ok crypto/tls 2.738s ok crypto/x509 2.965s ? crypto/x509/pkix [no test files] ok database/sql 1.139s ok database/sql/driver 0.002s ok debug/buildinfo 3.604s ok debug/dwarf 0.016s ok debug/elf 0.143s ok debug/gosym 0.013s ok debug/macho 0.003s ok debug/pe 0.009s ok debug/plan9obj 0.002s ok embed 0.003s [no tests to run] ok embed/internal/embedtest 0.002s ? encoding [no test files] ok encoding/ascii85 0.003s ok encoding/asn1 0.003s ok encoding/base32 0.016s ok encoding/base64 0.004s ok encoding/binary 0.003s ok encoding/csv 0.007s ok encoding/gob 2.101s ok encoding/hex 0.003s ok encoding/json 0.918s ok encoding/pem 0.586s ok encoding/xml 6.035s ok errors 0.004s ok expvar 0.003s ok flag 0.015s ok fmt 0.038s ok go/ast 0.004s ok go/build 1.247s ok go/build/constraint 0.003s ok go/constant 0.003s ok go/doc 0.029s ok go/doc/comment 0.596s ok go/format 0.006s ok go/importer 0.126s ok go/internal/gccgoimporter 0.006s ok go/internal/gcimporter 34.761s ok go/internal/srcimporter 5.536s ? go/internal/typeparams [no test files] ok go/parser 9.210s ok go/printer 0.116s ok go/scanner 0.003s ok go/token 0.010s ok go/types 8.474s ok go/version 0.002s ok hash 0.002s ok hash/adler32 0.004s ok hash/crc32 0.004s ok hash/crc64 0.002s ok hash/fnv 0.002s ok hash/maphash 106.700s ok html 0.003s ok html/template 0.115s ok image 0.097s ? image/color/palette [no test files] ok image/color 0.013s ok image/draw 0.055s ? image/internal/imageutil [no test files] ok image/gif 11.059s ok image/jpeg 1.940s ok image/png 0.519s ok index/suffixarray 43.987s ? internal/bisect [no test files] ok internal/abi 0.032s ok internal/buildcfg 0.002s ? internal/cfg [no test files] ? internal/coverage [no test files] ? internal/bytealg [no test files] ? internal/coverage/calloc [no test files] ok internal/coverage/cformat 0.002s ok internal/coverage/cmerge 0.002s ? internal/coverage/decodecounter [no test files] ? 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 0.002s ? internal/coverage/stringtab [no test files] ok internal/coverage/slicereader 0.002s ok internal/coverage/slicewriter 0.002s ? internal/coverage/uleb128 [no test files] ok internal/coverage/test 0.006s ok internal/cpu 0.005s ok internal/dag 0.002s ok internal/diff 0.002s ok internal/fmtsort 0.002s ? internal/goarch [no test files] ok internal/fuzz 0.005s ok internal/godebug 0.238s ? internal/goexperiment [no test files] ? internal/goos [no test files] ok internal/godebugs 0.002s ? internal/goroot [no test files] ? internal/goversion [no test files] ok internal/gover 0.002s ? internal/lazyregexp [no test files] ok internal/intern 1.383s ok internal/itoa 0.002s ? 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 0.430s ? internal/race [no test files] ok internal/poll 2.002s ok internal/profile 0.002s ok internal/reflectlite 0.002s ok internal/safefilepath 0.002s ok internal/saferio 0.025s ? internal/syscall/execenv [no test files] ? internal/syscall/unix [no test files] ok internal/singleflight 0.019s ? internal/sysinfo [no test files] ? internal/testlog [no test files] ok internal/testenv 0.107s ? internal/testpty [no test files] ? internal/trace/traceviewer [no test files] ok internal/trace 1.497s ? internal/trace/traceviewer/format [no test files] ? internal/trace/v2/event [no test files] --- FAIL: TestTraceAnnotationsStress (0.40s) --- FAIL: TestTraceAnnotationsStress/Stress (0.16s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x80a4347 m=5 sigcode=1 addr=0x0 goroutine 0 gp=0x9882c68 m=5 mp=0x9880408 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x9880408, 0x84}, 0x0}, 0x982e608, 0x0) /workdir/go/src/runtime/trace2status.go:91 +0x67 fp=0x988feac sp=0x988fe84 pc=0x80a4347 runtime.traceAdvance.func5(0x982e608) /workdir/go/src/runtime/trace2.go:551 +0x8f fp=0x988fed8 sp=0x988feac pc=0x80ac14f runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x6a fp=0x988fef0 sp=0x988fed8 pc=0x808323a runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x7e fp=0x988ff9c sp=0x988fef0 pc=0x808508e runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xbd fp=0x988ffb8 sp=0x988ff9c pc=0x80870ed runtime.park_m(0x98825a8) /workdir/go/src/runtime/proc.go:4052 +0x1b5 fp=0x988ffd8 sp=0x988ffb8 pc=0x8087835 runtime.mcall(0x882c68) /workdir/go/src/runtime/asm_386.s:329 +0x44 fp=0x988ffe0 sp=0x988ffd8 pc=0x80af4b4 goroutine 1 gp=0x9808128 m=nil [sleep]: runtime.gopark(0x80ffb8c, 0x98ba060, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x98486ec sp=0x98486d8 pc=0x807ff6c time.Sleep(0x989680) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x9848708 sp=0x98486ec pc=0x80ae848 main.do({0x811899c, 0x98a2018}, 0x3) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x170 fp=0x9848750 sp=0x9848708 pc=0x80de900 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:45 +0x1f9 fp=0x98487ac sp=0x9848750 pc=0x80de6e9 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x2b6 fp=0x98487f0 sp=0x98487ac pc=0x807fac6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98487f4 sp=0x98487f0 pc=0x80b08a1 goroutine 2 gp=0x9808488 m=nil [force gc (idle)]: runtime.gopark(0x80ffb6c, 0x818b9a8, 0x11, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9848fdc sp=0x9848fc8 pc=0x807ff6c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xd3 fp=0x9848ff0 sp=0x9848fdc pc=0x807fdb3 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9848ff4 sp=0x9848ff0 pc=0x80b08a1 created by runtime.init.5 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x23 goroutine 3 gp=0x98087e8 m=nil [GC sweep wait]: runtime.gopark(0x80ffb6c, 0x818ba80, 0xc, 0x9, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x98497cc sp=0x98497b8 pc=0x807ff6c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0x981e040) /workdir/go/src/runtime/mgcsweep.go:277 +0x9b fp=0x98497e8 sp=0x98497cc pc=0x806b38b runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x27 fp=0x98497f0 sp=0x98497e8 pc=0x805cf27 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98497f4 sp=0x98497f0 pc=0x80b08a1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x77 goroutine 4 gp=0x9808908 m=nil [GC scavenge wait]: runtime.gopark(0x80ffb6c, 0x818bb60, 0xd, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9849fb8 sp=0x9849fa4 pc=0x807ff6c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x818bb60) /workdir/go/src/runtime/mgcscavenge.go:425 +0x60 fp=0x9849fcc sp=0x9849fb8 pc=0x80688a0 runtime.bgscavenge(0x981e040) /workdir/go/src/runtime/mgcscavenge.go:653 +0x4b fp=0x9849fe8 sp=0x9849fcc pc=0x8068f0b runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x27 fp=0x9849ff0 sp=0x9849fe8 pc=0x805cee7 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9849ff4 sp=0x9849ff0 pc=0x80b08a1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xb7 goroutine 17 gp=0x9882248 m=nil [finalizer wait]: runtime.gopark(0x80ffb08, 0x81b75e4, 0x10, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9844798 sp=0x9844784 pc=0x807ff6c runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0xfc fp=0x98447f0 sp=0x9844798 pc=0x805c00c runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98447f4 sp=0x98447f0 pc=0x80b08a1 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x60 goroutine 18 gp=0x9882368 m=nil [chan receive]: runtime.gopark(0x80ffaf0, 0x98940b0, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9844f4c sp=0x9844f38 pc=0x807ff6c runtime.chanrecv(0x9894080, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x9844f88 sp=0x9844f4c pc=0x804d9f3 runtime.chanrecv1(0x9894080, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x9844f9c sp=0x9844f88 pc=0x804d64c runtime.(*wakeableSleep).sleep(0x98b8000, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xc3 fp=0x9844fd8 sp=0x9844f9c pc=0x809f393 runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x50 fp=0x9844ff0 sp=0x9844fd8 pc=0x809fe20 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9844ff4 sp=0x9844ff0 pc=0x80b08a1 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x161 goroutine 19 gp=0x9882488 m=2 mp=0x984c408 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_386.s:341 fp=0x9845718 sp=0x9845714 pc=0x80af4c0 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x5c4 fp=0x98457d8 sp=0x9845718 pc=0x809e064 runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x46 fp=0x98457f0 sp=0x98457d8 pc=0x809f226 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98457f4 sp=0x98457f0 pc=0x80b08a1 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 20 gp=0x98825a8 m=nil [trace reader (blocked)]: runtime.gopark(0x80ffae0, 0x0, 0x18, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9845f98 sp=0x9845f84 pc=0x807ff6c runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x40 fp=0x9845fc8 sp=0x9845f98 pc=0x809eaf0 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x4e fp=0x9845ff0 sp=0x9845fc8 pc=0x80de3ae runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9845ff4 sp=0x9845ff0 pc=0x80b08a1 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xc9 goroutine 37 gp=0x9a9c128 m=nil [sleep]: runtime.gopark(0x80ffb8c, 0x9aae000, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9aa2ec8 sp=0x9aa2eb4 pc=0x807ff6c time.Sleep(0x989680) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x9aa2ee4 sp=0x9aa2ec8 pc=0x80ae848 main.do({0x811899c, 0x9a98018}, 0x0) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x170 fp=0x9aa2f2c sp=0x9aa2ee4 pc=0x80de900 main.do.func1.1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:73 +0xcd fp=0x9aa2f68 sp=0x9aa2f2c pc=0x80dec3d runtime/trace.WithRegion({0x811899c, 0x9a98018}, {0x9a96058, 0x7}, 0x9aa2fcc) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0x9aa2fa8 sp=0x9aa2f68 pc=0x80de188 main.do.func1.1(0x2) /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:70 +0xe9 fp=0x9aa2fe8 sp=0x9aa2fa8 pc=0x80deb59 main.do.func1.gowrap1() /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:77 +0x29 fp=0x9aa2ff0 sp=0x9aa2fe8 pc=0x80dea59 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9aa2ff4 sp=0x9aa2ff0 pc=0x80b08a1 created by main.do.func1 in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:69 +0x44 eax 0x0 ebx 0x982ef1c ecx 0x9880408 edx 0x982e608 edi 0x818d398 esi 0x1 ebp 0x1 esp 0x988fe84 eip 0x80a4347 eflags 0x10246 cs 0x23 fs 0x0 gs 0x63 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceCPUProfile (1.08s) --- FAIL: TestTraceCPUProfile/Stress (0.18s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x80a5a27 m=4 sigcode=1 addr=0x0 goroutine 0 gp=0x9082128 m=4 mp=0x9080008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x9080008, 0x30}, 0x0}, 0x9030c08, 0x0) /workdir/go/src/runtime/trace2status.go:91 +0x67 fp=0x9093ea8 sp=0x9093e80 pc=0x80a5a27 runtime.traceAdvance.func5(0x9030c08) /workdir/go/src/runtime/trace2.go:551 +0x8f fp=0x9093ed4 sp=0x9093ea8 pc=0x80ad71f runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x6a fp=0x9093eec sp=0x9093ed4 pc=0x808411a runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x7e fp=0x9093f98 sp=0x9093eec pc=0x8085f6e runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xbd fp=0x9093fb4 sp=0x9093f98 pc=0x8087fcd runtime.goschedImpl(0x9008128, 0x0) /workdir/go/src/runtime/proc.go:4081 +0x14d fp=0x9093fcc sp=0x9093fb4 pc=0x808887d runtime.gosched_m(0x9008128) /workdir/go/src/runtime/proc.go:4086 +0x26 fp=0x9093fd8 sp=0x9093fcc pc=0x80888d6 runtime.mcall(0x82128) /workdir/go/src/runtime/asm_386.s:329 +0x44 fp=0x9093fe0 sp=0x9093fd8 pc=0x80b0b44 goroutine 1 gp=0x9008128 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.cpuHog0(0x0, 0x186a0) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:128 +0x59 fp=0x910cd50 sp=0x910cd40 pc=0x812ffb9 main.cpuHog1(0x0) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:120 +0x29 fp=0x910cd60 sp=0x910cd50 pc=0x812ff49 main.cpuHogger(0x815df44, 0x825345c, 0x5f5e100) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:107 +0x3f fp=0x910cd9c sp=0x910cd60 pc=0x812fe9f main.main.func1.1({0x817edf4, 0x9110150}) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:44 +0x3b fp=0x910cdb0 sp=0x910cd9c pc=0x812fddb runtime/pprof.Do({0x817edd4, 0x8253440}, {{0x9012080, 0x1, 0x1}}, 0x910ce20) /workdir/go/src/runtime/pprof/runtime.go:51 +0xbd fp=0x910cdec sp=0x910cdb0 pc=0x812eaad main.main.func1(0x5f5e100) /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:43 +0x220 fp=0x910ce54 sp=0x910cdec pc=0x812fd40 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:50 +0x13f fp=0x910cfac sp=0x910ce54 pc=0x812f57f runtime.main() /workdir/go/src/runtime/proc.go:271 +0x2b6 fp=0x910cff0 sp=0x910cfac pc=0x80809a6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x910cff4 sp=0x910cff0 pc=0x80b1f31 goroutine 2 gp=0x9008488 m=nil [force gc (idle)]: runtime.gopark(0x815e134, 0x8226f18, 0x11, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9048fdc sp=0x9048fc8 pc=0x8080e4c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xd3 fp=0x9048ff0 sp=0x9048fdc pc=0x8080c93 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9048ff4 sp=0x9048ff0 pc=0x80b1f31 created by runtime.init.5 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x23 goroutine 3 gp=0x90087e8 m=nil [GC sweep wait]: runtime.gopark(0x815e134, 0x8227020, 0xc, 0x9, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x90497cc sp=0x90497b8 pc=0x8080e4c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0x901e040) /workdir/go/src/runtime/mgcsweep.go:277 +0x9b fp=0x90497e8 sp=0x90497cc pc=0x806c0eb runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x27 fp=0x90497f0 sp=0x90497e8 pc=0x805dc87 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x90497f4 sp=0x90497f0 pc=0x80b1f31 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x77 goroutine 4 gp=0x9008908 m=nil [GC scavenge wait]: runtime.gopark(0x815e134, 0x82271e0, 0xd, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9049fb8 sp=0x9049fa4 pc=0x8080e4c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x82271e0) /workdir/go/src/runtime/mgcscavenge.go:425 +0x60 fp=0x9049fcc sp=0x9049fb8 pc=0x8069600 runtime.bgscavenge(0x901e040) /workdir/go/src/runtime/mgcscavenge.go:653 +0x4b fp=0x9049fe8 sp=0x9049fcc pc=0x8069c6b runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x27 fp=0x9049ff0 sp=0x9049fe8 pc=0x805dc47 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9049ff4 sp=0x9049ff0 pc=0x80b1f31 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xb7 goroutine 5 gp=0x9008c68 m=nil [finalizer wait]: runtime.gopark(0x815e0d4, 0x825347c, 0x10, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x904a798 sp=0x904a784 pc=0x8080e4c runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0xfc fp=0x904a7f0 sp=0x904a798 pc=0x805cd6c runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904a7f4 sp=0x904a7f0 pc=0x80b1f31 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x60 goroutine 6 gp=0x9008d88 m=nil [sleep]: runtime.gopark(0x815e154, 0x90ae030, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9108f90 sp=0x9108f7c pc=0x8080e4c time.Sleep(0x5f5e100) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x9108fac sp=0x9108f90 pc=0x80b0318 runtime/pprof.profileWriter({0x817ea40, 0x9110138}) /workdir/go/src/runtime/pprof/pprof.go:809 +0x59 fp=0x9108fe4 sp=0x9108fac pc=0x8125419 runtime/pprof.StartCPUProfile.gowrap2() /workdir/go/src/runtime/pprof/pprof.go:794 +0x2e fp=0x9108ff0 sp=0x9108fe4 pc=0x812535e runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9108ff4 sp=0x9108ff0 pc=0x80b1f31 created by runtime/pprof.StartCPUProfile in goroutine 1 /workdir/go/src/runtime/pprof/pprof.go:794 +0x11f goroutine 7 gp=0x9008ea8 m=nil [chan receive]: runtime.gopark(0x815e0bc, 0x901e1b0, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x904af4c sp=0x904af38 pc=0x8080e4c runtime.chanrecv(0x901e180, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x904af88 sp=0x904af4c pc=0x804da23 runtime.chanrecv1(0x901e180, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x904af9c sp=0x904af88 pc=0x804d67c runtime.(*wakeableSleep).sleep(0x9012040, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xc3 fp=0x904afd8 sp=0x904af9c pc=0x80a0a73 runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x50 fp=0x904aff0 sp=0x904afd8 pc=0x80a1500 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904aff4 sp=0x904aff0 pc=0x80b1f31 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x161 goroutine 8 gp=0x9008fc8 m=3 mp=0x904c808 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_386.s:341 fp=0x904b718 sp=0x904b714 pc=0x80b0b50 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x5c4 fp=0x904b7d8 sp=0x904b718 pc=0x809f744 runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x46 fp=0x904b7f0 sp=0x904b7d8 pc=0x80a0906 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904b7f4 sp=0x904b7f0 pc=0x80b1f31 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 9 gp=0x90090e8 m=nil [trace reader (blocked)]: runtime.gopark(0x815e0ac, 0x0, 0x18, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x904bf98 sp=0x904bf84 pc=0x8080e4c runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x40 fp=0x904bfc8 sp=0x904bf98 pc=0x80a01d0 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x4e fp=0x904bff0 sp=0x904bfc8 pc=0x812f28e runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904bff4 sp=0x904bff0 pc=0x80b1f31 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xc9 eax 0x0 ebx 0x903151c ecx 0x9080008 edx 0x9030c08 edi 0x8229238 esi 0x1 ebp 0x1 esp 0x9093e80 eip 0x80a5a27 eflags 0x10246 cs 0x23 fs 0x0 gs 0x63 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceFutileWakeup (0.31s) --- FAIL: TestTraceFutileWakeup/Stress (0.13s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x80a57d7 m=0 sigcode=1 addr=0x0 goroutine 0 gp=0x818bbc0 m=0 mp=0x818bfa0 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x818bfa0, 0xa}, 0x0}, 0xa02c008, 0x0) /workdir/go/src/runtime/trace2status.go:91 +0x67 fp=0xffb7a448 sp=0xffb7a420 pc=0x80a57d7 runtime.traceAdvance.func5(0xa02c008) /workdir/go/src/runtime/trace2.go:551 +0x8f fp=0xffb7a474 sp=0xffb7a448 pc=0x80ad4cf runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x6a fp=0xffb7a48c sp=0xffb7a474 pc=0x80832fa runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x7e fp=0xffb7a538 sp=0xffb7a48c pc=0x808514e runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xbd fp=0xffb7a554 sp=0xffb7a538 pc=0x80871ad runtime.goschedImpl(0xa009208, 0x0) /workdir/go/src/runtime/proc.go:4081 +0x14d fp=0xffb7a56c sp=0xffb7a554 pc=0x8087a5d runtime.gosched_m(0xa009208) /workdir/go/src/runtime/proc.go:4086 +0x26 fp=0xffb7a578 sp=0xffb7a56c pc=0x8087ab6 runtime.mcall(0x18bbc0) /workdir/go/src/runtime/asm_386.s:329 +0x44 fp=0xffb7a580 sp=0xffb7a578 pc=0x80b0304 goroutine 1 gp=0xa008128 m=nil [semacquire]: runtime.gopark(0x80ffeac, 0x8192360, 0x12, 0x5, 0x4) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa048704 sp=0xa0486f0 pc=0x808002c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0xa014178, 0x0, 0x1, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x291 fp=0xa048734 sp=0xa048704 pc=0x80926a1 sync.runtime_Semacquire(0xa014178) /workdir/go/src/runtime/sema.go:62 +0x3b fp=0xa04874c sp=0xa048734 pc=0x80af72b sync.(*WaitGroup).Wait(0xa014170) /workdir/go/src/sync/waitgroup.go:116 +0x65 fp=0xa048768 sp=0xa04874c pc=0x80b63a5 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:81 +0x2cf fp=0xa0487ac sp=0xa048768 pc=0x80dec6f runtime.main() /workdir/go/src/runtime/proc.go:271 +0x2b6 fp=0xa0487f0 sp=0xa0487ac pc=0x807fb86 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa0487f4 sp=0xa0487f0 pc=0x80b16f1 goroutine 2 gp=0xa008488 m=nil [force gc (idle)]: runtime.gopark(0x80ffeac, 0x818b958, 0x11, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa048fdc sp=0xa048fc8 pc=0x808002c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xd3 fp=0xa048ff0 sp=0xa048fdc pc=0x807fe73 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa048ff4 sp=0xa048ff0 pc=0x80b16f1 created by runtime.init.5 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x23 goroutine 3 gp=0xa0087e8 m=nil [GC sweep wait]: runtime.gopark(0x80ffeac, 0x818ba40, 0xc, 0x9, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa0497cc sp=0xa0497b8 pc=0x808002c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0xa01e040) /workdir/go/src/runtime/mgcsweep.go:277 +0x9b fp=0xa0497e8 sp=0xa0497cc pc=0x806b38b runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x27 fp=0xa0497f0 sp=0xa0497e8 pc=0x805cf27 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa0497f4 sp=0xa0497f0 pc=0x80b16f1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x77 goroutine 4 gp=0xa008908 m=nil [GC scavenge wait]: runtime.gopark(0x80ffeac, 0x818bb40, 0xd, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa049fb8 sp=0xa049fa4 pc=0x808002c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x818bb40) /workdir/go/src/runtime/mgcscavenge.go:425 +0x60 fp=0xa049fcc sp=0xa049fb8 pc=0x80688a0 runtime.bgscavenge(0xa01e040) /workdir/go/src/runtime/mgcscavenge.go:653 +0x4b fp=0xa049fe8 sp=0xa049fcc pc=0x8068f0b runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x27 fp=0xa049ff0 sp=0xa049fe8 pc=0x805cee7 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa049ff4 sp=0xa049ff0 pc=0x80b16f1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xb7 goroutine 5 gp=0xa008c68 m=nil [finalizer wait]: runtime.gopark(0x80ffe50, 0x81b75b4, 0x10, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa04a798 sp=0xa04a784 pc=0x808002c runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0xfc fp=0xa04a7f0 sp=0xa04a798 pc=0x805c00c runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa04a7f4 sp=0xa04a7f0 pc=0x80b16f1 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x60 goroutine 6 gp=0xa008d88 m=nil [chan receive]: runtime.gopark(0x80ffe38, 0xa01e130, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa04af4c sp=0xa04af38 pc=0x808002c runtime.chanrecv(0xa01e100, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0xa04af88 sp=0xa04af4c pc=0x804d9f3 runtime.chanrecv1(0xa01e100, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0xa04af9c sp=0xa04af88 pc=0x804d64c runtime.(*wakeableSleep).sleep(0xa012020, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xc3 fp=0xa04afd8 sp=0xa04af9c pc=0x80a0823 runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x50 fp=0xa04aff0 sp=0xa04afd8 pc=0x80a12b0 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa04aff4 sp=0xa04aff0 pc=0x80b16f1 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x161 goroutine 7 gp=0xa008ea8 m=8 mp=0xa400008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_386.s:341 fp=0xa04b718 sp=0xa04b714 pc=0x80b0310 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x5c4 fp=0xa04b7d8 sp=0xa04b718 pc=0x809f4f4 runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x46 fp=0xa04b7f0 sp=0xa04b7d8 pc=0x80a06b6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa04b7f4 sp=0xa04b7f0 pc=0x80b16f1 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 8 gp=0xa008fc8 m=nil [trace reader (blocked)]: runtime.gopark(0x80ffe28, 0x0, 0x18, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa04bf98 sp=0xa04bf84 pc=0x808002c runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x40 fp=0xa04bfc8 sp=0xa04bf98 pc=0x809ff80 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x4e fp=0xa04bff0 sp=0xa04bfc8 pc=0x80de85e runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa04bff4 sp=0xa04bff0 pc=0x80b16f1 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xc9 goroutine 9 gp=0xa0090e8 m=nil [runnable]: runtime.gopark(0x80ffe38, 0xa01e230, 0xf, 0x6, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa044724 sp=0xa044710 pc=0x808002c runtime.chansend(0xa01e200, 0x8118880, 0x1, 0x80df1e3) /workdir/go/src/runtime/chan.go:259 +0x2a5 fp=0xa04475c sp=0xa044724 pc=0x804ce45 runtime.chansend1(0xa01e200, 0x8118880) /workdir/go/src/runtime/chan.go:145 +0x24 fp=0xa044774 sp=0xa04475c pc=0x804cb94 main.main.func1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:42 +0x53 fp=0xa04478c sp=0xa044774 pc=0x80df1e3 runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa0447e0) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa0447cc sp=0xa04478c pc=0x80de638 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:39 +0x77 fp=0xa0447f0 sp=0xa0447cc pc=0x80df177 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa0447f4 sp=0xa0447f0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:38 +0x1c6 goroutine 10 gp=0xa009208 m=nil [runnable]: runtime.chanrecv(0xa01e200, 0x0, 0x1) /workdir/go/src/runtime/chan.go:457 +0x545 fp=0xa044f60 sp=0xa044f5c pc=0x804db95 runtime.chanrecv1(0xa01e200, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0xa044f74 sp=0xa044f60 pc=0x804d64c main.main.func2.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:51 +0x51 fp=0xa044f8c sp=0xa044f74 pc=0x80df0c1 runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa044fe0) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa044fcc sp=0xa044f8c pc=0x80de638 main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:48 +0x77 fp=0xa044ff0 sp=0xa044fcc pc=0x80df057 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa044ff4 sp=0xa044ff0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:47 +0x214 goroutine 11 gp=0xa009328 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 +0x4b fp=0xa045788 sp=0xa045734 pc=0x80def1b runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa0457dc) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa0457c8 sp=0xa045788 pc=0x80de638 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:57 +0x86 fp=0xa0457f0 sp=0xa0457c8 pc=0x80deeb6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa0457f4 sp=0xa0457f0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:56 +0x270 goroutine 12 gp=0xa009448 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func4.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:71 +0x4b fp=0xa045f88 sp=0xa045f3c pc=0x80ded8b runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa045fdc) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa045fc8 sp=0xa045f88 pc=0x80de638 main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:69 +0x86 fp=0xa045ff0 sp=0xa045fc8 pc=0x80ded26 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa045ff4 sp=0xa045ff0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:68 +0x166 goroutine 13 gp=0xa009568 m=nil [chan send]: runtime.gopark(0x80ffe38, 0xa01e230, 0xf, 0x6, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0xa046724 sp=0xa046710 pc=0x808002c runtime.chansend(0xa01e200, 0x8118880, 0x1, 0x80df1e3) /workdir/go/src/runtime/chan.go:259 +0x2a5 fp=0xa04675c sp=0xa046724 pc=0x804ce45 runtime.chansend1(0xa01e200, 0x8118880) /workdir/go/src/runtime/chan.go:145 +0x24 fp=0xa046774 sp=0xa04675c pc=0x804cb94 main.main.func1.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:42 +0x53 fp=0xa04678c sp=0xa046774 pc=0x80df1e3 runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa0467e0) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa0467cc sp=0xa04678c pc=0x80de638 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:39 +0x77 fp=0xa0467f0 sp=0xa0467cc pc=0x80df177 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa0467f4 sp=0xa0467f0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:38 +0x1c6 goroutine 14 gp=0xa009688 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 +0x3d fp=0xa046f8c sp=0xa046f74 pc=0x80df0ad runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa046fe0) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa046fcc sp=0xa046f8c pc=0x80de638 main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:48 +0x77 fp=0xa046ff0 sp=0xa046fcc pc=0x80df057 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa046ff4 sp=0xa046ff0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:47 +0x214 goroutine 15 gp=0xa0097a8 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 +0x4b fp=0xa047788 sp=0xa047734 pc=0x80def1b runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa0477dc) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa0477c8 sp=0xa047788 pc=0x80de638 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:57 +0x86 fp=0xa0477f0 sp=0xa0477c8 pc=0x80deeb6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa0477f4 sp=0xa0477f0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:56 +0x270 goroutine 16 gp=0xa0098c8 m=nil [runnable]: runtime.Gosched(...) /workdir/go/src/runtime/proc.go:342 main.main.func4.1() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:71 +0x4b fp=0xa047f88 sp=0xa047f3c pc=0x80ded8b runtime/trace.WithRegion({0x8118c6c, 0x81b7580}, {0x80f7896, 0x7}, 0xa047fdc) /workdir/go/src/runtime/trace/annotation.go:141 +0xe8 fp=0xa047fc8 sp=0xa047f88 pc=0x80de638 main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:69 +0x86 fp=0xa047ff0 sp=0xa047fc8 pc=0x80ded26 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xa047ff4 sp=0xa047ff0 pc=0x80b16f1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/futile-wakeup.go:68 +0x166 eax 0x0 ebx 0xa02c920 ecx 0x818bfa0 edx 0xa02c008 edi 0x0 esi 0x0 ebp 0x0 esp 0xffb7a420 eip 0x80a57d7 eflags 0x10246 cs 0x23 fs 0x0 gs 0x63 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceGOMAXPROCS (0.28s) --- FAIL: TestTraceGOMAXPROCS/Stress (0.14s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x80a4577 m=3 sigcode=1 addr=0x0 goroutine 0 gp=0x9008b48 m=3 mp=0x904c808 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x904c808, 0xa}, 0x0}, 0x902d308, 0x0) /workdir/go/src/runtime/trace2status.go:91 +0x67 fp=0x9061eac sp=0x9061e84 pc=0x80a4577 runtime.traceAdvance.func5(0x902d308) /workdir/go/src/runtime/trace2.go:551 +0x8f fp=0x9061ed8 sp=0x9061eac pc=0x80ac10f runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x6a fp=0x9061ef0 sp=0x9061ed8 pc=0x808356a runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x7e fp=0x9061f9c sp=0x9061ef0 pc=0x80853be runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xbd fp=0x9061fb8 sp=0x9061f9c pc=0x808741d runtime.park_m(0x90090e8) /workdir/go/src/runtime/proc.go:4052 +0x1b5 fp=0x9061fd8 sp=0x9061fb8 pc=0x8087b65 runtime.mcall(0x8b48) /workdir/go/src/runtime/asm_386.s:329 +0x44 fp=0x9061fe0 sp=0x9061fd8 pc=0x80aee94 goroutine 1 gp=0x9008128 m=nil [sleep]: runtime.gopark(0x80f7b18, 0x906e090, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9048768 sp=0x9048754 pc=0x808029c time.Sleep(0xf4240) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x9048784 sp=0x9048768 pc=0x80ae808 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/gomaxprocs.go:38 +0xbd fp=0x90487ac sp=0x9048784 pc=0x80d844d runtime.main() /workdir/go/src/runtime/proc.go:271 +0x2b6 fp=0x90487f0 sp=0x90487ac pc=0x807fdf6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x90487f4 sp=0x90487f0 pc=0x80b0281 goroutine 2 gp=0x9008488 m=nil [force gc (idle)]: runtime.gopark(0x80f7af8, 0x8180878, 0x11, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9048fdc sp=0x9048fc8 pc=0x808029c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xd3 fp=0x9048ff0 sp=0x9048fdc pc=0x80800e3 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9048ff4 sp=0x9048ff0 pc=0x80b0281 created by runtime.init.5 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x23 goroutine 3 gp=0x90087e8 m=nil [GC sweep wait]: runtime.gopark(0x80f7af8, 0x8180960, 0xc, 0x9, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x90497cc sp=0x90497b8 pc=0x808029c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0x901e040) /workdir/go/src/runtime/mgcsweep.go:317 +0xf8 fp=0x90497e8 sp=0x90497cc pc=0x806b648 runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x27 fp=0x90497f0 sp=0x90497e8 pc=0x805cf27 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x90497f4 sp=0x90497f0 pc=0x80b0281 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x77 goroutine 4 gp=0x9008908 m=nil [GC scavenge wait]: runtime.gopark(0x80f7af8, 0x8180a60, 0xd, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9049fb8 sp=0x9049fa4 pc=0x808029c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x8180a60) /workdir/go/src/runtime/mgcscavenge.go:425 +0x60 fp=0x9049fcc sp=0x9049fb8 pc=0x8068b00 runtime.bgscavenge(0x901e040) /workdir/go/src/runtime/mgcscavenge.go:658 +0x6f fp=0x9049fe8 sp=0x9049fcc pc=0x806918f runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x27 fp=0x9049ff0 sp=0x9049fe8 pc=0x805cee7 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9049ff4 sp=0x9049ff0 pc=0x80b0281 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xb7 goroutine 5 gp=0x9008c68 m=nil [finalizer wait]: runtime.gopark(0x80f7a94, 0x81ac4d4, 0x10, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x904a798 sp=0x904a784 pc=0x808029c runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0xfc fp=0x904a7f0 sp=0x904a798 pc=0x805c00c runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904a7f4 sp=0x904a7f0 pc=0x80b0281 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x60 goroutine 6 gp=0x9008d88 m=nil [sleep]: runtime.gopark(0x80f7b18, 0x906e0c0, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x904afc8 sp=0x904afb4 pc=0x808029c time.Sleep(0xf4240) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x904afe4 sp=0x904afc8 pc=0x80ae808 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/gomaxprocs.go:27 +0x2e fp=0x904aff0 sp=0x904afe4 pc=0x80d84de runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904aff4 sp=0x904aff0 pc=0x80b0281 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/gomaxprocs.go:24 +0x27 goroutine 7 gp=0x9008ea8 m=nil [chan receive]: runtime.gopark(0x80f7a7c, 0x901e130, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x904b74c sp=0x904b738 pc=0x808029c runtime.chanrecv(0x901e100, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x904b788 sp=0x904b74c pc=0x804d9f3 runtime.chanrecv1(0x901e100, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x904b79c sp=0x904b788 pc=0x804d64c runtime.(*wakeableSleep).sleep(0x9012020, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xc3 fp=0x904b7d8 sp=0x904b79c pc=0x809f5c3 runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x50 fp=0x904b7f0 sp=0x904b7d8 pc=0x80a0050 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904b7f4 sp=0x904b7f0 pc=0x80b0281 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x161 goroutine 8 gp=0x9008fc8 m=0 mp=0x8180ec0 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_386.s:341 fp=0x904bf18 sp=0x904bf14 pc=0x80aeea0 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x5c4 fp=0x904bfd8 sp=0x904bf18 pc=0x809e294 runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x46 fp=0x904bff0 sp=0x904bfd8 pc=0x809f456 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x904bff4 sp=0x904bff0 pc=0x80b0281 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 9 gp=0x90090e8 m=nil [trace reader (blocked)]: runtime.gopark(0x80f7a6c, 0x0, 0x18, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9044798 sp=0x9044784 pc=0x808029c runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x40 fp=0x90447c8 sp=0x9044798 pc=0x809ed20 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x4e fp=0x90447f0 sp=0x90447c8 pc=0x80d824e runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x90447f4 sp=0x90447f0 pc=0x80b0281 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xc9 goroutine 10 gp=0x9009208 m=nil [GC worker (idle)]: runtime.gopark(0x80f7aa4, 0x901a150, 0x1a, 0xa, 0x0) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x909af94 sp=0x909af80 pc=0x808029c runtime.gcBgMarkWorker() /workdir/go/src/runtime/mgc.go:1310 +0xf7 fp=0x909aff0 sp=0x909af94 pc=0x805f777 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x909aff4 sp=0x909aff0 pc=0x80b0281 created by runtime.gcBgMarkStartWorkers in goroutine 6 /workdir/go/src/runtime/mgc.go:1234 +0x25 eax 0x0 ebx 0x902dc20 ecx 0x904c808 edx 0x902d308 edi 0x0 esi 0x0 ebp 0x0 esp 0x9061e84 eip 0x80a4577 eflags 0x10246 cs 0x23 fs 0x0 gs 0x63 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStacks (0.56s) --- FAIL: TestTraceStacks/Stress (0.17s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x80ab757 m=0 sigcode=1 addr=0x0 goroutine 0 gp=0x820e8c0 m=0 mp=0x820eca0 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x820eca0, 0x6}, 0x0}, 0x982f908, 0x0) /workdir/go/src/runtime/trace2status.go:91 +0x67 fp=0xffdab29c sp=0xffdab274 pc=0x80ab757 runtime.traceAdvance.func5(0x982f908) /workdir/go/src/runtime/trace2.go:551 +0x8f fp=0xffdab2c8 sp=0xffdab29c pc=0x80b344f runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x6a fp=0xffdab2e0 sp=0xffdab2c8 pc=0x808893a runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x7e fp=0xffdab38c sp=0xffdab2e0 pc=0x808a80e runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xbd fp=0xffdab3a8 sp=0xffdab38c pc=0x808c86d runtime.park_m(0x9809568) /workdir/go/src/runtime/proc.go:4052 +0x1b5 fp=0xffdab3c8 sp=0xffdab3a8 pc=0x808cfb5 runtime.mcall(0x20e8c0) /workdir/go/src/runtime/asm_386.s:329 +0x44 fp=0xffdab3d0 sp=0xffdab3c8 pc=0x80b8534 goroutine 1 gp=0x9808128 m=nil [sleep]: runtime.gopark(0x8151fac, 0x9878090, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x985bee4 sp=0x985bed0 pc=0x808566c time.Sleep(0x5f5e100) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x985bf00 sp=0x985bee4 pc=0x80b7dc8 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:101 +0x5ff fp=0x985bfac sp=0x985bf00 pc=0x811f43f runtime.main() /workdir/go/src/runtime/proc.go:271 +0x2b6 fp=0x985bff0 sp=0x985bfac pc=0x80851c6 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x985bff4 sp=0x985bff0 pc=0x80b9a41 goroutine 2 gp=0x98087e8 m=nil [force gc (idle)]: runtime.gopark(0x8151f8c, 0x820e4a8, 0x11, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9848fdc sp=0x9848fc8 pc=0x808566c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xd3 fp=0x9848ff0 sp=0x9848fdc pc=0x80854b3 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9848ff4 sp=0x9848ff0 pc=0x80b9a41 created by runtime.init.5 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x23 goroutine 3 gp=0x9808b48 m=nil [GC sweep wait]: runtime.gopark(0x8151f8c, 0x820e600, 0xc, 0x9, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x98497cc sp=0x98497b8 pc=0x808566c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0x9820040) /workdir/go/src/runtime/mgcsweep.go:277 +0x9b fp=0x98497e8 sp=0x98497cc pc=0x80700ab runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x27 fp=0x98497f0 sp=0x98497e8 pc=0x80619e7 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98497f4 sp=0x98497f0 pc=0x80b9a41 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x77 goroutine 4 gp=0x9808c68 m=nil [GC scavenge wait]: runtime.gopark(0x8151f8c, 0x820e840, 0xd, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9849fb8 sp=0x9849fa4 pc=0x808566c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x820e840) /workdir/go/src/runtime/mgcscavenge.go:425 +0x60 fp=0x9849fcc sp=0x9849fb8 pc=0x806d5c0 runtime.bgscavenge(0x9820040) /workdir/go/src/runtime/mgcscavenge.go:653 +0x4b fp=0x9849fe8 sp=0x9849fcc pc=0x806dc2b runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x27 fp=0x9849ff0 sp=0x9849fe8 pc=0x80619a7 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9849ff4 sp=0x9849ff0 pc=0x80b9a41 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xb7 goroutine 5 gp=0x9809208 m=nil [finalizer wait]: runtime.gopark(0x8151e3c, 0x823a2b8, 0x10, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9848798 sp=0x9848784 pc=0x808566c runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0xfc fp=0x98487f0 sp=0x9848798 pc=0x8060acc runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98487f4 sp=0x98487f0 pc=0x80b9a41 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x60 goroutine 6 gp=0x9809328 m=nil [chan receive]: runtime.gopark(0x8151e20, 0x9820130, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x984a74c sp=0x984a738 pc=0x808566c runtime.chanrecv(0x9820100, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x984a788 sp=0x984a74c pc=0x804f1d3 runtime.chanrecv1(0x9820100, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x984a79c sp=0x984a788 pc=0x804ee2c runtime.(*wakeableSleep).sleep(0x9814050, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xc3 fp=0x984a7d8 sp=0x984a79c pc=0x80a67a3 runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x50 fp=0x984a7f0 sp=0x984a7d8 pc=0x80a7230 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x984a7f4 sp=0x984a7f0 pc=0x80b9a41 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x161 goroutine 7 gp=0x9809448 m=5 mp=0x9880008 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_386.s:341 fp=0x984af18 sp=0x984af14 pc=0x80b8540 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x5c4 fp=0x984afd8 sp=0x984af18 pc=0x80a5474 runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x46 fp=0x984aff0 sp=0x984afd8 pc=0x80a6636 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x984aff4 sp=0x984aff0 pc=0x80b9a41 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 8 gp=0x9809568 m=nil [trace reader (blocked)]: runtime.gopark(0x8151e0c, 0x0, 0x18, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x984b798 sp=0x984b784 pc=0x808566c runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x40 fp=0x984b7c8 sp=0x984b798 pc=0x80a5f00 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x4e fp=0x984b7f0 sp=0x984b7c8 pc=0x811ecfe runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x984b7f4 sp=0x984b7f0 pc=0x80b9a41 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xc9 goroutine 9 gp=0x9809688 m=nil [select (no cases)]: runtime.gopark(0x0, 0x0, 0xa, 0x1, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x984bfd8 sp=0x984bfc4 pc=0x808566c runtime.block() /workdir/go/src/runtime/select.go:103 +0x38 fp=0x984bfec sp=0x984bfd8 pc=0x8096948 main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:33 +0x17 fp=0x984bff0 sp=0x984bfec pc=0x811fb27 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x984bff4 sp=0x984bff0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:32 +0xdd goroutine 10 gp=0x98097a8 m=nil [chan send (nil chan)]: runtime.gopark(0x0, 0x0, 0x4, 0x1, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9844794 sp=0x9844780 pc=0x808566c runtime.chansend(0x0, 0x81719fc, 0x1, 0x811fb5b) /workdir/go/src/runtime/chan.go:165 +0x463 fp=0x98447cc sp=0x9844794 pc=0x804e7e3 runtime.chansend1(0x0, 0x81719fc) /workdir/go/src/runtime/chan.go:145 +0x24 fp=0x98447e4 sp=0x98447cc pc=0x804e374 main.main.func2() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:37 +0x2b fp=0x98447f0 sp=0x98447e4 pc=0x811fb5b runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98447f4 sp=0x98447f0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:35 +0xeb goroutine 11 gp=0x98098c8 m=nil [chan receive (nil chan)]: runtime.gopark(0x0, 0x0, 0x3, 0x1, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9844f94 sp=0x9844f80 pc=0x808566c runtime.chanrecv(0x0, 0x0, 0x1) /workdir/go/src/runtime/chan.go:469 +0x513 fp=0x9844fd0 sp=0x9844f94 pc=0x804f343 runtime.chanrecv1(0x0, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x9844fe4 sp=0x9844fd0 pc=0x804ee2c main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:41 +0x29 fp=0x9844ff0 sp=0x9844fe4 pc=0x811fb99 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9844ff4 sp=0x9844ff0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:39 +0xf9 goroutine 12 gp=0x98099e8 m=nil [chan receive]: runtime.gopark(0x8151e20, 0x9820230, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9845794 sp=0x9845780 pc=0x808566c runtime.chanrecv(0x9820200, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x98457d0 sp=0x9845794 pc=0x804f1d3 runtime.chanrecv1(0x9820200, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x98457e4 sp=0x98457d0 pc=0x804ee2c main.main.func4() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:45 +0x28 fp=0x98457f0 sp=0x98457e4 pc=0x811faf8 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98457f4 sp=0x98457f0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:44 +0x157 goroutine 13 gp=0x9809b08 m=nil [chan send]: runtime.gopark(0x8151e20, 0x9820270, 0xf, 0x6, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9845f94 sp=0x9845f80 pc=0x808566c runtime.chansend(0x9820240, 0x8170c08, 0x1, 0x811faba) /workdir/go/src/runtime/chan.go:259 +0x2a5 fp=0x9845fcc sp=0x9845f94 pc=0x804e625 runtime.chansend1(0x9820240, 0x8170c08) /workdir/go/src/runtime/chan.go:145 +0x24 fp=0x9845fe4 sp=0x9845fcc pc=0x804e374 main.main.func5() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:49 +0x2a fp=0x9845ff0 sp=0x9845fe4 pc=0x811faba runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9845ff4 sp=0x9845ff0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:48 +0x1b5 goroutine 14 gp=0x9809c28 m=nil [select]: runtime.gopark(0x8151fc0, 0x0, 0x9, 0x3, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x98466d0 sp=0x98466bc pc=0x808566c runtime.selectgo(0x98467dc, 0x98467d4, 0x0, 0x0, 0x2, 0x1) /workdir/go/src/runtime/select.go:327 +0xb27 fp=0x98467b4 sp=0x98466d0 pc=0x8097487 main.main.func6() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:54 +0x74 fp=0x98467f0 sp=0x98467b4 pc=0x811fa84 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98467f4 sp=0x98467f0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:53 +0x23f goroutine 15 gp=0x9809d48 m=nil [sync.Mutex.Lock]: runtime.gopark(0x8151f8c, 0x8213260, 0x15, 0x5, 0x5) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9846f48 sp=0x9846f34 pc=0x808566c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x98161c4, 0x0, 0x3, 0x1, 0x15) /workdir/go/src/runtime/sema.go:160 +0x291 fp=0x9846f78 sp=0x9846f48 pc=0x8098021 sync.runtime_SemacquireMutex(0x98161c4, 0x0, 0x1) /workdir/go/src/runtime/sema.go:77 +0x3f fp=0x9846f90 sp=0x9846f78 pc=0x80b754f sync.(*Mutex).lockSlow(0x98161c0) /workdir/go/src/sync/mutex.go:171 +0x247 fp=0x9846fd0 sp=0x9846f90 pc=0x80c51d7 sync.(*Mutex).Lock(0x98161c0) /workdir/go/src/sync/mutex.go:90 +0x4c fp=0x9846fe4 sp=0x9846fd0 pc=0x80c4f7c main.main.func7() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:62 +0x24 fp=0x9846ff0 sp=0x9846fe4 pc=0x811f9f4 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9846ff4 sp=0x9846ff0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:61 +0x2a6 goroutine 16 gp=0x9809e68 m=nil [semacquire]: runtime.gopark(0x8151f8c, 0x8213320, 0x12, 0x5, 0x4) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9847784 sp=0x9847770 pc=0x808566c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.semacquire1(0x98161d8, 0x0, 0x1, 0x0, 0x12) /workdir/go/src/runtime/sema.go:160 +0x291 fp=0x98477b4 sp=0x9847784 pc=0x8098021 sync.runtime_Semacquire(0x98161d8) /workdir/go/src/runtime/sema.go:62 +0x3b fp=0x98477cc sp=0x98477b4 pc=0x80b746b sync.(*WaitGroup).Wait(0x98161d0) /workdir/go/src/sync/waitgroup.go:116 +0x65 fp=0x98477e8 sp=0x98477cc pc=0x80c68f5 main.main.func8() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:68 +0x20 fp=0x98477f0 sp=0x98477e8 pc=0x811f9c0 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x98477f4 sp=0x98477f0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:67 +0x315 goroutine 18 gp=0x9a18008 m=nil [sync.Cond.Wait]: runtime.gopark(0x8151f8c, 0x986e290, 0x14, 0x4, 0x3) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9847f98 sp=0x9847f84 pc=0x808566c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 sync.runtime_notifyListWait(0x986e288, 0x0) /workdir/go/src/runtime/sema.go:569 +0x179 fp=0x9847fc0 sp=0x9847f98 pc=0x80b77f9 sync.(*Cond).Wait(0x986e280) /workdir/go/src/sync/cond.go:70 +0xa2 fp=0x9847fe4 sp=0x9847fc0 pc=0x80c42d2 main.main.func9() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:73 +0x35 fp=0x9847ff0 sp=0x9847fe4 pc=0x811f975 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9847ff4 sp=0x9847ff0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:71 +0x3a7 goroutine 19 gp=0x9a18128 m=nil [IO wait]: runtime.gopark(0x8151f7c, 0xf62973a0, 0x2, 0x2, 0x5) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9a32690 sp=0x9a3267c pc=0x808566c runtime.netpollblock(0xf6297390, 0x72, 0x0) /workdir/go/src/runtime/netpoll.go:573 +0xea fp=0x9a326a8 sp=0x9a32690 pc=0x807e08a internal/poll.runtime_pollWait(0xf6297390, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x52 fp=0x9a326bc sp=0x9a326a8 pc=0x80b60e2 internal/poll.(*pollDesc).wait(0x9a1c018, 0x72, 0x0) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x37 fp=0x9a326d0 sp=0x9a326bc pc=0x80dfd27 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x9a1c000) /workdir/go/src/internal/poll/fd_unix.go:611 +0x28d fp=0x9a32718 sp=0x9a326d0 pc=0x80e0c9d net.(*netFD).accept(0x9a1c000) /workdir/go/src/net/fd_unix.go:172 +0x27 fp=0x9a32780 sp=0x9a32718 pc=0x810cec7 net.(*TCPListener).accept(0x9a1a060) /workdir/go/src/net/tcpsock_posix.go:159 +0x23 fp=0x9a32798 sp=0x9a32780 pc=0x811a923 net.(*TCPListener).Accept(0x9a1a060) /workdir/go/src/net/tcpsock.go:327 +0x37 fp=0x9a327b4 sp=0x9a32798 pc=0x8119d77 main.main.func10() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:81 +0x27 fp=0x9a327f0 sp=0x9a327b4 pc=0x811f807 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9a327f4 sp=0x9a327f0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:80 +0x48c goroutine 20 gp=0x9a18248 m=nil [IO wait]: runtime.gopark(0x8151f7c, 0xf6297300, 0x2, 0x2, 0x5) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9a32f1c sp=0x9a32f08 pc=0x808566c runtime.netpollblock(0xf62972f0, 0x72, 0x0) /workdir/go/src/runtime/netpoll.go:573 +0xea fp=0x9a32f34 sp=0x9a32f1c pc=0x807e08a internal/poll.runtime_pollWait(0xf62972f0, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x52 fp=0x9a32f48 sp=0x9a32f34 pc=0x80b60e2 internal/poll.(*pollDesc).wait(0x982a1d8, 0x72, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x37 fp=0x9a32f5c sp=0x9a32f48 pc=0x80dfd27 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x982a1c0, {0x9a32fe7, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x20c fp=0x9a32fa4 sp=0x9a32f5c pc=0x80e052c os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0x9818118, {0x9a32fe7, 0x1, 0x1}) /workdir/go/src/os/file.go:118 +0x70 fp=0x9a32fc8 sp=0x9a32fa4 pc=0x80e19c0 main.main.func11() /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:97 +0x44 fp=0x9a32ff0 sp=0x9a32fc8 pc=0x811f714 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9a32ff4 sp=0x9a32ff0 pc=0x80b9a41 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stacks.go:95 +0x5eb eax 0x0 ebx 0x983021c ecx 0x820eca0 edx 0x982f908 edi 0x8210078 esi 0x1 ebp 0x1 esp 0xffdab274 eip 0x80ab757 eflags 0x10246 cs 0x23 fs 0x0 gs 0x63 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStress (0.56s) --- FAIL: TestTraceStress/Stress (0.18s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x80ab7a7 m=5 sigcode=1 addr=0x0 goroutine 0 gp=0x9482128 m=5 mp=0x9480008 [idle]: runtime.readgstatus(...) /workdir/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x9480008, 0x54}, 0x0}, 0x942e608, 0x0) /workdir/go/src/runtime/trace2status.go:91 +0x67 fp=0xf5eff1e8 sp=0xf5eff1c0 pc=0x80ab7a7 runtime.traceAdvance.func5(0x942e608) /workdir/go/src/runtime/trace2.go:551 +0x8f fp=0xf5eff214 sp=0xf5eff1e8 pc=0x80b349f runtime.runSafePointFn() /workdir/go/src/runtime/proc.go:2044 +0x6a fp=0xf5eff22c sp=0xf5eff214 pc=0x80888fa runtime.findRunnable() /workdir/go/src/runtime/proc.go:3169 +0x7e fp=0xf5eff2d8 sp=0xf5eff22c pc=0x808a7ce runtime.schedule() /workdir/go/src/runtime/proc.go:3884 +0xbd fp=0xf5eff2f4 sp=0xf5eff2d8 pc=0x808c82d runtime.park_m(0x951c248) /workdir/go/src/runtime/proc.go:4052 +0x1b5 fp=0xf5eff314 sp=0xf5eff2f4 pc=0x808cf75 runtime.mcall(0x1520500) /workdir/go/src/runtime/asm_386.s:329 +0x44 fp=0xf5eff31c sp=0xf5eff314 pc=0x80b81d4 goroutine 1 gp=0x9408128 m=nil [sleep]: runtime.gopark(0x8151ad0, 0x94aa000, 0x13, 0xe, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9456f08 sp=0x9456ef4 pc=0x808562c time.Sleep(0x2faf080) /workdir/go/src/runtime/time.go:195 +0x128 fp=0x9456f24 sp=0x9456f08 pc=0x80b7a68 main.main() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:57 +0x2a3 fp=0x9456fac sp=0x9456f24 pc=0x811e9f3 runtime.main() /workdir/go/src/runtime/proc.go:271 +0x2b6 fp=0x9456ff0 sp=0x9456fac pc=0x8085186 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9456ff4 sp=0x9456ff0 pc=0x80b96e1 goroutine 2 gp=0x94087e8 m=nil [force gc (idle)]: runtime.gopark(0x8151ab0, 0x820d4a8, 0x11, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9448fdc sp=0x9448fc8 pc=0x808562c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.forcegchelper() /workdir/go/src/runtime/proc.go:326 +0xd3 fp=0x9448ff0 sp=0x9448fdc pc=0x8085473 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9448ff4 sp=0x9448ff0 pc=0x80b96e1 created by runtime.init.5 in goroutine 1 /workdir/go/src/runtime/proc.go:314 +0x23 goroutine 3 gp=0x9408b48 m=nil [GC sweep wait]: runtime.gopark(0x8151ab0, 0x820d600, 0xc, 0x9, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x94497cc sp=0x94497b8 pc=0x808562c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.bgsweep(0x9420040) /workdir/go/src/runtime/mgcsweep.go:277 +0x9b fp=0x94497e8 sp=0x94497cc pc=0x807006b runtime.gcenable.gowrap1() /workdir/go/src/runtime/mgc.go:203 +0x27 fp=0x94497f0 sp=0x94497e8 pc=0x80619a7 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x94497f4 sp=0x94497f0 pc=0x80b96e1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:203 +0x77 goroutine 4 gp=0x9408c68 m=nil [GC scavenge wait]: runtime.gopark(0x8151ab0, 0x820d840, 0xd, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9449fb8 sp=0x9449fa4 pc=0x808562c runtime.goparkunlock(...) /workdir/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x820d840) /workdir/go/src/runtime/mgcscavenge.go:425 +0x60 fp=0x9449fcc sp=0x9449fb8 pc=0x806d580 runtime.bgscavenge(0x9420040) /workdir/go/src/runtime/mgcscavenge.go:653 +0x4b fp=0x9449fe8 sp=0x9449fcc pc=0x806dbeb runtime.gcenable.gowrap2() /workdir/go/src/runtime/mgc.go:204 +0x27 fp=0x9449ff0 sp=0x9449fe8 pc=0x8061967 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9449ff4 sp=0x9449ff0 pc=0x80b96e1 created by runtime.gcenable in goroutine 1 /workdir/go/src/runtime/mgc.go:204 +0xb7 goroutine 18 gp=0x9482488 m=nil [finalizer wait]: runtime.gopark(0x8151960, 0x82392b8, 0x10, 0xa, 0x1) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9448798 sp=0x9448784 pc=0x808562c runtime.runfinq() /workdir/go/src/runtime/mfinal.go:194 +0xfc fp=0x94487f0 sp=0x9448798 pc=0x8060a8c runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x94487f4 sp=0x94487f0 pc=0x80b96e1 created by runtime.createfing in goroutine 1 /workdir/go/src/runtime/mfinal.go:164 +0x60 goroutine 19 gp=0x94825a8 m=nil [chan receive]: runtime.gopark(0x8151944, 0x948e0b0, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9444790 sp=0x944477c pc=0x808562c runtime.chanrecv(0x948e080, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x94447cc sp=0x9444790 pc=0x804f193 runtime.chanrecv1(0x948e080, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x94447e0 sp=0x94447cc pc=0x804edec main.main.func1() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:29 +0x2f fp=0x94447f0 sp=0x94447e0 pc=0x811f25f runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x94447f4 sp=0x94447f0 pc=0x80b96e1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:28 +0xcf goroutine 20 gp=0x94826c8 m=nil [IO wait]: runtime.gopark(0x8151aa0, 0xf60c3f08, 0x2, 0x2, 0x5) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9444f18 sp=0x9444f04 pc=0x808562c runtime.netpollblock(0xf60c3ef8, 0x72, 0x0) /workdir/go/src/runtime/netpoll.go:573 +0xea fp=0x9444f30 sp=0x9444f18 pc=0x807e04a internal/poll.runtime_pollWait(0xf60c3ef8, 0x72) /workdir/go/src/runtime/netpoll.go:345 +0x52 fp=0x9444f44 sp=0x9444f30 pc=0x80b6132 internal/poll.(*pollDesc).wait(0x94a40d8, 0x72, 0x1) /workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x37 fp=0x9444f58 sp=0x9444f44 pc=0x80df747 internal/poll.(*pollDesc).waitRead(...) /workdir/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x94a40c0, {0x9444fe3, 0x1, 0x1}) /workdir/go/src/internal/poll/fd_unix.go:164 +0x20c fp=0x9444fa0 sp=0x9444f58 pc=0x80dff4c os.(*File).read(...) /workdir/go/src/os/file_posix.go:29 os.(*File).Read(0x9498088, {0x9444fe3, 0x1, 0x1}) /workdir/go/src/os/file.go:118 +0x70 fp=0x9444fc4 sp=0x9444fa0 pc=0x80e13e0 main.main.func3() /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:45 +0x4b fp=0x9444ff0 sp=0x9444fc4 pc=0x811f1ab runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9444ff4 sp=0x9444ff0 pc=0x80b96e1 created by main.main in goroutine 1 /workdir/go/src/internal/trace/v2/testdata/testprog/stress.go:43 +0x1e9 goroutine 34 gp=0x951c008 m=nil [chan receive]: runtime.gopark(0x8151944, 0x9516030, 0xe, 0x7, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x952274c sp=0x9522738 pc=0x808562c runtime.chanrecv(0x9516000, 0x0, 0x1) /workdir/go/src/runtime/chan.go:583 +0x3a3 fp=0x9522788 sp=0x952274c pc=0x804f193 runtime.chanrecv1(0x9516000, 0x0) /workdir/go/src/runtime/chan.go:442 +0x1c fp=0x952279c sp=0x9522788 pc=0x804edec runtime.(*wakeableSleep).sleep(0x9514000, 0x5f5e100) /workdir/go/src/runtime/trace2.go:936 +0xc3 fp=0x95227d8 sp=0x952279c pc=0x80a67f3 runtime.traceStartReadCPU.func1() /workdir/go/src/runtime/trace2cpu.go:54 +0x50 fp=0x95227f0 sp=0x95227d8 pc=0x80a7280 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x95227f4 sp=0x95227f0 pc=0x80b96e1 created by runtime.traceStartReadCPU in goroutine 1 /workdir/go/src/runtime/trace2cpu.go:42 +0x161 goroutine 35 gp=0x951c128 m=3 mp=0x944c808 [trace proc status]: runtime.systemstack_switch() /workdir/go/src/runtime/asm_386.s:341 fp=0x9522f18 sp=0x9522f14 pc=0x80b81e0 runtime.forEachP(...) /workdir/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /workdir/go/src/runtime/trace2.go:548 +0x5c4 fp=0x9522fd8 sp=0x9522f18 pc=0x80a54c4 runtime.(*traceAdvancerState).start.func1() /workdir/go/src/runtime/trace2.go:882 +0x46 fp=0x9522ff0 sp=0x9522fd8 pc=0x80a6686 runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x9522ff4 sp=0x9522ff0 pc=0x80b96e1 created by runtime.(*traceAdvancerState).start in goroutine 1 /workdir/go/src/runtime/trace2.go:876 +0x165 goroutine 36 gp=0x951c248 m=nil [trace reader (blocked)]: runtime.gopark(0x8151930, 0x0, 0x18, 0xa, 0x2) /workdir/go/src/runtime/proc.go:402 +0x10c fp=0x9523798 sp=0x9523784 pc=0x808562c runtime.ReadTrace() /workdir/go/src/runtime/trace2.go:677 +0x40 fp=0x95237c8 sp=0x9523798 pc=0x80a5f50 runtime/trace.Start.func1() /workdir/go/src/runtime/trace/trace.go:130 +0x4e fp=0x95237f0 sp=0x95237c8 pc=0x811e60e runtime.goexit({}) /workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x95237f4 sp=0x95237f0 pc=0x80b96e1 created by runtime/trace.Start in goroutine 1 /workdir/go/src/runtime/trace/trace.go:128 +0xc9 eax 0x0 ebx 0x942ef1c ecx 0x9480008 edx 0x942e608 edi 0x820f078 esi 0x1 ebp 0x1 esp 0xf5eff1c0 eip 0x80ab7a7 eflags 0x10246 cs 0x23 fs 0x0 gs 0x63 exit status 2 trace_test.go:553: exit status 1 FAIL FAIL internal/trace/v2 6.443s FAIL go tool dist: Failed: exit status 1