Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: pollCache.free crash #49273

Open
bradfitz opened this issue Nov 1, 2021 · 1 comment
Open

runtime: pollCache.free crash #49273

bradfitz opened this issue Nov 1, 2021 · 1 comment

Comments

@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented Nov 1, 2021

Trybot flake:
https://storage.googleapis.com/go-build-log/e38e03fb/openbsd-amd64-68_52a7023e.log

openbsd-amd64-68 at e38e03fb4517436aacc0f4802b18743958b8f2fe (pending change with git parent 2bcf1c0)

ok  	crypto/tls	0.475s
ok  	crypto/x509	0.429s
ok  	database/sql	0.961s
ok  	database/sql/driver	0.040s

##### 
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x278 pc=0x40c74e]

goroutine 1826 [running]:
runtime.throw({0x9cd8d6?, 0xc00068b2d8?})
	/tmp/workdir/go/src/runtime/panic.go:992 +0x71 fp=0xc0000475b8 sp=0xc000047588 pc=0x433a31
runtime.sigpanic()
	/tmp/workdir/go/src/runtime/signal_unix.go:781 +0x3a9 fp=0xc000047608 sp=0xc0000475b8 pc=0x449009
runtime.unlock2(0xaa8e40?)
	/tmp/workdir/go/src/runtime/lock_sema.go:115 +0x4e fp=0xc000047630 sp=0xc000047608 pc=0x40c74e
runtime.unlockWithRank(...)
	/tmp/workdir/go/src/runtime/lockrank_off.go:31
runtime.unlock(...)
	/tmp/workdir/go/src/runtime/lock_sema.go:97
runtime.(*pollCache).free(0xdbb800, 0x2490553a8)
	/tmp/workdir/go/src/runtime/netpoll.go:199 +0x45 fp=0xc000047648 sp=0xc000047630 pc=0x42f965
internal/poll.runtime_pollClose(0xc0000476a0?)
	/tmp/workdir/go/src/runtime/netpoll.go:192 +0x4e fp=0xc000047668 sp=0xc000047648 pc=0x45d8ae
internal/poll.(*pollDesc).close(...)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:51
internal/poll.(*FD).destroy(0xc00068b2c0)
	/tmp/workdir/go/src/internal/poll/fd_unix.go:76 +0x2e fp=0xc000047690 sp=0xc000047668 pc=0x4c478e
internal/poll.(*FD).decref(0x2490553a8?)
	/tmp/workdir/go/src/internal/poll/fd_mutex.go:213 +0x53 fp=0xc0000476b0 sp=0xc000047690 pc=0x4c3613
internal/poll.(*FD).Close(0xc00068b2c0)
	/tmp/workdir/go/src/internal/poll/fd_unix.go:106 +0x4f fp=0xc0000476d8 sp=0xc0000476b0 pc=0x4c484f
os.(*file).close(0xc00068b2c0)
	/tmp/workdir/go/src/os/file_unix.go:252 +0xad fp=0xc000047730 sp=0xc0000476d8 pc=0x4d194d
os.(*File).Close(...)
	/tmp/workdir/go/src/os/file_posix.go:25
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/workdir/go/src/os/exec/exec.go:312 +0x57 fp=0xc000047790 sp=0xc000047730 pc=0x4fdeb7
os/exec.(*Cmd).Start.func1(0xc000047798?)
	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc0000477c8 sp=0xc000047790 pc=0x4fecc5
os/exec.(*Cmd).Start.func3()
	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc0000477e0 sp=0xc0000477c8 pc=0x4fec6a
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000477e8 sp=0xc0000477e0 pc=0x463241
created by os/exec.(*Cmd).Start
	/tmp/workdir/go/src/os/exec/exec.go:440 +0x715

goroutine 1 [semacquire]:
runtime.gopark(0x406aca?, 0x2f5a2ccc8?, 0x80?, 0x2d?, 0x40e1a5?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000156fc8 sp=0xc000156fa8 pc=0x436536
runtime.goparkunlock(...)
	/tmp/workdir/go/src/runtime/proc.go:372
runtime.semacquire1(0xc000808aa8, 0x80?, 0x1, 0x0)
	/tmp/workdir/go/src/runtime/sema.go:144 +0x1f3 fp=0xc000157030 sp=0xc000156fc8 pc=0x446533
sync.runtime_Semacquire(0xc0007c1680?)
	/tmp/workdir/go/src/runtime/sema.go:56 +0x25 fp=0xc000157060 sp=0xc000157030 pc=0x45f165
sync.(*WaitGroup).Wait(0x95acc0?)
	/tmp/workdir/go/src/sync/waitgroup.go:136 +0x52 fp=0xc000157088 sp=0xc000157060 pc=0x46e7b2
cmd/go/internal/work.(*Builder).Do(0xc000479e00, {0xaad6a8, 0xc0000a2000}, 0xc000670f00)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:210 +0x4af fp=0xc0001571a0 sp=0xc000157088 pc=0x85a5cf
cmd/go/internal/list.runList({0xaad6a8?, 0xc0000a2000}, 0xc0000ce258?, {0xc0000b2170, 0x44?, 0x1})
	/tmp/workdir/go/src/cmd/go/internal/list/list.go:607 +0xf8b fp=0xc000157d98 sp=0xc0001571a0 pc=0x89e48b
main.invoke(0xd7bf00, {0xc0000b2130, 0x5, 0x5})
	/tmp/workdir/go/src/cmd/go/main.go:216 +0x2ee fp=0xc000157e60 sp=0xc000157d98 pc=0x8da9ce
main.main()
	/tmp/workdir/go/src/cmd/go/main.go:173 +0x78e fp=0xc000157f80 sp=0xc000157e60 pc=0x8da3ae
runtime.main()
	/tmp/workdir/go/src/runtime/proc.go:255 +0x213 fp=0xc000157fe0 sp=0xc000157f80 pc=0x436173
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000157fe8 sp=0xc000157fe0 pc=0x463241

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000044fb0 sp=0xc000044f90 pc=0x436536
runtime.goparkunlock(...)
	/tmp/workdir/go/src/runtime/proc.go:372
runtime.forcegchelper()
	/tmp/workdir/go/src/runtime/proc.go:306 +0xa5 fp=0xc000044fe0 sp=0xc000044fb0 pc=0x4363c5
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x463241
created by runtime.init.6
	/tmp/workdir/go/src/runtime/proc.go:294 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000045790 sp=0xc000045770 pc=0x436536
runtime.goparkunlock(...)
	/tmp/workdir/go/src/runtime/proc.go:372
runtime.bgsweep(0x0?)
	/tmp/workdir/go/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc0000457c8 sp=0xc000045790 pc=0x423c77
runtime.gcenable.func1()
	/tmp/workdir/go/src/runtime/mgc.go:177 +0x26 fp=0xc0000457e0 sp=0xc0000457c8 pc=0x419f66
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x463241
created by runtime.gcenable
	/tmp/workdir/go/src/runtime/mgc.go:177 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc000045fa0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000045f60 sp=0xc000045f40 pc=0x436536
runtime.goparkunlock(...)
	/tmp/workdir/go/src/runtime/proc.go:372
runtime.bgscavenge(0x0?)
	/tmp/workdir/go/src/runtime/mgcscavenge.go:320 +0x288 fp=0xc000045fc8 sp=0xc000045f60 pc=0x421d08
runtime.gcenable.func2()
	/tmp/workdir/go/src/runtime/mgc.go:178 +0x26 fp=0xc000045fe0 sp=0xc000045fc8 pc=0x419f06
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x463241
created by runtime.gcenable
	/tmp/workdir/go/src/runtime/mgc.go:178 +0xaa

goroutine 18 [finalizer wait]:
runtime.gopark(0xd8baa0?, 0xc0000824e0?, 0x70?, 0x47?, 0x442ed1?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000044630 sp=0xc000044610 pc=0x436536
runtime.goparkunlock(...)
	/tmp/workdir/go/src/runtime/proc.go:372
runtime.runfinq()
	/tmp/workdir/go/src/runtime/mfinal.go:177 +0xb3 fp=0xc0000447e0 sp=0xc000044630 pc=0x419053
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x463241
created by runtime.createfing
	/tmp/workdir/go/src/runtime/mfinal.go:157 +0x45

goroutine 20 [GC worker (idle)]:
runtime.gopark(0xc000125380?, 0xc0000407a0?, 0xb9?, 0x71?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000040758 sp=0xc000040738 pc=0x436536
runtime.gcBgMarkWorker()
	/tmp/workdir/go/src/runtime/mgc.go:1196 +0xe5 fp=0xc0000407e0 sp=0xc000040758 pc=0x41bf85
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x463241
created by runtime.gcBgMarkStartWorkers
	/tmp/workdir/go/src/runtime/mgc.go:1120 +0x25

goroutine 21 [GC worker (idle)]:
runtime.gopark(0xc000040fb8?, 0x0?, 0x0?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000040f58 sp=0xc000040f38 pc=0x436536
runtime.gcBgMarkWorker()
	/tmp/workdir/go/src/runtime/mgc.go:1196 +0xe5 fp=0xc000040fe0 sp=0xc000040f58 pc=0x41bf85
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0x463241
created by runtime.gcBgMarkStartWorkers
	/tmp/workdir/go/src/runtime/mgc.go:1120 +0x25

goroutine 22 [GC worker (idle)]:
runtime.gopark(0xc0000417b8?, 0xc00002c060?, 0x18?, 0x14?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000041758 sp=0xc000041738 pc=0x436536
runtime.gcBgMarkWorker()
	/tmp/workdir/go/src/runtime/mgc.go:1196 +0xe5 fp=0xc0000417e0 sp=0xc000041758 pc=0x41bf85
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000417e8 sp=0xc0000417e0 pc=0x463241
created by runtime.gcBgMarkStartWorkers
	/tmp/workdir/go/src/runtime/mgc.go:1120 +0x25

goroutine 34 [GC worker (idle)]:
runtime.gopark(0xdbbf40?, 0x3?, 0xfc?, 0x3?, 0x0?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000486758 sp=0xc000486738 pc=0x436536
runtime.gcBgMarkWorker()
	/tmp/workdir/go/src/runtime/mgc.go:1196 +0xe5 fp=0xc0004867e0 sp=0xc000486758 pc=0x41bf85
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0004867e8 sp=0xc0004867e0 pc=0x463241
created by runtime.gcBgMarkStartWorkers
	/tmp/workdir/go/src/runtime/mgc.go:1120 +0x25

goroutine 1812 [IO wait]:
runtime.gopark(0x7?, 0xc00063cc00?, 0x0?, 0x2?, 0xffffffffffffffff?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000483500 sp=0xc0004834e0 pc=0x436536
runtime.netpollblock(0x475749?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/netpoll.go:453 +0xf3 fp=0xc000483538 sp=0xc000483500 pc=0x42fbd3
internal/poll.runtime_pollWait(0x238df6118, 0x72)
	/tmp/workdir/go/src/runtime/netpoll.go:233 +0x89 fp=0xc000483558 sp=0xc000483538 pc=0x45da29
internal/poll.(*pollDesc).wait(0xc0004b0780?, 0xc00063cc00?, 0x1)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:83 +0x32 fp=0xc000483580 sp=0xc000483558 pc=0x4c3992
internal/poll.(*pollDesc).waitRead(...)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc0004b0780, {0xc00063cc00, 0x200, 0x200})
	/tmp/workdir/go/src/internal/poll/fd_unix.go:166 +0x25a fp=0xc000483600 sp=0xc000483580 pc=0x4c4cfa
os.(*File).read(...)
	/tmp/workdir/go/src/os/file_posix.go:31
os.(*File).Read(0xc00030a1b0, {0xc00063cc00?, 0x1?, 0xc0004836a0?})
	/tmp/workdir/go/src/os/file.go:119 +0x5e fp=0xc000483658 sp=0xc000483600 pc=0x4ce3de
bytes.(*Buffer).ReadFrom(0xc0002a2c30, {0xaa9300, 0xc00030a1b0})
	/tmp/workdir/go/src/bytes/buffer.go:204 +0x98 fp=0xc0004836b0 sp=0xc000483658 pc=0x4f8bb8
io.copyBuffer({0xaa8420, 0xc0002a2c30}, {0xaa9300, 0xc00030a1b0}, {0x0, 0x0, 0x0})
	/tmp/workdir/go/src/io/io.go:412 +0x14b fp=0xc000483730 sp=0xc0004836b0 pc=0x4bf0eb
io.Copy(...)
	/tmp/workdir/go/src/io/io.go:385
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/workdir/go/src/os/exec/exec.go:311 +0x3a fp=0xc000483790 sp=0xc000483730 pc=0x4fde9a
os/exec.(*Cmd).Start.func1(0x1f?)
	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc0004837c8 sp=0xc000483790 pc=0x4fecc5
os/exec.(*Cmd).Start.func3()
	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc0004837e0 sp=0xc0004837c8 pc=0x4fec6a
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0004837e8 sp=0xc0004837e0 pc=0x463241
created by os/exec.(*Cmd).Start
	/tmp/workdir/go/src/os/exec/exec.go:440 +0x715

goroutine 1796 [runnable]:
syscall.syscall6(0x476e20, 0xc0e8, 0xc00065ecbc, 0x0, 0xc0005c0090, 0x0, 0x0)
	/tmp/workdir/go/src/runtime/sys_openbsd3.go:46 +0x3b fp=0xc00065ebd8 sp=0xc00065ebb8 pc=0x45febb
syscall.syscall6(0x38?, 0x8?, 0x38?, 0x100c00065ecc8?, 0x2f5a2c888?, 0x0?, 0x2f5a23f18?)
	<autogenerated>:1 +0x35 fp=0xc00065ec38 sp=0xc00065ebd8 pc=0x465835
syscall.wait4(0xc00065ecc0?, 0x40e507?, 0x90?, 0x99e3c0?)
	/tmp/workdir/go/src/syscall/zsyscall_openbsd_amd64.go:43 +0x48 fp=0xc00065ec98 sp=0xc00065ec38 pc=0x473208
syscall.Wait4(0x203000?, 0xc00065ecf4, 0x46f986?, 0x580?)
	/tmp/workdir/go/src/syscall/syscall_bsd.go:144 +0x2b fp=0xc00065ecd0 sp=0xc00065ec98 pc=0x470fab
os.(*Process).wait(0xc0007cc180)
	/tmp/workdir/go/src/os/exec_unix.go:43 +0x77 fp=0xc00065ed28 sp=0xc00065ecd0 pc=0x4cd817
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc000872580)
	/tmp/workdir/go/src/os/exec/exec.go:507 +0x54 fp=0xc00065eda0 sp=0xc00065ed28 pc=0x4fedb4
os/exec.(*Cmd).Run(0x913d20?)
	/tmp/workdir/go/src/os/exec/exec.go:341 +0x39 fp=0xc00065edc0 sp=0xc00065eda0 pc=0x4fdf19
cmd/go/internal/work.(*Builder).toolID(0xc000479e00, {0x9b0e41, 0x9b98c2?})
	/tmp/workdir/go/src/cmd/go/internal/work/buildid.go:167 +0x425 fp=0xc00065efa8 sp=0xc00065edc0 pc=0x8560e5
cmd/go/internal/work.(*Builder).buildActionID(0xc000479e00, 0xc00059e8c0)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:314 +0xff6 fp=0xc00065f3b0 sp=0xc00065efa8 pc=0x85c336
cmd/go/internal/work.(*Builder).build(0xc000479e00, {0xc0000a2000?, 0xc000548000?}, 0xc00059e8c0)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:472 +0x199 fp=0xc00065fdb8 sp=0xc00065f3b0 pc=0x85d6d9
cmd/go/internal/work.(*Builder).Do.func2({0xaad6a8, 0xc0000a2000}, 0xc00059e8c0)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:139 +0x5ec fp=0xc00065ff20 sp=0xc00065fdb8 pc=0x85b00c
cmd/go/internal/work.(*Builder).Do.func3()
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:201 +0xb9 fp=0xc00065ffe0 sp=0xc00065ff20 pc=0x85a839
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc00065ffe8 sp=0xc00065ffe0 pc=0x463241
created by cmd/go/internal/work.(*Builder).Do
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:187 +0x3da

goroutine 1798 [runnable]:
syscall.syscall(0x4770e0, 0xe, 0x0, 0x0)
	/tmp/workdir/go/src/runtime/sys_openbsd3.go:24 +0x3b fp=0xc0005008f8 sp=0xc0005008d8 pc=0x45fdbb
syscall.syscall(0x472272?, 0xc00056ec00?, 0x32e580?, 0xc0005009f8?)
	<autogenerated>:1 +0x26 fp=0xc000500940 sp=0xc0005008f8 pc=0x465766
syscall.Close(0xdbb860?)
	/tmp/workdir/go/src/syscall/zsyscall_openbsd_amd64.go:512 +0x2f fp=0xc000500970 sp=0xc000500940 pc=0x47462f
syscall.forkExec({0xc000548360?, 0x9b12c2?}, {0xc00049a1e0?, 0x2?, 0x2?}, 0xa55fb92700000300?)
	/tmp/workdir/go/src/syscall/exec_unix.go:226 +0x499 fp=0xc000500a98 sp=0xc000500970 pc=0x470959
syscall.StartProcess(...)
	/tmp/workdir/go/src/syscall/exec_unix.go:263
os.startProcess({0xc000548360, 0xc000500bb8?}, {0xc00049a1e0, 0x2, 0x2}, 0xc000500d48)
	/tmp/workdir/go/src/os/exec_posix.go:54 +0x332 fp=0xc000500b80 sp=0xc000500a98 pc=0x4cd3d2
os.StartProcess({0xc000548360, 0x2a}, {0xc00049a1e0, 0x2, 0x2}, 0x0?)
	/tmp/workdir/go/src/os/exec.go:109 +0x5a fp=0xc000500bc8 sp=0xc000500b80 pc=0x4ccdda
os/exec.(*Cmd).Start(0xc00032e420)
	/tmp/workdir/go/src/os/exec/exec.go:422 +0x565 fp=0xc000500da0 sp=0xc000500bc8 pc=0x4fe4a5
os/exec.(*Cmd).Run(0x913d20?)
	/tmp/workdir/go/src/os/exec/exec.go:338 +0x1e fp=0xc000500dc0 sp=0xc000500da0 pc=0x4fdefe
cmd/go/internal/work.(*Builder).toolID(0xc000479e00, {0x9b0e41, 0x9b98c2?})
	/tmp/workdir/go/src/cmd/go/internal/work/buildid.go:167 +0x425 fp=0xc000500fa8 sp=0xc000500dc0 pc=0x8560e5
cmd/go/internal/work.(*Builder).buildActionID(0xc000479e00, 0xc00059f2c0)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:314 +0xff6 fp=0xc0005013b0 sp=0xc000500fa8 pc=0x85c336
cmd/go/internal/work.(*Builder).build(0xc000479e00, {0xc0000a2000?, 0x0?}, 0xc00059f2c0)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:472 +0x199 fp=0xc000501db8 sp=0xc0005013b0 pc=0x85d6d9
cmd/go/internal/work.(*Builder).Do.func2({0xaad6a8, 0xc0000a2000}, 0xc00059f2c0)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:139 +0x5ec fp=0xc000501f20 sp=0xc000501db8 pc=0x85b00c
cmd/go/internal/work.(*Builder).Do.func3()
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:201 +0xb9 fp=0xc000501fe0 sp=0xc000501f20 pc=0x85a839
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000501fe8 sp=0xc000501fe0 pc=0x463241
created by cmd/go/internal/work.(*Builder).Do
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:187 +0x3da

goroutine 1813 [IO wait]:
runtime.gopark(0x9?, 0xc00063ce00?, 0x0?, 0x2?, 0xffffffffffffffff?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000484d00 sp=0xc000484ce0 pc=0x436536
runtime.netpollblock(0x475749?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/netpoll.go:453 +0xf3 fp=0xc000484d38 sp=0xc000484d00 pc=0x42fbd3
internal/poll.runtime_pollWait(0x249055cb8, 0x72)
	/tmp/workdir/go/src/runtime/netpoll.go:233 +0x89 fp=0xc000484d58 sp=0xc000484d38 pc=0x45da29
internal/poll.(*pollDesc).wait(0xc0004b0840?, 0xc00063ce00?, 0x1)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:83 +0x32 fp=0xc000484d80 sp=0xc000484d58 pc=0x4c3992
internal/poll.(*pollDesc).waitRead(...)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc0004b0840, {0xc00063ce00, 0x200, 0x200})
	/tmp/workdir/go/src/internal/poll/fd_unix.go:166 +0x25a fp=0xc000484e00 sp=0xc000484d80 pc=0x4c4cfa
os.(*File).read(...)
	/tmp/workdir/go/src/os/file_posix.go:31
os.(*File).Read(0xc00030a1d8, {0xc00063ce00?, 0x1?, 0xc000484ea0?})
	/tmp/workdir/go/src/os/file.go:119 +0x5e fp=0xc000484e58 sp=0xc000484e00 pc=0x4ce3de
bytes.(*Buffer).ReadFrom(0xc0002a2cc0, {0xaa9300, 0xc00030a1d8})
	/tmp/workdir/go/src/bytes/buffer.go:204 +0x98 fp=0xc000484eb0 sp=0xc000484e58 pc=0x4f8bb8
io.copyBuffer({0xaa8420, 0xc0002a2cc0}, {0xaa9300, 0xc00030a1d8}, {0x0, 0x0, 0x0})
	/tmp/workdir/go/src/io/io.go:412 +0x14b fp=0xc000484f30 sp=0xc000484eb0 pc=0x4bf0eb
io.Copy(...)
	/tmp/workdir/go/src/io/io.go:385
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/workdir/go/src/os/exec/exec.go:311 +0x3a fp=0xc000484f90 sp=0xc000484f30 pc=0x4fde9a
os/exec.(*Cmd).Start.func1(0x0?)
	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc000484fc8 sp=0xc000484f90 pc=0x4fecc5
os/exec.(*Cmd).Start.func3()
	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc000484fe0 sp=0xc000484fc8 pc=0x4fec6a
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000484fe8 sp=0xc000484fe0 pc=0x463241
created by os/exec.(*Cmd).Start
	/tmp/workdir/go/src/os/exec/exec.go:440 +0x715

goroutine 1799 [runnable]:
syscall.syscall6(0x476e20, 0xcbe1, 0xc000504cbc, 0x0, 0xc000578000, 0x0, 0x0)
	/tmp/workdir/go/src/runtime/sys_openbsd3.go:46 +0x3b fp=0xc000504bd8 sp=0xc000504bb8 pc=0x45febb
syscall.syscall6(0x17?, 0x8?, 0x38?, 0x101c000504cc8?, 0x238dea8e0?, 0x0?, 0x2f5a23a68?)
	<autogenerated>:1 +0x35 fp=0xc000504c38 sp=0xc000504bd8 pc=0x465835
syscall.wait4(0xc000504cc0?, 0x40e507?, 0x90?, 0x99e3c0?)
	/tmp/workdir/go/src/syscall/zsyscall_openbsd_amd64.go:43 +0x48 fp=0xc000504c98 sp=0xc000504c38 pc=0x473208
syscall.Wait4(0x203000?, 0xc000504cf4, 0x46f986?, 0x580?)
	/tmp/workdir/go/src/syscall/syscall_bsd.go:144 +0x2b fp=0xc000504cd0 sp=0xc000504c98 pc=0x470fab
os.(*Process).wait(0xc0005480c0)
	/tmp/workdir/go/src/os/exec_unix.go:43 +0x77 fp=0xc000504d28 sp=0xc000504cd0 pc=0x4cd817
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc000367600)
	/tmp/workdir/go/src/os/exec/exec.go:507 +0x54 fp=0xc000504da0 sp=0xc000504d28 pc=0x4fedb4
os/exec.(*Cmd).Run(0x913d20?)
	/tmp/workdir/go/src/os/exec/exec.go:341 +0x39 fp=0xc000504dc0 sp=0xc000504da0 pc=0x4fdf19
cmd/go/internal/work.(*Builder).toolID(0xc000479e00, {0x9b2cca, 0x9b5c7d?})
	/tmp/workdir/go/src/cmd/go/internal/work/buildid.go:167 +0x425 fp=0xc000504fa8 sp=0xc000504dc0 pc=0x8560e5
cmd/go/internal/work.(*Builder).buildActionID(0xc000479e00, 0xc000671a40)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:312 +0xef5 fp=0xc0005053b0 sp=0xc000504fa8 pc=0x85c235
cmd/go/internal/work.(*Builder).build(0xc000479e00, {0xaad6a8?, 0xc0000a2000?}, 0xc000671a40)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:472 +0x199 fp=0xc000505db8 sp=0xc0005053b0 pc=0x85d6d9
cmd/go/internal/work.(*Builder).Do.func2({0xaad6a8, 0xc0000a2000}, 0xc000671a40)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:139 +0x5ec fp=0xc000505f20 sp=0xc000505db8 pc=0x85b00c
cmd/go/internal/work.(*Builder).Do.func3()
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:201 +0xb9 fp=0xc000505fe0 sp=0xc000505f20 pc=0x85a839
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000505fe8 sp=0xc000505fe0 pc=0x463241
created by cmd/go/internal/work.(*Builder).Do
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:187 +0x3da

goroutine 1797 [runnable]:
syscall.syscall6(0x476e20, 0x2097, 0xc00065acbc, 0x0, 0xc000356000, 0x0, 0x0)
	/tmp/workdir/go/src/runtime/sys_openbsd3.go:46 +0x3b fp=0xc00065abd8 sp=0xc00065abb8 pc=0x45febb
syscall.syscall6(0x17?, 0x8?, 0x38?, 0x101c00065ac88?, 0x238dcf500?, 0x0?, 0x2f5a235b8?)
	<autogenerated>:1 +0x35 fp=0xc00065ac38 sp=0xc00065abd8 pc=0x465835
syscall.wait4(0xc00065acc0?, 0x40e507?, 0x90?, 0x99e3c0?)
	/tmp/workdir/go/src/syscall/zsyscall_openbsd_amd64.go:43 +0x48 fp=0xc00065ac98 sp=0xc00065ac38 pc=0x473208
syscall.Wait4(0x203000?, 0xc00065acf4, 0x2f5a235b8?, 0x580?)
	/tmp/workdir/go/src/syscall/syscall_bsd.go:144 +0x2b fp=0xc00065acd0 sp=0xc00065ac98 pc=0x470fab
os.(*Process).wait(0xc0005a20c0)
	/tmp/workdir/go/src/os/exec_unix.go:43 +0x77 fp=0xc00065ad28 sp=0xc00065acd0 pc=0x4cd817
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc0007da000)
	/tmp/workdir/go/src/os/exec/exec.go:507 +0x54 fp=0xc00065ada0 sp=0xc00065ad28 pc=0x4fedb4
os/exec.(*Cmd).Run(0x913d20?)
	/tmp/workdir/go/src/os/exec/exec.go:341 +0x39 fp=0xc00065adc0 sp=0xc00065ada0 pc=0x4fdf19
cmd/go/internal/work.(*Builder).toolID(0xc000479e00, {0x9b2cca, 0x9b5c7d?})
	/tmp/workdir/go/src/cmd/go/internal/work/buildid.go:167 +0x425 fp=0xc00065afa8 sp=0xc00065adc0 pc=0x8560e5
cmd/go/internal/work.(*Builder).buildActionID(0xc000479e00, 0xc000671e00)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:312 +0xef5 fp=0xc00065b3b0 sp=0xc00065afa8 pc=0x85c235
cmd/go/internal/work.(*Builder).build(0xc000479e00, {0xc0000a2000?, 0x0?}, 0xc000671e00)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:472 +0x199 fp=0xc00065bdb8 sp=0xc00065b3b0 pc=0x85d6d9
cmd/go/internal/work.(*Builder).Do.func2({0xaad6a8, 0xc0000a2000}, 0xc000671e00)
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:139 +0x5ec fp=0xc00065bf20 sp=0xc00065bdb8 pc=0x85b00c
cmd/go/internal/work.(*Builder).Do.func3()
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:201 +0xb9 fp=0xc00065bfe0 sp=0xc00065bf20 pc=0x85a839
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc00065bfe8 sp=0xc00065bfe0 pc=0x463241
created by cmd/go/internal/work.(*Builder).Do
	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:187 +0x3da

goroutine 1827 [runnable]:
syscall.syscall(0x477340, 0x16, 0xc00015a200, 0x200)
	/tmp/workdir/go/src/runtime/sys_openbsd3.go:24 +0x3b fp=0xc000487cf8 sp=0xc000487cd8 pc=0x45fdbb
syscall.syscall(0x1010000000000?, 0xc000487d70?, 0x4c3992?, 0x249055008?)
	<autogenerated>:1 +0x26 fp=0xc000487d40 sp=0xc000487cf8 pc=0x465766
syscall.read(0xc00068b380?, {0xc00015a200?, 0x44a101?, 0x4f8cde?})
	/tmp/workdir/go/src/syscall/zsyscall_openbsd_amd64.go:1143 +0x49 fp=0xc000487d80 sp=0xc000487d40 pc=0x475749
syscall.Read(...)
	/tmp/workdir/go/src/syscall/syscall_unix.go:188
internal/poll.ignoringEINTRIO(...)
	/tmp/workdir/go/src/internal/poll/fd_unix.go:687
internal/poll.(*FD).Read(0xc00068b380?, {0xc00015a200?, 0x200?, 0x200?})
	/tmp/workdir/go/src/internal/poll/fd_unix.go:162 +0x285 fp=0xc000487e00 sp=0xc000487d80 pc=0x4c4d25
os.(*File).read(...)
	/tmp/workdir/go/src/os/file_posix.go:31
os.(*File).Read(0xc0007e6030, {0xc00015a200?, 0x1?, 0xc000487ea0?})
	/tmp/workdir/go/src/os/file.go:119 +0x5e fp=0xc000487e58 sp=0xc000487e00 pc=0x4ce3de
bytes.(*Buffer).ReadFrom(0xc00040e150, {0xaa9300, 0xc0007e6030})
	/tmp/workdir/go/src/bytes/buffer.go:204 +0x98 fp=0xc000487eb0 sp=0xc000487e58 pc=0x4f8bb8
io.copyBuffer({0xaa8420, 0xc00040e150}, {0xaa9300, 0xc0007e6030}, {0x0, 0x0, 0x0})
	/tmp/workdir/go/src/io/io.go:412 +0x14b fp=0xc000487f30 sp=0xc000487eb0 pc=0x4bf0eb
io.Copy(...)
	/tmp/workdir/go/src/io/io.go:385
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/workdir/go/src/os/exec/exec.go:311 +0x3a fp=0xc000487f90 sp=0xc000487f30 pc=0x4fde9a
os/exec.(*Cmd).Start.func1(0x4?)
	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc000487fc8 sp=0xc000487f90 pc=0x4fecc5
os/exec.(*Cmd).Start.func3()
	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc000487fe0 sp=0xc000487fc8 pc=0x4fec6a
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000487fe8 sp=0xc000487fe0 pc=0x463241
created by os/exec.(*Cmd).Start
	/tmp/workdir/go/src/os/exec/exec.go:440 +0x715

goroutine 1731 [IO wait]:
runtime.gopark(0xb?, 0xc00015a400?, 0x0?, 0x2?, 0xffffffffffffffff?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000047d00 sp=0xc000047ce0 pc=0x436536
runtime.netpollblock(0x475749?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/netpoll.go:453 +0xf3 fp=0xc000047d38 sp=0xc000047d00 pc=0x42fbd3
internal/poll.runtime_pollWait(0x249055bd0, 0x72)
	/tmp/workdir/go/src/runtime/netpoll.go:233 +0x89 fp=0xc000047d58 sp=0xc000047d38 pc=0x45da29
internal/poll.(*pollDesc).wait(0xc000251440?, 0xc00015a400?, 0x1)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:83 +0x32 fp=0xc000047d80 sp=0xc000047d58 pc=0x4c3992
internal/poll.(*pollDesc).waitRead(...)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc000251440, {0xc00015a400, 0x200, 0x200})
	/tmp/workdir/go/src/internal/poll/fd_unix.go:166 +0x25a fp=0xc000047e00 sp=0xc000047d80 pc=0x4c4cfa
os.(*File).read(...)
	/tmp/workdir/go/src/os/file_posix.go:31
os.(*File).Read(0xc0000b1340, {0xc00015a400?, 0xc000479e00?, 0xc000047ea0?})
	/tmp/workdir/go/src/os/file.go:119 +0x5e fp=0xc000047e58 sp=0xc000047e00 pc=0x4ce3de
bytes.(*Buffer).ReadFrom(0xc0007c16e0, {0xaa9300, 0xc0000b1340})
	/tmp/workdir/go/src/bytes/buffer.go:204 +0x98 fp=0xc000047eb0 sp=0xc000047e58 pc=0x4f8bb8
io.copyBuffer({0xaa8420, 0xc0007c16e0}, {0xaa9300, 0xc0000b1340}, {0x0, 0x0, 0x0})
	/tmp/workdir/go/src/io/io.go:412 +0x14b fp=0xc000047f30 sp=0xc000047eb0 pc=0x4bf0eb
io.Copy(...)
	/tmp/workdir/go/src/io/io.go:385
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/workdir/go/src/os/exec/exec.go:311 +0x3a fp=0xc000047f90 sp=0xc000047f30 pc=0x4fde9a
os/exec.(*Cmd).Start.func1(0xc000047f98?)
	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc000047fc8 sp=0xc000047f90 pc=0x4fecc5
os/exec.(*Cmd).Start.func3()
	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc000047fe0 sp=0xc000047fc8 pc=0x4fec6a
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000047fe8 sp=0xc000047fe0 pc=0x463241
created by os/exec.(*Cmd).Start
	/tmp/workdir/go/src/os/exec/exec.go:440 +0x715

goroutine 1732 [IO wait]:
runtime.gopark(0x10?, 0xc00015aa00?, 0x0?, 0x2?, 0xffffffffffffffff?)
	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc0007fa500 sp=0xc0007fa4e0 pc=0x436536
runtime.netpollblock(0x475749?, 0x0?, 0x0?)
	/tmp/workdir/go/src/runtime/netpoll.go:453 +0xf3 fp=0xc0007fa538 sp=0xc0007fa500 pc=0x42fbd3
internal/poll.runtime_pollWait(0x249055660, 0x72)
	/tmp/workdir/go/src/runtime/netpoll.go:233 +0x89 fp=0xc0007fa558 sp=0xc0007fa538 pc=0x45da29
internal/poll.(*pollDesc).wait(0xc000251560?, 0xc00015aa00?, 0x1)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:83 +0x32 fp=0xc0007fa580 sp=0xc0007fa558 pc=0x4c3992
internal/poll.(*pollDesc).waitRead(...)
	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:88
internal/poll.(*FD).Read(0xc000251560, {0xc00015aa00, 0x200, 0x200})
	/tmp/workdir/go/src/internal/poll/fd_unix.go:166 +0x25a fp=0xc0007fa600 sp=0xc0007fa580 pc=0x4c4cfa
os.(*File).read(...)
	/tmp/workdir/go/src/os/file_posix.go:31
os.(*File).Read(0xc0000b1358, {0xc00015aa00?, 0x0?, 0xc0007fa6a0?})
	/tmp/workdir/go/src/os/file.go:119 +0x5e fp=0xc0007fa658 sp=0xc0007fa600 pc=0x4ce3de
bytes.(*Buffer).ReadFrom(0xc0007c1710, {0xaa9300, 0xc0000b1358})
	/tmp/workdir/go/src/bytes/buffer.go:204 +0x98 fp=0xc0007fa6b0 sp=0xc0007fa658 pc=0x4f8bb8
io.copyBuffer({0xaa8420, 0xc0007c1710}, {0xaa9300, 0xc0000b1358}, {0x0, 0x0, 0x0})
	/tmp/workdir/go/src/io/io.go:412 +0x14b fp=0xc0007fa730 sp=0xc0007fa6b0 pc=0x4bf0eb
io.Copy(...)
	/tmp/workdir/go/src/io/io.go:385
os/exec.(*Cmd).writerDescriptor.func1()
	/tmp/workdir/go/src/os/exec/exec.go:311 +0x3a fp=0xc0007fa790 sp=0xc0007fa730 pc=0x4fde9a
os/exec.(*Cmd).Start.func1(0x0?)
	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc0007fa7c8 sp=0xc0007fa790 pc=0x4fecc5
os/exec.(*Cmd).Start.func3()
	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc0007fa7e0 sp=0xc0007fa7c8 pc=0x4fec6a
runtime.goexit()
	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0007fa7e8 sp=0xc0007fa7e0 pc=0x463241
created by os/exec.(*Cmd).Start
	/tmp/workdir/go/src/os/exec/exec.go:440 +0x715

go tool dist: FAILED: go list -gcflags=all= -ldflags=all= -f={{if .Stale}}	STALE {{.ImportPath}}: {{.StaleReason}}{{end}} std: exit status 2


Error: tests failed: dist test failed: go_test:debug/buildinfo: exit status 1

/cc @aclements

@mknyszek mknyszek added this to the Go1.18 milestone Nov 2, 2021
@mknyszek
Copy link
Contributor

@mknyszek mknyszek commented Nov 2, 2021

I'm gonna take a wild guess and say this is somehow related to #49259.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants