go-gost / gost

GO Simple Tunnel - a simple tunnel written in golang
https://gost.run
MIT License
3.73k stars 469 forks source link

Multiple Processes - BUG #508

Open steom opened 2 weeks ago

steom commented 2 weeks ago

gost -L http://:8080 -- -L http://:8000 -- -L socks://:1080 -F http://:8000

panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x8 pc=0xe2dbc8]

goroutine 12 [running]: os.(ProcessState).exited(...) /opt/hostedtoolcache/go/1.22.3/x64/src/os/exec_posix.go:83 os.(ProcessState).Exited(...) /opt/hostedtoolcache/go/1.22.3/x64/src/os/exec.go:157 main.worker(0x0, {0xc0004a80e0?, 0x10e7ce5?, 0x2?}, 0x0?, 0xc00042e898) /home/runner/work/gost/gost/cmd/gost/main.go:67 +0x1c8 main.init.0.func1(0x0, {0xc0000829c1?, 0x0?}) /home/runner/work/gost/gost/cmd/gost/main.go:49 +0xb1 created by main.init.0 in goroutine 1 /home/runner/work/gost/gost/cmd/gost/main.go:46 +0x1ca

ginuerzh commented 2 weeks ago

Which version and platform do you use? The output of the command below:

gost -V
steom commented 2 weeks ago

tried some... the same....

gost 3.0.0-rc10 (go1.21.3 windows/amd64) gost 3.0.0-rc9 (go1.21.1 windows/386) gost v3.0.0-nightly.20240531 (go1.22.3 windows/amd64)

for issue #492 instead i tried all builds... rc1, rc2, rc3, rc4, rc5, rc6, rc7, rc8, rc9, rc10 and all the nightly builds