darwin-amd64-longtest at 40f6fbf147fd72da1f6a898375af9a965c7a4659 :: Running /tmp/buildlet/go/src/make.bash with args ["/tmp/buildlet/go/src/make.bash" "-force"] and env ["TERM_PROGRAM=Apple_Terminal" "SHELL=/bin/zsh" "TERM=xterm-256color" "TERM_PROGRAM_VERSION=447" "TERM_SESSION_ID=1B939A04-9403-4C94-9402-E05EF8E906DF" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.okAKF4MKaU/Listeners" "PATH=/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" "GO_BUILDER_ENV=qemu_vm" "LaunchInstanceID=BBC7C627-8D13-44BB-984C-D5044C1103E2" "__CFBundleIdentifier=com.apple.Terminal" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "HOME=/Users/gopher" "SHLVL=2" "LOGNAME=gopher" "SECURITYSESSIONID=186ac" "_=/Users/gopher/go/bin/buildlet" "WORKDIR=/tmp/buildlet" "GOROOT_BOOTSTRAP=/tmp/buildlet/go1.4" "GO_BUILDER_NAME=darwin-amd64-longtest" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=10" "GOBIN=" "TMPDIR=/tmp/buildlet/tmp" "GOCACHE=/tmp/buildlet/gocache" "GOPLSCACHE=/tmp/buildlet/goplscache" "PWD=/tmp/buildlet/go/src"] in dir /tmp/buildlet/go/src Building Go cmd/dist using /tmp/buildlet/go1.4. (go1.20.6 darwin/amd64) Building Go toolchain1 using /tmp/buildlet/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 darwin/amd64. --- Installed Go for darwin/amd64 in /tmp/buildlet/go Installed commands in /tmp/buildlet/go/bin *** You need to add /tmp/buildlet/go/bin to your PATH. ##### Test execution environment. # GOARCH: amd64 # CPU: # GOOS: darwin # OS Version: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64 ##### Testing packages. ok archive/tar 0.391s ok archive/zip 38.736s ok bufio 0.272s ok bytes 2.396s ok cmp 0.030s ok compress/bzip2 0.175s ok compress/flate 16.279s ok compress/gzip 5.515s ok compress/lzw 0.183s ok compress/zlib 1.604s ok container/heap 0.043s ok container/list 0.032s ok container/ring 0.034s ok context 0.143s ok crypto 0.041s ok crypto/aes 0.079s ok crypto/cipher 0.337s ok crypto/des 0.046s ok crypto/dsa 8.501s ok crypto/ecdh 1.401s ok crypto/ecdsa 0.871s ok crypto/ed25519 0.759s ok crypto/elliptic 1.014s ok crypto/hmac 0.045s ok crypto/internal/alias 0.046s ok crypto/internal/bigmod 0.318s ok crypto/internal/boring 0.044s ? crypto/internal/boring/bbig [no test files] ? crypto/internal/boring/sig [no test files] ok crypto/internal/boring/bcache 0.214s ok crypto/internal/edwards25519 6.444s ok crypto/internal/edwards25519/field 5.310s ok crypto/internal/nistec 6.674s ? crypto/internal/randutil [no test files] ok crypto/internal/nistec/fiat 0.027s [no tests to run] ok crypto/md5 0.029s ok crypto/rand 0.426s ok crypto/rc4 0.091s ok crypto/rsa 3.630s ok crypto/sha1 0.068s ok crypto/sha256 0.034s ok crypto/sha512 0.033s ok crypto/subtle 14.099s ok crypto/tls 9.055s ok crypto/x509 4.432s ? crypto/x509/internal/macos [no test files] ? crypto/x509/pkix [no test files] ok database/sql 1.391s ok database/sql/driver 0.039s ok debug/buildinfo 18.750s ok debug/dwarf 0.086s ok debug/elf 0.230s ok debug/gosym 5.277s ok debug/macho 0.030s ok debug/pe 0.087s ok debug/plan9obj 0.048s ok embed 0.056s [no tests to run] ? encoding [no test files] ok embed/internal/embedtest 0.056s ok encoding/ascii85 0.035s ok encoding/asn1 0.067s ok encoding/base32 0.102s ok encoding/base64 0.064s ok encoding/binary 0.069s ok encoding/csv 0.047s ok encoding/gob 2.151s ok encoding/hex 0.037s ok encoding/json 1.615s ok encoding/pem 0.785s ok encoding/xml 10.852s ok errors 0.069s ok expvar 0.076s ok flag 0.287s ok fmt 0.120s ok go/ast 0.060s ok go/build 2.861s ok go/build/constraint 0.049s ok go/constant 0.045s ok go/doc 0.154s ok go/doc/comment 1.955s ok go/format 0.063s ok go/importer 1.416s ok go/internal/gccgoimporter 0.063s ok go/internal/gcimporter 258.650s ? go/internal/typeparams [no test files] ok go/internal/srcimporter 17.230s ok go/parser 11.545s ok go/printer 0.419s ok go/scanner 0.016s ok go/token 0.022s ok go/types 34.138s ok go/version 0.033s ok hash 0.027s ok hash/adler32 0.020s ok hash/crc32 0.026s ok hash/crc64 0.019s ok hash/fnv 0.035s ok hash/maphash 147.076s ok html 0.028s ok html/template 0.414s ok image 0.260s ok image/color 0.049s ? image/color/palette [no test files] ok image/draw 0.207s ok image/gif 12.295s ? image/internal/imageutil [no test files] ok image/jpeg 3.608s ok image/png 1.034s ? internal/bisect [no test files] ok index/suffixarray 78.721s ok internal/abi 0.570s ? internal/bytealg [no test files] ? internal/cfg [no test files] ok internal/buildcfg 0.022s ? internal/coverage [no test files] ? internal/coverage/calloc [no test files] ok internal/coverage/cformat 0.018s ? internal/coverage/decodecounter [no test files] ? internal/coverage/decodemeta [no test files] ok internal/coverage/cmerge 0.014s ? internal/coverage/encodecounter [no test files] ? internal/coverage/encodemeta [no test files] ok internal/coverage/pods 0.024s ? internal/coverage/rtcov [no test files] ok internal/coverage/slicereader 0.035s ok internal/coverage/slicewriter 0.021s ? internal/coverage/stringtab [no test files] ? internal/coverage/uleb128 [no test files] ok internal/coverage/test 0.029s ok internal/cpu 0.060s ok internal/dag 0.048s ok internal/diff 0.048s ? internal/goarch [no test files] ok internal/fmtsort 0.047s ok internal/fuzz 0.030s ? internal/goexperiment [no test files] ok internal/godebug 1.446s ok internal/godebugs 0.026s ? internal/goos [no test files] ? internal/goroot [no test files] ok internal/gover 0.017s ? internal/goversion [no test files] ok internal/intern 7.144s ok internal/itoa 0.032s ? internal/lazyregexp [no test files] ? 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 3.007s ok internal/poll 0.612s ok internal/profile 0.035s ? internal/race [no test files] ok internal/reflectlite 0.046s ok internal/safefilepath 0.029s ? internal/syscall/execenv [no test files] ok internal/saferio 0.089s ok internal/singleflight 0.038s ? internal/syscall/unix [no test files] ? internal/sysinfo [no test files] ok internal/testenv 0.475s ? internal/testlog [no test files] ? internal/testpty [no test files] ok internal/trace 1.914s ? internal/trace/traceviewer [no test files] ? internal/trace/traceviewer/format [no test files] --- FAIL: TestTraceAnnotationsStress (1.44s) --- FAIL: TestTraceAnnotationsStress/Stress (0.69s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x83f99cc m=0 sigcode=1 addr=0x90 goroutine 0 gp=0x84fa040 m=0 mp=0x84fa5c0 [idle]: runtime.readgstatus(...) /tmp/buildlet/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0x84fa5c0?, 0x600000006?}, 0x500000003?}, 0x7ff7b8b5f390?, 0x96?) /tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x7ff7b8b5f348 sp=0x7ff7b8b5f310 pc=0x83f99cc runtime.traceAdvance.func5(0xc00002e008?) /tmp/buildlet/go/src/runtime/trace2.go:551 +0x8e fp=0x7ff7b8b5f388 sp=0x7ff7b8b5f348 pc=0x84004ee runtime.runSafePointFn() /tmp/buildlet/go/src/runtime/proc.go:2044 +0x44 fp=0x7ff7b8b5f3a0 sp=0x7ff7b8b5f388 pc=0x83d8044 runtime.findRunnable() /tmp/buildlet/go/src/runtime/proc.go:3169 +0x56 fp=0x7ff7b8b5f518 sp=0x7ff7b8b5f3a0 pc=0x83d9ed6 runtime.schedule() /tmp/buildlet/go/src/runtime/proc.go:3884 +0xb1 fp=0x7ff7b8b5f550 sp=0x7ff7b8b5f518 pc=0x83dbcb1 runtime.park_m(0xc00011c680) /tmp/buildlet/go/src/runtime/proc.go:4052 +0x1ec fp=0x7ff7b8b5f5a8 sp=0x7ff7b8b5f550 pc=0x83dc28c runtime.mcall() /tmp/buildlet/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7ff7b8b5f5c0 sp=0x7ff7b8b5f5a8 pc=0x840488e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x1a6653fe0b6?, 0x8435f60?, 0x8?, 0x0?, 0x8436e2a?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00010add0 sp=0xc00010adb0 pc=0x83d4bee time.Sleep(0x989680) /tmp/buildlet/go/src/runtime/time.go:195 +0x115 fp=0xc00010ae10 sp=0xc00010add0 pc=0x84031b5 main.do({0x847b560, 0xc000110120}, 0x3) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x125 fp=0xc00010aea0 sp=0xc00010ae10 pc=0x8436665 main.main() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:45 +0x186 fp=0xc00010af50 sp=0xc00010aea0 pc=0x84364a6 runtime.main() /tmp/buildlet/go/src/runtime/proc.go:271 +0x29d fp=0xc00010afe0 sp=0xc00010af50 pc=0x83d47bd runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00010afe8 sp=0xc00010afe0 pc=0x8406761 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040fa8 sp=0xc000040f88 pc=0x83d4bee runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.forcegchelper() /tmp/buildlet/go/src/runtime/proc.go:326 +0xb3 fp=0xc000040fe0 sp=0xc000040fa8 pc=0x83d4a73 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0x8406761 created by runtime.init.6 in goroutine 1 /tmp/buildlet/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041780 sp=0xc000041760 pc=0x83d4bee runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.bgsweep(0xc000058000) /tmp/buildlet/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc0000417c8 sp=0xc000041780 pc=0x83c1994 runtime.gcenable.gowrap1() /tmp/buildlet/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000417e0 sp=0xc0000417c8 pc=0x83b64e5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000417e8 sp=0xc0000417e0 pc=0x8406761 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0xc000058000?, 0x8459b30?, 0x1?, 0x0?, 0xc000008d00?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041f78 sp=0xc000041f58 pc=0x83d4bee runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x84f9fa0) /tmp/buildlet/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000041fa8 sp=0xc000041f78 pc=0x83bf389 runtime.bgscavenge(0xc000058000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000041fc8 sp=0xc000041fa8 pc=0x83bf91c runtime.gcenable.gowrap2() /tmp/buildlet/go/src/runtime/mgc.go:204 +0x25 fp=0xc000041fe0 sp=0xc000041fc8 pc=0x83b6485 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000041fe8 sp=0xc000041fe0 pc=0x8406761 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:204 +0xa5 goroutine 17 gp=0xc00011c000 m=nil [finalizer wait]: runtime.gopark(0xc000040660?, 0x83be85c?, 0x80?, 0x9e?, 0x550011?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040620 sp=0xc000040600 pc=0x83d4bee runtime.runfinq() /tmp/buildlet/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000407e0 sp=0xc000040620 pc=0x83b5527 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x8406761 created by runtime.createfing in goroutine 1 /tmp/buildlet/go/src/runtime/mfinal.go:164 +0x3d goroutine 18 gp=0xc00011c340 m=nil [chan receive]: runtime.gopark(0x83f127e?, 0xc000132000?, 0x3?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003c6b8 sp=0xc00003c698 pc=0x83d4bee runtime.chanrecv(0xc0001020c0, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc00003c730 sp=0xc00003c6b8 pc=0x83a5b7f runtime.chanrecv1(0xc000100050?, 0x1a669f08695?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc00003c758 sp=0xc00003c730 pc=0x83a57b2 runtime.(*wakeableSleep).sleep(0xc00012a018, 0x5f5e100) /tmp/buildlet/go/src/runtime/trace2.go:936 +0xab fp=0xc00003c7b0 sp=0xc00003c758 pc=0x83f4ccb runtime.traceStartReadCPU.func1() /tmp/buildlet/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00003c7e0 sp=0xc00003c7b0 pc=0x83f579b runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003c7e8 sp=0xc00003c7e0 pc=0x8406761 created by runtime.traceStartReadCPU in goroutine 1 /tmp/buildlet/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 19 gp=0xc00011c4e0 m=2 mp=0xc000046808 [trace proc status]: runtime.systemstack_switch() /tmp/buildlet/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00010ce78 sp=0xc00010ce68 pc=0x84048a8 runtime.forEachP(...) /tmp/buildlet/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /tmp/buildlet/go/src/runtime/trace2.go:548 +0x62a fp=0xc00010cfb0 sp=0xc00010ce78 pc=0x83f3aca runtime.(*traceAdvancerState).start.func1() /tmp/buildlet/go/src/runtime/trace2.go:882 +0x2f fp=0xc00010cfe0 sp=0xc00010cfb0 pc=0x83f4b4f runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00010cfe8 sp=0xc00010cfe0 pc=0x8406761 created by runtime.(*traceAdvancerState).start in goroutine 1 /tmp/buildlet/go/src/runtime/trace2.go:876 +0x165 goroutine 20 gp=0xc00011c680 m=nil [trace reader (blocked)]: runtime.gopark(0xc00003d778?, 0xc00011a060?, 0x20?, 0x60?, 0x424?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003d738 sp=0xc00003d718 pc=0x83d4bee runtime.ReadTrace() /tmp/buildlet/go/src/runtime/trace2.go:677 +0x31 fp=0xc00003d7a0 sp=0xc00003d738 pc=0x83f4571 runtime/trace.Start.func1() /tmp/buildlet/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00003d7e0 sp=0xc00003d7a0 pc=0x8436185 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003d7e8 sp=0xc00003d7e0 pc=0x8406761 created by runtime/trace.Start in goroutine 1 /tmp/buildlet/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 35 gp=0xc000082680 m=nil [sleep]: runtime.gopark(0x1a665403da7?, 0x8435f60?, 0x9?, 0x0?, 0x8436e2a?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000106d98 sp=0xc000106d78 pc=0x83d4bee time.Sleep(0x989680) /tmp/buildlet/go/src/runtime/time.go:195 +0x115 fp=0xc000106dd8 sp=0xc000106d98 pc=0x84031b5 main.do({0x847b560, 0xc00008e000}, 0x0) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:83 +0x125 fp=0xc000106e68 sp=0xc000106dd8 pc=0x8436665 main.do.func1.1.1() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:73 +0x9b fp=0xc000106ee8 sp=0xc000106e68 pc=0x84369bb runtime/trace.WithRegion({0x847b560?, 0xc00008e000?}, {0xc00008c010, 0x7}, 0xc000106f88) /tmp/buildlet/go/src/runtime/trace/annotation.go:141 +0xdd fp=0xc000106f50 sp=0xc000106ee8 pc=0x8435efd main.do.func1.1(0x2) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:70 +0xb4 fp=0xc000106fc8 sp=0xc000106f50 pc=0x84368f4 main.do.func1.gowrap1() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:77 +0x24 fp=0xc000106fe0 sp=0xc000106fc8 pc=0x8436804 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000106fe8 sp=0xc000106fe0 pc=0x8406761 created by main.do.func1 in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/annotations-stress.go:69 +0x45 rax 0xaaaaaaaaaaaaaab1 rbx 0x12 rcx 0x0 rdx 0x0 rdi 0xc00002e008 rsi 0x0 rbp 0x7ff7b8b5f338 rsp 0x7ff7b8b5f310 r8 0x84fa5c0 r9 0x1 r10 0x1 r11 0x1 r12 0xc00002e008 r13 0x1 r14 0x84fa040 r15 0x5 rip 0x83f99cc rflags 0x10246 cs 0x2b fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceCgoCallback (3.05s) --- FAIL: TestTraceCgoCallback/Stress (1.11s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x10b7e034c m=4 sigcode=1 addr=0x90 goroutine 0 gp=0xc000009520 m=4 mp=0xc000049808 [idle]: runtime.readgstatus(...) /tmp/buildlet/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000049808?, 0x600000006?}, 0x500000004?}, 0x700004447d18?, 0x16?) /tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x700004447cd0 sp=0x700004447c98 pc=0x10b7e034c runtime.traceAdvance.func5(0xc000030008?) /tmp/buildlet/go/src/runtime/trace2.go:551 +0x8e fp=0x700004447d10 sp=0x700004447cd0 pc=0x10b7e6d6e runtime.runSafePointFn() /tmp/buildlet/go/src/runtime/proc.go:2044 +0x44 fp=0x700004447d28 sp=0x700004447d10 pc=0x10b7bea84 runtime.findRunnable() /tmp/buildlet/go/src/runtime/proc.go:3169 +0x56 fp=0x700004447ea0 sp=0x700004447d28 pc=0x10b7c09b6 runtime.schedule() /tmp/buildlet/go/src/runtime/proc.go:3884 +0xb1 fp=0x700004447ed8 sp=0x700004447ea0 pc=0x10b7c2791 runtime.park_m(0xc0000081a0) /tmp/buildlet/go/src/runtime/proc.go:4052 +0x1ec fp=0x700004447f30 sp=0x700004447ed8 pc=0x10b7c2d6c runtime.mcall() /tmp/buildlet/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x700004447f48 sp=0x700004447f30 pc=0x10b7ea84e goroutine 1 gp=0xc0000081a0 m=nil [semacquire]: runtime.gopark(0x0?, 0x1528029c0?, 0x0?, 0x0?, 0x1528031c0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000052d18 sp=0xc000052cf8 pc=0x10b7bb62e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.semacquire1(0x10b8d519c, 0x0, 0x0, 0x0, 0x12) /tmp/buildlet/go/src/runtime/sema.go:160 +0x225 fp=0xc000052d80 sp=0xc000052d18 pc=0x10b7cc285 runtime.semacquire(...) /tmp/buildlet/go/src/runtime/sema.go:111 runtime.traceAdvance(0x1) /tmp/buildlet/go/src/runtime/trace2.go:276 +0x3c fp=0xc000052eb8 sp=0xc000052d80 pc=0x10b7d9e5c runtime.StopTrace(...) /tmp/buildlet/go/src/runtime/trace2.go:267 runtime/trace.Stop() /tmp/buildlet/go/src/runtime/trace/trace.go:148 +0x89 fp=0xc000052ef0 sp=0xc000052eb8 pc=0x10b81b4c9 main.main() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cgo-callback.go:79 +0xfc fp=0xc000052f50 sp=0xc000052ef0 pc=0x10b81b71c runtime.main() /tmp/buildlet/go/src/runtime/proc.go:271 +0x29d fp=0xc000052fe0 sp=0xc000052f50 pc=0x10b7bb1fd runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000052fe8 sp=0xc000052fe0 pc=0x10b7ec8a1 goroutine 2 gp=0xc000008b60 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000042fa8 sp=0xc000042f88 pc=0x10b7bb62e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.forcegchelper() /tmp/buildlet/go/src/runtime/proc.go:326 +0xb3 fp=0xc000042fe0 sp=0xc000042fa8 pc=0x10b7bb4b3 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000042fe8 sp=0xc000042fe0 pc=0x10b7ec8a1 created by runtime.init.6 in goroutine 1 /tmp/buildlet/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000009040 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000043780 sp=0xc000043760 pc=0x10b7bb62e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00006c000) /tmp/buildlet/go/src/runtime/mgcsweep.go:317 +0xdf fp=0xc0000437c8 sp=0xc000043780 pc=0x10b7a835f runtime.gcenable.gowrap1() /tmp/buildlet/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000437e0 sp=0xc0000437c8 pc=0x10b79cc65 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000437e8 sp=0xc0000437e0 pc=0x10b7ec8a1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc0000091e0 m=nil [runnable]: runtime.gopark(0x10000?, 0x10b83ee18?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000043f78 sp=0xc000043f58 pc=0x10b7bb62e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x10b8dee40) /tmp/buildlet/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000043fa8 sp=0xc000043f78 pc=0x10b7a5d09 runtime.bgscavenge(0xc00006c000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc000043fc8 sp=0xc000043fa8 pc=0x10b7a62b9 runtime.gcenable.gowrap2() /tmp/buildlet/go/src/runtime/mgc.go:204 +0x25 fp=0xc000043fe0 sp=0xc000043fc8 pc=0x10b79cc05 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000043fe8 sp=0xc000043fe0 pc=0x10b7ec8a1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:204 +0xa5 goroutine 18 gp=0xc000082680 m=nil [finalizer wait]: runtime.gopark(0xc000042648?, 0x10b793505?, 0x98?, 0x1?, 0x10b85cb80?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000042620 sp=0xc000042600 pc=0x10b7bb62e runtime.runfinq() /tmp/buildlet/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000427e0 sp=0xc000042620 pc=0x10b79bca7 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000427e8 sp=0xc0000427e0 pc=0x10b7ec8a1 created by runtime.createfing in goroutine 1 /tmp/buildlet/go/src/runtime/mfinal.go:164 +0x3d goroutine 19 gp=0xc0000829c0 m=nil [chan receive]: runtime.gopark(0x10b7d7bfe?, 0xc000046008?, 0x1?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003e6b8 sp=0xc00003e698 pc=0x10b7bb62e runtime.chanrecv(0xc00008e0c0, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc00003e730 sp=0xc00003e6b8 pc=0x10b78c2ff runtime.chanrecv1(0xc0000b8000?, 0x1a71d9dadc3?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc00003e758 sp=0xc00003e730 pc=0x10b78bf32 runtime.(*wakeableSleep).sleep(0xc0000b2018, 0x5f5e100) /tmp/buildlet/go/src/runtime/trace2.go:936 +0xab fp=0xc00003e7b0 sp=0xc00003e758 pc=0x10b7db64b runtime.traceStartReadCPU.func1() /tmp/buildlet/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc00003e7e0 sp=0xc00003e7b0 pc=0x10b7dc11b runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0x10b7ec8a1 created by runtime.traceStartReadCPU in goroutine 1 /tmp/buildlet/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 20 gp=0xc000082b60 m=14 mp=0xc000081008 [trace proc status]: runtime.systemstack_switch() /tmp/buildlet/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000057e78 sp=0xc000057e68 pc=0x10b7ea868 runtime.forEachP(...) /tmp/buildlet/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /tmp/buildlet/go/src/runtime/trace2.go:548 +0x62a fp=0xc000057fb0 sp=0xc000057e78 pc=0x10b7da44a runtime.(*traceAdvancerState).start.func1() /tmp/buildlet/go/src/runtime/trace2.go:882 +0x2f fp=0xc000057fe0 sp=0xc000057fb0 pc=0x10b7db4cf runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x10b7ec8a1 created by runtime.(*traceAdvancerState).start in goroutine 1 /tmp/buildlet/go/src/runtime/trace2.go:876 +0x165 goroutine 21 gp=0xc000082d00 m=nil [trace reader (blocked)]: runtime.gopark(0xc00003f778?, 0xc0000a6060?, 0x20?, 0xa0?, 0x7d?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003f738 sp=0xc00003f718 pc=0x10b7bb62e runtime.ReadTrace() /tmp/buildlet/go/src/runtime/trace2.go:677 +0x31 fp=0xc00003f7a0 sp=0xc00003f738 pc=0x10b7daef1 runtime/trace.Start.func1() /tmp/buildlet/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00003f7e0 sp=0xc00003f7a0 pc=0x10b81b3c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003f7e8 sp=0xc00003f7e0 pc=0x10b7ec8a1 created by runtime/trace.Start in goroutine 1 /tmp/buildlet/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 35 gp=0xc0002224e0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc0000bc750 sp=0xc0000bc730 pc=0x10b7bb62e runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000bc7e0 sp=0xc0000bc750 pc=0x10b79ed45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000bc7e8 sp=0xc0000bc7e0 pc=0x10b7ec8a1 created by runtime.gcBgMarkStartWorkers in goroutine 17 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 53 gp=0xc0002829c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00029c750 sp=0xc00029c730 pc=0x10b7bb62e runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00029c7e0 sp=0xc00029c750 pc=0x10b79ed45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00029c7e8 sp=0xc00029c7e0 pc=0x10b7ec8a1 created by runtime.gcBgMarkStartWorkers in goroutine 17 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 36 gp=0xc0002229c0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc0000bcf50 sp=0xc0000bcf30 pc=0x10b7bb62e runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000bcfe0 sp=0xc0000bcf50 pc=0x10b79ed45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000bcfe8 sp=0xc0000bcfe0 pc=0x10b7ec8a1 created by runtime.gcBgMarkStartWorkers in goroutine 17 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 32 gp=0xc0000c6680 m=nil [GC worker (idle)]: runtime.gopark(0x1a71b41a2a0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc0000c2f50 sp=0xc0000c2f30 pc=0x10b7bb62e runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000c2fe0 sp=0xc0000c2f50 pc=0x10b79ed45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c2fe8 sp=0xc0000c2fe0 pc=0x10b7ec8a1 created by runtime.gcBgMarkStartWorkers in goroutine 17 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 76 gp=0xc00030a680 m=nil [GC worker (idle)]: runtime.gopark(0x1a71b41ada5?, 0xc00023e040?, 0x1a?, 0xa?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000330f50 sp=0xc000330f30 pc=0x10b7bb62e runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000330fe0 sp=0xc000330f50 pc=0x10b79ed45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000330fe8 sp=0xc000330fe0 pc=0x10b7ec8a1 created by runtime.gcBgMarkStartWorkers in goroutine 17 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 33 gp=0xc0000c6820 m=nil [GC worker (idle)]: runtime.gopark(0x1a7188d678d?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc0000c3750 sp=0xc0000c3730 pc=0x10b7bb62e runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000c37e0 sp=0xc0000c3750 pc=0x10b79ed45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c37e8 sp=0xc0000c37e0 pc=0x10b7ec8a1 created by runtime.gcBgMarkStartWorkers in goroutine 17 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c rax 0xaaaaaaaaaaaaaaac rbx 0x3 rcx 0x0 rdx 0x0 rdi 0xc000030008 rsi 0x0 rbp 0x700004447cc0 rsp 0x700004447c98 r8 0xc000049808 r9 0x1 r10 0x1 r11 0x1 r12 0xc000030008 r13 0x1 r14 0xc000009520 r15 0x5 rip 0x10b7e034c rflags 0x10246 cs 0x2b fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceCPUProfile (2.36s) --- FAIL: TestTraceCPUProfile/Stress (0.98s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0xedaf32c m=0 sigcode=1 addr=0x90 goroutine 0 gp=0xef4bb80 m=0 mp=0xef4c100 [idle]: runtime.readgstatus(...) /tmp/buildlet/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xef4c100?, 0x260000000000?}, 0x10000000101?}, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x7ff7b21ab340 sp=0x7ff7b21ab308 pc=0xedaf32c runtime.traceAdvance.func5(0xc000032a08?) /tmp/buildlet/go/src/runtime/trace2.go:551 +0x8e fp=0x7ff7b21ab380 sp=0x7ff7b21ab340 pc=0xedb5d4e runtime.runSafePointFn() /tmp/buildlet/go/src/runtime/proc.go:2044 +0x44 fp=0x7ff7b21ab398 sp=0x7ff7b21ab380 pc=0xed8d124 runtime.findRunnable() /tmp/buildlet/go/src/runtime/proc.go:3169 +0x56 fp=0x7ff7b21ab510 sp=0x7ff7b21ab398 pc=0xed8efb6 runtime.schedule() /tmp/buildlet/go/src/runtime/proc.go:3884 +0xb1 fp=0x7ff7b21ab548 sp=0x7ff7b21ab510 pc=0xed90d91 runtime.goschedImpl(0xc0000081a0, 0x0) /tmp/buildlet/go/src/runtime/proc.go:4081 +0x178 fp=0x7ff7b21ab598 sp=0x7ff7b21ab548 pc=0xed91518 runtime.gosched_m(0xc0000081a0?) /tmp/buildlet/go/src/runtime/proc.go:4086 +0x15 fp=0x7ff7b21ab5b8 sp=0x7ff7b21ab598 pc=0xed91695 runtime.mcall() /tmp/buildlet/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7ff7b21ab5d0 sp=0x7ff7b21ab5b8 pc=0xedba1ee goroutine 1 gp=0xc0000081a0 m=nil [runnable]: runtime.Gosched(...) /tmp/buildlet/go/src/runtime/proc.go:342 main.cpuHog0(0xc00010cb08?, 0x186a0) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:128 +0x65 fp=0xc00010caf8 sp=0xc00010cad0 pc=0xee39da5 main.cpuHog1(0x0?) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:120 +0x18 fp=0xc00010cb18 sp=0xc00010caf8 pc=0xee39d18 main.cpuHogger(0xee94188, 0xefab798, 0x5f5e100) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:107 +0x4f fp=0xc00010cb68 sp=0xc00010cb18 pc=0xee39c6f main.main.func1.1({0xee954b0?, 0xc000112480?}) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:44 +0x25 fp=0xc00010cb90 sp=0xc00010cb68 pc=0xee39ba5 runtime/pprof.Do({0xee95478?, 0xefab700?}, {{0xc00014e000?, 0x9?, 0xc00012c078?}}, 0xc00010cc60) /tmp/buildlet/go/src/runtime/pprof/runtime.go:51 +0x9d fp=0xc00010cc00 sp=0xc00010cb90 pc=0xee3857d main.main.func1(0x5f5e100) /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:43 +0x218 fp=0xc00010ccc8 sp=0xc00010cc00 pc=0xee39af8 main.main() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/cpu-profile.go:50 +0xef fp=0xc00010cf50 sp=0xc00010ccc8 pc=0xee3934f runtime.main() /tmp/buildlet/go/src/runtime/proc.go:271 +0x29d fp=0xc00010cfe0 sp=0xc00010cf50 pc=0xed8989d runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00010cfe8 sp=0xc00010cfe0 pc=0xedbc0c1 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040fa8 sp=0xc000040f88 pc=0xed89cce runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.forcegchelper() /tmp/buildlet/go/src/runtime/proc.go:326 +0xb3 fp=0xc000040fe0 sp=0xc000040fa8 pc=0xed89b53 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0xedbc0c1 created by runtime.init.6 in goroutine 1 /tmp/buildlet/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041780 sp=0xc000041760 pc=0xed89cce runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.bgsweep(0xc000058000) /tmp/buildlet/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc0000417c8 sp=0xc000041780 pc=0xed76934 runtime.gcenable.gowrap1() /tmp/buildlet/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000417e0 sp=0xc0000417c8 pc=0xed6b485 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000417e8 sp=0xc0000417e0 pc=0xedbc0c1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [GC scavenge wait]: runtime.gopark(0xc000058000?, 0xee65078?, 0x1?, 0x0?, 0xc000008d00?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041f78 sp=0xc000041f58 pc=0xed89cce runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0xef4ba00) /tmp/buildlet/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000041fa8 sp=0xc000041f78 pc=0xed74329 runtime.bgscavenge(0xc000058000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000041fc8 sp=0xc000041fa8 pc=0xed748bc runtime.gcenable.gowrap2() /tmp/buildlet/go/src/runtime/mgc.go:204 +0x25 fp=0xc000041fe0 sp=0xc000041fc8 pc=0xed6b425 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000041fe8 sp=0xc000041fe0 pc=0xedbc0c1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:204 +0xa5 goroutine 17 gp=0xc00011e000 m=nil [finalizer wait]: runtime.gopark(0xc000040660?, 0xed737fc?, 0x40?, 0xc2?, 0x550011?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040620 sp=0xc000040600 pc=0xed89cce runtime.runfinq() /tmp/buildlet/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000407e0 sp=0xc000040620 pc=0xed6a4c7 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0xedbc0c1 created by runtime.createfing in goroutine 1 /tmp/buildlet/go/src/runtime/mfinal.go:164 +0x3d goroutine 18 gp=0xc00011e4e0 m=nil [sleep]: runtime.gopark(0x1a7a5db32a2?, 0x1?, 0x10?, 0x42?, 0xc000280130?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00010df18 sp=0xc00010def8 pc=0xed89cce time.Sleep(0x5f5e100) /tmp/buildlet/go/src/runtime/time.go:195 +0x115 fp=0xc00010df58 sp=0xc00010df18 pc=0xedb9095 runtime/pprof.profileWriter({0xee94e78?, 0xc000112420?}) /tmp/buildlet/go/src/runtime/pprof/pprof.go:809 +0x4a fp=0xc00010dfc0 sp=0xc00010df58 pc=0xee2ff2a runtime/pprof.StartCPUProfile.gowrap2() /tmp/buildlet/go/src/runtime/pprof/pprof.go:794 +0x25 fp=0xc00010dfe0 sp=0xc00010dfc0 pc=0xee2fe45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00010dfe8 sp=0xc00010dfe0 pc=0xedbc0c1 created by runtime/pprof.StartCPUProfile in goroutine 1 /tmp/buildlet/go/src/runtime/pprof/pprof.go:794 +0x136 goroutine 19 gp=0xc00011e680 m=nil [chan receive]: runtime.gopark(0xeda6bde?, 0xc000420000?, 0x2?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000108eb8 sp=0xc000108e98 pc=0xed89cce runtime.chanrecv(0xc000102120, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc000108f30 sp=0xc000108eb8 pc=0xed5a1bf runtime.chanrecv1(0xc000100050?, 0x1a7abd131dc?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc000108f58 sp=0xc000108f30 pc=0xed59df2 runtime.(*wakeableSleep).sleep(0xc00012c048, 0x5f5e100) /tmp/buildlet/go/src/runtime/trace2.go:936 +0xab fp=0xc000108fb0 sp=0xc000108f58 pc=0xedaa62b runtime.traceStartReadCPU.func1() /tmp/buildlet/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc000108fe0 sp=0xc000108fb0 pc=0xedab0fb runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000108fe8 sp=0xc000108fe0 pc=0xedbc0c1 created by runtime.traceStartReadCPU in goroutine 1 /tmp/buildlet/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 20 gp=0xc00011e820 m=6 mp=0xc00017a008 [trace proc status]: runtime.systemstack_switch() /tmp/buildlet/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc00010ee78 sp=0xc00010ee68 pc=0xedba208 runtime.forEachP(...) /tmp/buildlet/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /tmp/buildlet/go/src/runtime/trace2.go:548 +0x62a fp=0xc00010efb0 sp=0xc00010ee78 pc=0xeda942a runtime.(*traceAdvancerState).start.func1() /tmp/buildlet/go/src/runtime/trace2.go:882 +0x2f fp=0xc00010efe0 sp=0xc00010efb0 pc=0xedaa4af runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00010efe8 sp=0xc00010efe0 pc=0xedbc0c1 created by runtime.(*traceAdvancerState).start in goroutine 1 /tmp/buildlet/go/src/runtime/trace2.go:876 +0x165 goroutine 21 gp=0xc00011e9c0 m=nil [trace reader (blocked)]: runtime.gopark(0xc00003df78?, 0xc00011c060?, 0x20?, 0xc0?, 0x558?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003df38 sp=0xc00003df18 pc=0xed89cce runtime.ReadTrace() /tmp/buildlet/go/src/runtime/trace2.go:677 +0x31 fp=0xc00003dfa0 sp=0xc00003df38 pc=0xeda9ed1 runtime/trace.Start.func1() /tmp/buildlet/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc00003dfe0 sp=0xc00003dfa0 pc=0xee39065 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003dfe8 sp=0xc00003dfe0 pc=0xedbc0c1 created by runtime/trace.Start in goroutine 1 /tmp/buildlet/go/src/runtime/trace/trace.go:128 +0xd0 rax 0x11 rbx 0x32 rcx 0x0 rdx 0x0 rdi 0xc000032a08 rsi 0x0 rbp 0x7ff7b21ab330 rsp 0x7ff7b21ab308 r8 0xef4c100 r9 0x1 r10 0xc000080670 r11 0xc000080674 r12 0x7ff7b21ab418 r13 0x4 r14 0xef4bb80 r15 0x31 rip 0xedaf32c rflags 0x10246 cs 0x2b fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStacks (1.70s) --- FAIL: TestTraceStacks/Stress (0.75s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0x2f6bccc m=4 sigcode=1 addr=0x90 goroutine 0 gp=0xc000009520 m=4 mp=0xc000049808 [idle]: runtime.readgstatus(...) /tmp/buildlet/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xc000049808?, 0x4?}, 0x0?}, 0x70000862ed18?, 0x56?) /tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x70000862ecd0 sp=0x70000862ec98 pc=0x2f6bccc runtime.traceAdvance.func5(0xc000036f08?) /tmp/buildlet/go/src/runtime/trace2.go:551 +0x8e fp=0x70000862ed10 sp=0x70000862ecd0 pc=0x2f726ee runtime.runSafePointFn() /tmp/buildlet/go/src/runtime/proc.go:2044 +0x44 fp=0x70000862ed28 sp=0x70000862ed10 pc=0x2f485c4 runtime.findRunnable() /tmp/buildlet/go/src/runtime/proc.go:3169 +0x56 fp=0x70000862eea0 sp=0x70000862ed28 pc=0x2f4a4f6 runtime.schedule() /tmp/buildlet/go/src/runtime/proc.go:3884 +0xb1 fp=0x70000862eed8 sp=0x70000862eea0 pc=0x2f4c2d1 runtime.park_m(0xc0000091e0) /tmp/buildlet/go/src/runtime/proc.go:4052 +0x1ec fp=0x70000862ef30 sp=0x70000862eed8 pc=0x2f4c8ac runtime.mcall() /tmp/buildlet/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x70000862ef48 sp=0x70000862ef30 pc=0x2f77e4e goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x1a97696cf16?, 0xc000057dd8?, 0xa0?, 0xe5?, 0xc000014198?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000057dc8 sp=0xc000057da8 pc=0x2f4516e time.Sleep(0x5f5e100) /tmp/buildlet/go/src/runtime/time.go:195 +0x115 fp=0xc000057e08 sp=0xc000057dc8 pc=0x2f76e35 main.main() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:101 +0x565 fp=0xc000057f50 sp=0xc000057e08 pc=0x2fe22a5 runtime.main() /tmp/buildlet/go/src/runtime/proc.go:271 +0x29d fp=0xc000057fe0 sp=0xc000057f50 pc=0x2f44d3d runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x2f79ea1 goroutine 2 gp=0xc000008b60 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000042fa8 sp=0xc000042f88 pc=0x2f4516e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.forcegchelper() /tmp/buildlet/go/src/runtime/proc.go:326 +0xb3 fp=0xc000042fe0 sp=0xc000042fa8 pc=0x2f44ff3 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000042fe8 sp=0xc000042fe0 pc=0x2f79ea1 created by runtime.init.6 in goroutine 1 /tmp/buildlet/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000009040 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000043780 sp=0xc000043760 pc=0x2f4516e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00006c000) /tmp/buildlet/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc0000437c8 sp=0xc000043780 pc=0x2f31634 runtime.gcenable.gowrap1() /tmp/buildlet/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000437e0 sp=0xc0000437c8 pc=0x2f25f85 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000437e8 sp=0xc0000437e0 pc=0x2f79ea1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc0000091e0 m=nil [GC scavenge wait]: runtime.gopark(0xc00006c000?, 0x300dd88?, 0x1?, 0x0?, 0xc0000091e0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000043f78 sp=0xc000043f58 pc=0x2f4516e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x30f0640) /tmp/buildlet/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000043fa8 sp=0xc000043f78 pc=0x2f2f029 runtime.bgscavenge(0xc00006c000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000043fc8 sp=0xc000043fa8 pc=0x2f2f5bc runtime.gcenable.gowrap2() /tmp/buildlet/go/src/runtime/mgc.go:204 +0x25 fp=0xc000043fe0 sp=0xc000043fc8 pc=0x2f25f25 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000043fe8 sp=0xc000043fe0 pc=0x2f79ea1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc000009a00 m=nil [finalizer wait]: runtime.gopark(0xc000042648?, 0x2f1a145?, 0x98?, 0x1?, 0x3041dc0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000042620 sp=0xc000042600 pc=0x2f4516e runtime.runfinq() /tmp/buildlet/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000427e0 sp=0xc000042620 pc=0x2f24fc7 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000427e8 sp=0xc0000427e0 pc=0x2f79ea1 created by runtime.createfing in goroutine 1 /tmp/buildlet/go/src/runtime/mfinal.go:164 +0x3d goroutine 6 gp=0xc000009d40 m=nil [chan receive]: runtime.gopark(0x2f633de?, 0xc0002a0000?, 0x1?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc0000446b8 sp=0xc000044698 pc=0x2f4516e runtime.chanrecv(0xc00007c0c0, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc000044730 sp=0xc0000446b8 pc=0x2f12b9f runtime.chanrecv1(0xc00007a050?, 0x1a97cbb1983?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc000044758 sp=0xc000044730 pc=0x2f127d2 runtime.(*wakeableSleep).sleep(0xc000014120, 0x5f5e100) /tmp/buildlet/go/src/runtime/trace2.go:936 +0xab fp=0xc0000447b0 sp=0xc000044758 pc=0x2f66fcb runtime.traceStartReadCPU.func1() /tmp/buildlet/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0000447e0 sp=0xc0000447b0 pc=0x2f67a9b runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x2f79ea1 created by runtime.traceStartReadCPU in goroutine 1 /tmp/buildlet/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 7 gp=0xc000116000 m=0 mp=0x30f0c60 [trace proc status]: runtime.systemstack_switch() /tmp/buildlet/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000058e78 sp=0xc000058e68 pc=0x2f77e68 runtime.forEachP(...) /tmp/buildlet/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /tmp/buildlet/go/src/runtime/trace2.go:548 +0x62a fp=0xc000058fb0 sp=0xc000058e78 pc=0x2f65dca runtime.(*traceAdvancerState).start.func1() /tmp/buildlet/go/src/runtime/trace2.go:882 +0x2f fp=0xc000058fe0 sp=0xc000058fb0 pc=0x2f66e4f runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x2f79ea1 created by runtime.(*traceAdvancerState).start in goroutine 1 /tmp/buildlet/go/src/runtime/trace2.go:876 +0x165 goroutine 8 gp=0xc0001161a0 m=nil [trace reader (blocked)]: runtime.gopark(0xc000045778?, 0xc0000700c0?, 0x20?, 0x0?, 0xce8?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000045738 sp=0xc000045718 pc=0x2f4516e runtime.ReadTrace() /tmp/buildlet/go/src/runtime/trace2.go:677 +0x31 fp=0xc0000457a0 sp=0xc000045738 pc=0x2f66871 runtime/trace.Start.func1() /tmp/buildlet/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0000457e0 sp=0xc0000457a0 pc=0x2fe1ba5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x2f79ea1 created by runtime/trace.Start in goroutine 1 /tmp/buildlet/go/src/runtime/trace/trace.go:128 +0xd0 goroutine 9 gp=0xc000116340 m=nil [select (no cases)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000045fa0 sp=0xc000045f80 pc=0x2f4516e runtime.block() /tmp/buildlet/go/src/runtime/select.go:103 +0x26 fp=0xc000045fd0 sp=0xc000045fa0 pc=0x2f55f66 main.main.func1() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:33 +0xf fp=0xc000045fe0 sp=0xc000045fd0 pc=0x2fe294f runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:32 +0xac goroutine 10 gp=0xc0001164e0 m=nil [chan send (nil chan)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003e720 sp=0xc00003e700 pc=0x2f4516e runtime.chansend(0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:165 +0xda fp=0xc00003e790 sp=0xc00003e720 pc=0x2f11b9a runtime.chansend1(0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:145 +0x17 fp=0xc00003e7c0 sp=0xc00003e790 pc=0x2f11ab7 main.main.func2() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:37 +0x1c fp=0xc00003e7e0 sp=0xc00003e7c0 pc=0x2fe297c runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:35 +0xb8 goroutine 11 gp=0xc000116680 m=nil [chan receive (nil chan)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003ef20 sp=0xc00003ef00 pc=0x2f4516e runtime.chanrecv(0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:469 +0x159 fp=0xc00003ef98 sp=0xc00003ef20 pc=0x2f12939 runtime.chanrecv1(0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc00003efc0 sp=0xc00003ef98 pc=0x2f127d2 main.main.func3() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:41 +0x17 fp=0xc00003efe0 sp=0xc00003efc0 pc=0x2fe29b7 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003efe8 sp=0xc00003efe0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:39 +0xc5 goroutine 12 gp=0xc000116820 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003f720 sp=0xc00003f700 pc=0x2f4516e runtime.chanrecv(0xc00007c240, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc00003f798 sp=0xc00003f720 pc=0x2f12b9f runtime.chanrecv1(0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc00003f7c0 sp=0xc00003f798 pc=0x2f127d2 main.main.func4() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:45 +0x19 fp=0xc00003f7e0 sp=0xc00003f7c0 pc=0x2fe2919 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003f7e8 sp=0xc00003f7e0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:44 +0x11d goroutine 13 gp=0xc0001169c0 m=nil [chan send]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003ff20 sp=0xc00003ff00 pc=0x2f4516e runtime.chansend(0xc00007c2a0, 0x300dd88, 0x1, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:259 +0x38d fp=0xc00003ff90 sp=0xc00003ff20 pc=0x2f11e4d runtime.chansend1(0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:145 +0x17 fp=0xc00003ffc0 sp=0xc00003ff90 pc=0x2f11ab7 main.main.func5() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:49 +0x1e fp=0xc00003ffe0 sp=0xc00003ffc0 pc=0x2fe28de runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003ffe8 sp=0xc00003ffe0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:48 +0x179 goroutine 14 gp=0xc000116b60 m=nil [select]: runtime.gopark(0xc0000407b0?, 0x2?, 0x0?, 0x0?, 0xc0000407ac?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040658 sp=0xc000040638 pc=0x2f4516e runtime.selectgo(0xc0000407b0, 0xc0000407a8, 0x0?, 0x0, 0x0?, 0x1) /tmp/buildlet/go/src/runtime/select.go:327 +0x725 fp=0xc000040778 sp=0xc000040658 pc=0x2f566a5 main.main.func6() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:54 +0x4a fp=0xc0000407e0 sp=0xc000040778 pc=0x2fe28aa runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:53 +0x1ff goroutine 15 gp=0xc000116d00 m=nil [sync.Mutex.Lock]: runtime.gopark(0x0?, 0x0?, 0x60?, 0x3?, 0xc000040f10?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040ec8 sp=0xc000040ea8 pc=0x2f4516e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.semacquire1(0xc0000161d4, 0x0, 0x3, 0x1, 0x15) /tmp/buildlet/go/src/runtime/sema.go:160 +0x225 fp=0xc000040f30 sp=0xc000040ec8 pc=0x2f576e5 sync.runtime_SemacquireMutex(0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/sema.go:77 +0x25 fp=0xc000040f68 sp=0xc000040f30 pc=0x2f76225 sync.(*Mutex).lockSlow(0xc0000161d0) /tmp/buildlet/go/src/sync/mutex.go:171 +0x15d fp=0xc000040fb8 sp=0xc000040f68 pc=0x2f8525d sync.(*Mutex).Lock(...) /tmp/buildlet/go/src/sync/mutex.go:90 main.main.func7() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:62 +0x32 fp=0xc000040fe0 sp=0xc000040fb8 pc=0x2fe2832 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:61 +0x273 goroutine 16 gp=0xc000116ea0 m=nil [semacquire]: runtime.gopark(0x0?, 0x0?, 0xc0?, 0x3?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041700 sp=0xc0000416e0 pc=0x2f4516e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.semacquire1(0xc0000161e8, 0x0, 0x1, 0x0, 0x12) /tmp/buildlet/go/src/runtime/sema.go:160 +0x225 fp=0xc000041768 sp=0xc000041700 pc=0x2f576e5 sync.runtime_Semacquire(0x0?) /tmp/buildlet/go/src/runtime/sema.go:62 +0x25 fp=0xc0000417a0 sp=0xc000041768 pc=0x2f76165 sync.(*WaitGroup).Wait(0x0?) /tmp/buildlet/go/src/sync/waitgroup.go:116 +0x48 fp=0xc0000417c8 sp=0xc0000417a0 pc=0x2f86908 main.main.func8() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:68 +0x17 fp=0xc0000417e0 sp=0xc0000417c8 pc=0x2fe27d7 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000417e8 sp=0xc0000417e0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:67 +0x2d3 goroutine 18 gp=0xc000117040 m=nil [sync.Cond.Wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041f30 sp=0xc000041f10 pc=0x2f4516e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 sync.runtime_notifyListWait(0xc00006e050, 0x0) /tmp/buildlet/go/src/runtime/sema.go:569 +0x159 fp=0xc000041f80 sp=0xc000041f30 pc=0x2f764d9 sync.(*Cond).Wait(0x0?) /tmp/buildlet/go/src/sync/cond.go:70 +0x85 fp=0xc000041fc0 sp=0xc000041f80 pc=0x2f843e5 main.main.func9() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:73 +0x2e fp=0xc000041fe0 sp=0xc000041fc0 pc=0x2fe278e runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000041fe8 sp=0xc000041fe0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:71 +0x365 goroutine 19 gp=0xc0001171e0 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000120538 sp=0xc000120518 pc=0x2f4516e runtime.netpollblock(0x0?, 0x2f10b26?, 0x0?) /tmp/buildlet/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc000120570 sp=0xc000120538 pc=0x2f3ea97 internal/poll.runtime_pollWait(0x49cdafa0, 0x72) /tmp/buildlet/go/src/runtime/netpoll.go:345 +0x85 fp=0xc000120590 sp=0xc000120570 pc=0x2f74da5 internal/poll.(*pollDesc).wait(0xc000118080?, 0x0?, 0x0) /tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0001205b8 sp=0xc000120590 pc=0x2f9f3c7 internal/poll.(*pollDesc).waitRead(...) /tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000118080) /tmp/buildlet/go/src/internal/poll/fd_unix.go:611 +0x2ac fp=0xc000120660 sp=0xc0001205b8 pc=0x2fa066c net.(*netFD).accept(0xc000118080) /tmp/buildlet/go/src/net/fd_unix.go:172 +0x29 fp=0xc000120718 sp=0xc000120660 pc=0x2fcfbc9 net.(*TCPListener).accept(0xc000062020) /tmp/buildlet/go/src/net/tcpsock_posix.go:159 +0x1e fp=0xc000120740 sp=0xc000120718 pc=0x2fdd97e net.(*TCPListener).Accept(0xc000062020) /tmp/buildlet/go/src/net/tcpsock.go:327 +0x30 fp=0xc000120770 sp=0xc000120740 pc=0x2fdcdd0 main.main.func10() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:81 +0x22 fp=0xc0001207e0 sp=0xc000120770 pc=0x2fe2642 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0001207e8 sp=0xc0001207e0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:80 +0x425 goroutine 20 gp=0xc000117380 m=nil [IO wait]: runtime.gopark(0x7?, 0xc000120fc7?, 0x1?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000120e48 sp=0xc000120e28 pc=0x2f4516e runtime.netpollblock(0x2f917c5?, 0x2f10b26?, 0x0?) /tmp/buildlet/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc000120e80 sp=0xc000120e48 pc=0x2f3ea97 internal/poll.runtime_pollWait(0x49cdaea8, 0x72) /tmp/buildlet/go/src/runtime/netpoll.go:345 +0x85 fp=0xc000120ea0 sp=0xc000120e80 pc=0x2f74da5 internal/poll.(*pollDesc).wait(0xc000070180?, 0xc000120fc7?, 0x1) /tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000120ec8 sp=0xc000120ea0 pc=0x2f9f3c7 internal/poll.(*pollDesc).waitRead(...) /tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000070180, {0xc000120fc7, 0x1, 0x1}) /tmp/buildlet/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc000120f60 sp=0xc000120ec8 pc=0x2f9fcfa os.(*File).read(...) /tmp/buildlet/go/src/os/file_posix.go:29 os.(*File).Read(0xc000046048, {0xc000120fc7?, 0x0?, 0x0?}) /tmp/buildlet/go/src/os/file.go:118 +0x52 fp=0xc000120fa0 sp=0xc000120f60 pc=0x2fa1552 main.main.func11() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:97 +0x32 fp=0xc000120fe0 sp=0xc000120fa0 pc=0x2fe2532 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000120fe8 sp=0xc000120fe0 pc=0x2f79ea1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stacks.go:95 +0x557 rax 0xaaaaaaaaaaaaaaac rbx 0x3 rcx 0x0 rdx 0x0 rdi 0xc000036f08 rsi 0x0 rbp 0x70000862ecc0 rsp 0x70000862ec98 r8 0xc000049808 r9 0x1 r10 0x1 r11 0x247 r12 0xc000036f08 r13 0x1 r14 0xc000009520 r15 0x5 rip 0x2f6bccc rflags 0x10246 cs 0x2b fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 --- FAIL: TestTraceStress (4.10s) --- FAIL: TestTraceStress/Stress (0.76s) trace_test.go:551: stderr: fatal error: semasleep on Darwin signal stack panic during panic goroutine 0 gp=0xc000008d00 m=3 mp=0xc000049008 [idle]: runtime.throw({0xdde9eec?, 0xdd7d700?}) /tmp/buildlet/go/src/runtime/panic.go:1023 +0x5c fp=0xc00006b898 sp=0xc00006b868 pc=0xdd4429c runtime.semasleep(0xffffffffffffffff) /tmp/buildlet/go/src/runtime/os_darwin.go:48 +0x1f2 fp=0xc00006b8f0 sp=0xc00006b898 pc=0xdd419b2 runtime.lock2(0xc00006b970?) /tmp/buildlet/go/src/runtime/lock_sema.go:95 +0x1ae fp=0xc00006b958 sp=0xc00006b8f0 pc=0xdd1a0ee runtime.lockWithRank(...) /tmp/buildlet/go/src/runtime/lockrank_off.go:24 runtime.lock(...) /tmp/buildlet/go/src/runtime/lock_sema.go:39 runtime.startpanic_m() /tmp/buildlet/go/src/runtime/panic.go:1288 +0x136 fp=0xc00006b980 sp=0xc00006b958 pc=0xdd44a76 runtime.sighandler(0xb, 0xc000049008?, 0xc00006ba10?, 0xc000008ea0) /tmp/buildlet/go/src/runtime/signal_unix.go:734 +0x29c fp=0xc00006b9e8 sp=0xc00006b980 pc=0xdd5b95c runtime.sigtrampgo(0xb, 0xc00006bee0, 0xc00006bf48) /tmp/buildlet/go/src/runtime/signal_unix.go:490 +0x13c fp=0xc00006ba60 sp=0xc00006b9e8 pc=0xdd5b21c runtime.sigtramp() /tmp/buildlet/go/src/runtime/sys_darwin_amd64.s:189 +0x46 fp=0xc00006bab0 sp=0xc00006ba60 pc=0xdd7d586 goroutine 1 gp=0xc0000081a0 m=nil [sleep]: runtime.gopark(0x1aa6c2f9a9f?, 0xc000052e40?, 0x39?, 0x56?, 0xdde3409?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000052e10 sp=0xc000052df0 pc=0xdd4712e time.Sleep(0x2faf080) /tmp/buildlet/go/src/runtime/time.go:195 +0x115 fp=0xc000052e50 sp=0xc000052e10 pc=0xdd78b35 main.main() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stress.go:57 +0x274 fp=0xc000052f50 sp=0xc000052e50 pc=0xdde3874 runtime.main() /tmp/buildlet/go/src/runtime/proc.go:271 +0x29d fp=0xc000052fe0 sp=0xc000052f50 pc=0xdd46cfd runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000052fe8 sp=0xc000052fe0 pc=0xdd7bba1 goroutine 2 gp=0xc000008b60 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000042fa8 sp=0xc000042f88 pc=0xdd4712e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.forcegchelper() /tmp/buildlet/go/src/runtime/proc.go:326 +0xb3 fp=0xc000042fe0 sp=0xc000042fa8 pc=0xdd46fb3 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000042fe8 sp=0xc000042fe0 pc=0xdd7bba1 created by runtime.init.6 in goroutine 1 /tmp/buildlet/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000009040 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000043780 sp=0xc000043760 pc=0xdd4712e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.bgsweep(0xc00006c000) /tmp/buildlet/go/src/runtime/mgcsweep.go:277 +0x94 fp=0xc0000437c8 sp=0xc000043780 pc=0xdd335f4 runtime.gcenable.gowrap1() /tmp/buildlet/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000437e0 sp=0xc0000437c8 pc=0xdd27f45 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000437e8 sp=0xc0000437e0 pc=0xdd7bba1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc0000091e0 m=nil [GC scavenge wait]: runtime.gopark(0xc00006c000?, 0xde0f308?, 0x1?, 0x0?, 0xc0000091e0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000043f78 sp=0xc000043f58 pc=0xdd4712e runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.(*scavengerState).park(0xdef0640) /tmp/buildlet/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000043fa8 sp=0xc000043f78 pc=0xdd30fe9 runtime.bgscavenge(0xc00006c000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000043fc8 sp=0xc000043fa8 pc=0xdd3157c runtime.gcenable.gowrap2() /tmp/buildlet/go/src/runtime/mgc.go:204 +0x25 fp=0xc000043fe0 sp=0xc000043fc8 pc=0xdd27ee5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000043fe8 sp=0xc000043fe0 pc=0xdd7bba1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:204 +0xa5 goroutine 18 gp=0xc000082680 m=nil [finalizer wait]: runtime.gopark(0xc000042648?, 0xdd1c105?, 0x98?, 0x1?, 0xde427e0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000042620 sp=0xc000042600 pc=0xdd4712e runtime.runfinq() /tmp/buildlet/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000427e0 sp=0xc000042620 pc=0xdd26f87 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000427e8 sp=0xc0000427e0 pc=0xdd7bba1 created by runtime.createfing in goroutine 1 /tmp/buildlet/go/src/runtime/mfinal.go:164 +0x3d goroutine 19 gp=0xc0000829c0 m=nil [chan receive]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003e718 sp=0xc00003e6f8 pc=0xdd4712e runtime.chanrecv(0xc00008e0c0, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc00003e790 sp=0xc00003e718 pc=0xdd14b5f runtime.chanrecv1(0x0?, 0x0?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc00003e7b8 sp=0xc00003e790 pc=0xdd14792 main.main.func1() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stress.go:29 +0x25 fp=0xc00003e7e0 sp=0xc00003e7b8 pc=0xdde40a5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0xdd7bba1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stress.go:28 +0xbe goroutine 20 gp=0xc000082b60 m=nil [IO wait]: runtime.gopark(0x3?, 0xc00003efbf?, 0x1?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003ee40 sp=0xc00003ee20 pc=0xdd4712e runtime.netpollblock(0xdd93205?, 0xdd12ae6?, 0x0?) /tmp/buildlet/go/src/runtime/netpoll.go:573 +0xf7 fp=0xc00003ee78 sp=0xc00003ee40 pc=0xdd40a57 internal/poll.runtime_pollWait(0x54a98e40, 0x72) /tmp/buildlet/go/src/runtime/netpoll.go:345 +0x85 fp=0xc00003ee98 sp=0xc00003ee78 pc=0xdd76de5 internal/poll.(*pollDesc).wait(0xc0000aa120?, 0xc00003efbf?, 0x1) /tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00003eec0 sp=0xc00003ee98 pc=0xdda0e07 internal/poll.(*pollDesc).waitRead(...) /tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0000aa120, {0xc00003efbf, 0x1, 0x1}) /tmp/buildlet/go/src/internal/poll/fd_unix.go:164 +0x27a fp=0xc00003ef58 sp=0xc00003eec0 pc=0xdda173a os.(*File).read(...) /tmp/buildlet/go/src/os/file_posix.go:29 os.(*File).Read(0xc00009a038, {0xc00003efbf?, 0x0?, 0x0?}) /tmp/buildlet/go/src/os/file.go:118 +0x52 fp=0xc00003ef98 sp=0xc00003ef58 pc=0xdda2f92 main.main.func3() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stress.go:45 +0x3b fp=0xc00003efe0 sp=0xc00003ef98 pc=0xdde3fdb runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003efe8 sp=0xc00003efe0 pc=0xdd7bba1 created by main.main in goroutine 1 /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/stress.go:43 +0x1df goroutine 34 gp=0xc00010c000 m=nil [chan receive]: runtime.gopark(0xdd6541e?, 0xc00010a020?, 0x2?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc0001126b8 sp=0xc000112698 pc=0xdd4712e runtime.chanrecv(0xc000106000, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc000112730 sp=0xc0001126b8 pc=0xdd14b5f runtime.chanrecv1(0xc000108000?, 0x1aa72296340?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc000112758 sp=0xc000112730 pc=0xdd14792 runtime.(*wakeableSleep).sleep(0xc000104000, 0x5f5e100) /tmp/buildlet/go/src/runtime/trace2.go:936 +0xab fp=0xc0001127b0 sp=0xc000112758 pc=0xdd6900b runtime.traceStartReadCPU.func1() /tmp/buildlet/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc0001127e0 sp=0xc0001127b0 pc=0xdd69adb runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0001127e8 sp=0xc0001127e0 pc=0xdd7bba1 created by runtime.traceStartReadCPU in goroutine 1 /tmp/buildlet/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 35 gp=0xc00010c1a0 m=0 mp=0xdef0c60 [trace proc status]: runtime.systemstack_switch() /tmp/buildlet/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000132e78 sp=0xc000132e68 pc=0xdd79b68 runtime.forEachP(...) /tmp/buildlet/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /tmp/buildlet/go/src/runtime/trace2.go:548 +0x62a fp=0xc000132fb0 sp=0xc000132e78 pc=0xdd67e0a runtime.(*traceAdvancerState).start.func1() /tmp/buildlet/go/src/runtime/trace2.go:882 +0x2f fp=0xc000132fe0 sp=0xc000132fb0 pc=0xdd68e8f runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000132fe8 sp=0xc000132fe0 pc=0xdd7bba1 created by runtime.(*traceAdvancerState).start in goroutine 1 /tmp/buildlet/go/src/runtime/trace2.go:876 +0x165 goroutine 36 gp=0xc00010c340 m=nil [trace reader (blocked)]: runtime.gopark(0xc000113778?, 0xc0000aa060?, 0x20?, 0x0?, 0x66f?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000113738 sp=0xc000113718 pc=0xdd4712e runtime.ReadTrace() /tmp/buildlet/go/src/runtime/trace2.go:677 +0x31 fp=0xc0001137a0 sp=0xc000113738 pc=0xdd688b1 runtime/trace.Start.func1() /tmp/buildlet/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0001137e0 sp=0xc0001137a0 pc=0xdde3465 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0001137e8 sp=0xc0001137e0 pc=0xdd7bba1 created by runtime/trace.Start in goroutine 1 /tmp/buildlet/go/src/runtime/trace/trace.go:128 +0xd0 fatal error: semawakeup on Darwin signal stack stack trace unavailable exit status 4 trace_test.go:553: exit status 1 --- FAIL: TestTraceManyStartStop (1.67s) --- FAIL: TestTraceManyStartStop/Stress (0.81s) trace_test.go:551: stderr: SIGSEGV: segmentation violation PC=0xe1e2b2c m=0 sigcode=1 addr=0x90 goroutine 0 gp=0xe2de020 m=0 mp=0xe2de5a0 [idle]: runtime.readgstatus(...) /tmp/buildlet/go/src/runtime/proc.go:1056 runtime.traceWriter.writeProcStatusForP({{0xe2de5a0?, 0x600000006?}, 0x500000002?}, 0x7ff7b2d763a0?, 0x96?) /tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x7ff7b2d76358 sp=0x7ff7b2d76320 pc=0xe1e2b2c runtime.traceAdvance.func5(0xc000032a08?) /tmp/buildlet/go/src/runtime/trace2.go:551 +0x8e fp=0x7ff7b2d76398 sp=0x7ff7b2d76358 pc=0xe1e954e runtime.runSafePointFn() /tmp/buildlet/go/src/runtime/proc.go:2044 +0x44 fp=0x7ff7b2d763b0 sp=0x7ff7b2d76398 pc=0xe1c1304 runtime.findRunnable() /tmp/buildlet/go/src/runtime/proc.go:3169 +0x56 fp=0x7ff7b2d76528 sp=0x7ff7b2d763b0 pc=0xe1c3196 runtime.schedule() /tmp/buildlet/go/src/runtime/proc.go:3884 +0xb1 fp=0x7ff7b2d76560 sp=0x7ff7b2d76528 pc=0xe1c4f71 runtime.park_m(0xc000083380) /tmp/buildlet/go/src/runtime/proc.go:4052 +0x1ec fp=0x7ff7b2d765b8 sp=0x7ff7b2d76560 pc=0xe1c554c runtime.mcall() /tmp/buildlet/go/src/runtime/asm_amd64.s:458 +0x4e fp=0x7ff7b2d765d0 sp=0x7ff7b2d765b8 pc=0xe1ed00e goroutine 1 gp=0xc0000081a0 m=nil [semacquire]: runtime.gopark(0x0?, 0x54fc31c0?, 0x80?, 0x41?, 0x54fd8540?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000094d28 sp=0xc000094d08 pc=0xe1bdeae runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.semacquire1(0xe2d431c, 0x0, 0x0, 0x0, 0x12) /tmp/buildlet/go/src/runtime/sema.go:160 +0x225 fp=0xc000094d90 sp=0xc000094d28 pc=0xe1cea65 runtime.semacquire(...) /tmp/buildlet/go/src/runtime/sema.go:111 runtime.traceAdvance(0x1) /tmp/buildlet/go/src/runtime/trace2.go:276 +0x3c fp=0xc000094ec8 sp=0xc000094d90 pc=0xe1dc63c runtime.StopTrace(...) /tmp/buildlet/go/src/runtime/trace2.go:267 runtime/trace.Stop() /tmp/buildlet/go/src/runtime/trace/trace.go:148 +0x89 fp=0xc000094f00 sp=0xc000094ec8 pc=0xe21dfa9 main.main() /tmp/buildlet/go/src/internal/trace/v2/testdata/testprog/many-start-stop.go:29 +0x25 fp=0xc000094f50 sp=0xc000094f00 pc=0xe21e065 runtime.main() /tmp/buildlet/go/src/runtime/proc.go:271 +0x29d fp=0xc000094fe0 sp=0xc000094f50 pc=0xe1bda7d runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000094fe8 sp=0xc000094fe0 pc=0xe1eeee1 goroutine 2 gp=0xc000008680 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040fa8 sp=0xc000040f88 pc=0xe1bdeae runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.forcegchelper() /tmp/buildlet/go/src/runtime/proc.go:326 +0xb3 fp=0xc000040fe0 sp=0xc000040fa8 pc=0xe1bdd33 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0xe1eeee1 created by runtime.init.6 in goroutine 1 /tmp/buildlet/go/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000008b60 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041780 sp=0xc000041760 pc=0xe1bdeae runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.bgsweep(0xc000058000) /tmp/buildlet/go/src/runtime/mgcsweep.go:317 +0xdf fp=0xc0000417c8 sp=0xc000041780 pc=0xe1aabdf runtime.gcenable.gowrap1() /tmp/buildlet/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000417e0 sp=0xc0000417c8 pc=0xe19f4e5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000417e8 sp=0xc0000417e0 pc=0xe1eeee1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000008d00 m=nil [sleep]: runtime.gopark(0xc000066000?, 0x1acb4aff141?, 0x0?, 0x0?, 0xe2606b8?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000041f38 sp=0xc000041f18 pc=0xe1bdeae runtime.goparkunlock(...) /tmp/buildlet/go/src/runtime/proc.go:408 runtime.(*scavengerState).sleep(0xe2ddf80, 0x41353cf700000000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:504 +0x125 fp=0xc000041fa8 sp=0xc000041f38 pc=0xe1a8765 runtime.bgscavenge(0xc000058000) /tmp/buildlet/go/src/runtime/mgcscavenge.go:662 +0x74 fp=0xc000041fc8 sp=0xc000041fa8 pc=0xe1a8b54 runtime.gcenable.gowrap2() /tmp/buildlet/go/src/runtime/mgc.go:204 +0x25 fp=0xc000041fe0 sp=0xc000041fc8 pc=0xe19f485 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000041fe8 sp=0xc000041fe0 pc=0xe1eeee1 created by runtime.gcenable in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:204 +0xa5 goroutine 17 gp=0xc000082340 m=nil [finalizer wait]: runtime.gopark(0xc000040660?, 0xe1a7a5c?, 0x40?, 0xde?, 0x550011?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000040620 sp=0xc000040600 pc=0xe1bdeae runtime.runfinq() /tmp/buildlet/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000407e0 sp=0xc000040620 pc=0xe19e527 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0xe1eeee1 created by runtime.createfing in goroutine 1 /tmp/buildlet/go/src/runtime/mfinal.go:164 +0x3d goroutine 21 gp=0xc000082b60 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003df50 sp=0xc00003df30 pc=0xe1bdeae runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00003dfe0 sp=0xc00003df50 pc=0xe1a15c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003dfe8 sp=0xc00003dfe0 pc=0xe1eeee1 created by runtime.gcBgMarkStartWorkers in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 22 gp=0xc000082d00 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003e750 sp=0xc00003e730 pc=0xe1bdeae runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00003e7e0 sp=0xc00003e750 pc=0xe1a15c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003e7e8 sp=0xc00003e7e0 pc=0xe1eeee1 created by runtime.gcBgMarkStartWorkers in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 23 gp=0xc000082ea0 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003ef50 sp=0xc00003ef30 pc=0xe1bdeae runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00003efe0 sp=0xc00003ef50 pc=0xe1a15c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003efe8 sp=0xc00003efe0 pc=0xe1eeee1 created by runtime.gcBgMarkStartWorkers in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 24 gp=0xc000083040 m=nil [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00003f750 sp=0xc00003f730 pc=0xe1bdeae runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00003f7e0 sp=0xc00003f750 pc=0xe1a15c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00003f7e8 sp=0xc00003f7e0 pc=0xe1eeee1 created by runtime.gcBgMarkStartWorkers in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 33 gp=0xc000222340 m=nil [GC worker (idle)]: runtime.gopark(0x1ac26fd9b94?, 0x0?, 0x0?, 0x0?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000232750 sp=0xc000232730 pc=0xe1bdeae runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0002327e0 sp=0xc000232750 pc=0xe1a15c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0002327e8 sp=0xc0002327e0 pc=0xe1eeee1 created by runtime.gcBgMarkStartWorkers in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 5 gp=0xc000009520 m=nil [GC worker (idle)]: runtime.gopark(0x1ac26fa7246?, 0xc0000b8050?, 0xff?, 0x9a?, 0x0?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000095f50 sp=0xc000095f30 pc=0xe1bdeae runtime.gcBgMarkWorker() /tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000095fe0 sp=0xc000095f50 pc=0xe1a15c5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000095fe8 sp=0xc000095fe0 pc=0xe1eeee1 created by runtime.gcBgMarkStartWorkers in goroutine 1 /tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c goroutine 49 gp=0xc0000831e0 m=nil [chan receive]: runtime.gopark(0xe1da3de?, 0xc000016050?, 0x1?, 0x0?, 0x40?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000235eb8 sp=0xc000235e98 pc=0xe1bdeae runtime.chanrecv(0xc0000a6000, 0x0, 0x1) /tmp/buildlet/go/src/runtime/chan.go:583 +0x3bf fp=0xc000235f30 sp=0xc000235eb8 pc=0xe18eb7f runtime.chanrecv1(0xc0000b8050?, 0x1ac2cf38e0e?) /tmp/buildlet/go/src/runtime/chan.go:442 +0x12 fp=0xc000235f58 sp=0xc000235f30 pc=0xe18e7b2 runtime.(*wakeableSleep).sleep(0xc0000b2030, 0x5f5e100) /tmp/buildlet/go/src/runtime/trace2.go:936 +0xab fp=0xc000235fb0 sp=0xc000235f58 pc=0xe1dde2b runtime.traceStartReadCPU.func1() /tmp/buildlet/go/src/runtime/trace2cpu.go:54 +0x3b fp=0xc000235fe0 sp=0xc000235fb0 pc=0xe1de8fb runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000235fe8 sp=0xc000235fe0 pc=0xe1eeee1 created by runtime.traceStartReadCPU in goroutine 1 /tmp/buildlet/go/src/runtime/trace2cpu.go:42 +0x156 goroutine 50 gp=0xc000083380 m=3 mp=0xc000047008 [trace proc status]: runtime.systemstack_switch() /tmp/buildlet/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000c3e78 sp=0xc0000c3e68 pc=0xe1ed028 runtime.forEachP(...) /tmp/buildlet/go/src/runtime/proc.go:1911 runtime.traceAdvance(0x0) /tmp/buildlet/go/src/runtime/trace2.go:548 +0x62a fp=0xc0000c3fb0 sp=0xc0000c3e78 pc=0xe1dcc2a runtime.(*traceAdvancerState).start.func1() /tmp/buildlet/go/src/runtime/trace2.go:882 +0x2f fp=0xc0000c3fe0 sp=0xc0000c3fb0 pc=0xe1ddcaf runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c3fe8 sp=0xc0000c3fe0 pc=0xe1eeee1 created by runtime.(*traceAdvancerState).start in goroutine 1 /tmp/buildlet/go/src/runtime/trace2.go:876 +0x165 goroutine 51 gp=0xc000083520 m=nil [trace reader (blocked)]: runtime.gopark(0xc000235778?, 0x5d18?, 0xa0?, 0x57?, 0xe1dde38?) /tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc000235738 sp=0xc000235718 pc=0xe1bdeae runtime.ReadTrace() /tmp/buildlet/go/src/runtime/trace2.go:677 +0x31 fp=0xc0002357a0 sp=0xc000235738 pc=0xe1dd6d1 runtime/trace.Start.func1() /tmp/buildlet/go/src/runtime/trace/trace.go:130 +0x45 fp=0xc0002357e0 sp=0xc0002357a0 pc=0xe21dea5 runtime.goexit({}) /tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0002357e8 sp=0xc0002357e0 pc=0xe1eeee1 created by runtime/trace.Start in goroutine 1 /tmp/buildlet/go/src/runtime/trace/trace.go:128 +0xd0 rax 0xaaaaaaaaaaaaaaad rbx 0x6 rcx 0x0 rdx 0x0 rdi 0xc000032a08 rsi 0x0 rbp 0x7ff7b2d76348 rsp 0x7ff7b2d76320 r8 0xe2de5a0 r9 0x1 r10 0x1 r11 0x1 r12 0xc000032a08 r13 0x1 r14 0xe2de020 r15 0x5 rip 0xe1e2b2c rflags 0x10246 cs 0x2b fs 0x0 gs 0x0 exit status 2 trace_test.go:553: exit status 1 FAIL FAIL internal/trace/v2 27.511s FAIL go tool dist: Failed: exit status 1