2019/01/12 06:34:43 UDP Associate
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x85dfd9]
goroutine 35 [running]:
github.com/cnlh/easyProxy/bridge.(*Tunnel).ReturnTunnel(0xc0001392c0, 0x0, 0xc0000230a0, 0x20)
/Users/liuhe/go/src/github.com/cnlh/easyProxy/bridge/bridge.go:187 +0x79
github.com/cnlh/easyProxy/server.(*Sock5ModeServer).handleUDP.func1(0xc000286030, 0x0)
/Users/liuhe/go/src/github.com/cnlh/easyProxy/server/socks5.go:204 +0x6f
github.com/cnlh/easyProxy/server.(*Sock5ModeServer).handleUDP(0xc000286030, 0xa17aa0, 0xc00000c0e0)
/Users/liuhe/go/src/github.com/cnlh/easyProxy/server/socks5.go:213 +0x191
github.com/cnlh/easyProxy/server.(*Sock5ModeServer).handleRequest(0xc000286030, 0xa17aa0, 0xc00000c0e0)
/Users/liuhe/go/src/github.com/cnlh/easyProxy/server/socks5.go:81 +0x1af
github.com/cnlh/easyProxy/server.(*Sock5ModeServer).handleConn(0xc000286030, 0xa17aa0, 0xc00000c0e0)
/Users/liuhe/go/src/github.com/cnlh/easyProxy/server/socks5.go:249 +0x337
created by github.com/cnlh/easyProxy/server.(*Sock5ModeServer).Start
/Users/liuhe/go/src/github.com/cnlh/easyProxy/server/socks5.go:303 +0x114