snail007 / shadowtunnel

secure tunnel which help you protecting your tcp traffic between your machine and your service on remote.
GNU Lesser General Public License v3.0
163 stars 42 forks source link

server and client crash v1.6 #13

Closed sjz123321 closed 5 years ago

sjz123321 commented 5 years ago

Hello,snail! I was runing shadowtunnel in debug mode.when I want to quit it, it occurs. Both Server and Client have this problem,here is the output log:

2019/03/25 22:03:51.853881 st.go:705: clean handler crashed, err : goroutine 8 [running]: runtime/debug.Stack(0xc0420b7df0, 0x7d9860, 0xa81570) /usr/local/go/src/runtime/debug/stack.go:24 +0xae github.com/snail007/shadowtunnel/core.cleanup.func1.1() /home/pengmeng/go/src/github.com/snail007/shadowtunnel/core/st.go:434 +0x4f panic(0x7d9860, 0xa81570) /usr/local/go/src/runtime/panic.go:502 +0x237 time.(*Ticker).Stop(0x0) /usr/local/go/src/time/tick.go:46 +0x29 github.com/snail007/shadowtunnel/core.Stop() /home/pengmeng/go/src/github.com/snail007/shadowtunnel/core/st.go:447 +0x6c github.com/snail007/shadowtunnel/core.cleanup.func1(0xc04204c300, 0xc042055800) /home/pengmeng/go/src/github.com/snail007/shadowtunnel/core/st.go:438 +0x5b created by github.com/snail007/shadowtunnel/core.cleanup /home/pengmeng/go/src/github.com/snail007/shadowtunnel/core/st.go:431 +0x154

sjz123321 commented 5 years ago

solved