Closed CarterLi closed 1 year ago
curlie --version
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [chan receive]:
os/exec.(*Cmd).Wait(0xc0000c6160)
/opt/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:518 +0x188
os/exec.(*Cmd).Run(0xc000072120)
/opt/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:341 +0x39
main.main()
/home/runner/work/curlie/curlie/main.go:167 +0x1485
goroutine 6 [chan receive]:
main.(*blockedWrite).Write(0xc0000040d8, {0xc000200000, 0x11b, 0x8000})
/home/runner/work/curlie/curlie/main.go:199 +0x35
io.copyBuffer({0x92c500, 0xc0000040d8}, {0x92c560, 0xc000006050}, {0x0, 0x0, 0x0})
/opt/hostedtoolcache/go/1.17.13/x64/src/io/io.go:425 +0x204
io.Copy(...)
/opt/hostedtoolcache/go/1.17.13/x64/src/io/io.go:382
os/exec.(*Cmd).writerDescriptor.func1()
/opt/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:311 +0x3a
os/exec.(*Cmd).Start.func1(0x0)
/opt/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:444 +0x25
created by os/exec.(*Cmd).Start
/opt/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:443 +0x965
Same
For folks seeing this, I was able to workaround by passing the silent -s
option.
Just downloaded v1.7.1
and the error is still there:
> curlie --help
fatal error: all goroutines are asleep - deadlock!
while
curl
works fineWindows 11 (10.0.22624.1755), installed with
scoop