UDP Proxy crashes



Hi guys, I am trying to host my own teamspeak server on a LXD container. I have forwarded the UDP Port 9987 via a proxy device to the container and everything works about 20 minutes.
After the 20 minutes it seems that the proxy stops working anymore. If i execute
lsof -i -n | grep 9987
no listener is reported.

I’ve looked into the proxy log file and there is following error:

panic: runtime error: racy use of timers

goroutine 36 [running]:
/build/lxd/parts/go/build/src/runtime/time.go:114 +0x2b
time.(*Timer).Reset(0xc0001c42d0, 0x1a3185c5000, 0xc0001b6c00)
/build/lxd/parts/go/build/src/time/sleep.go:130 +0x81
main.proxyCopy(0x1379ee0, 0xc00000e030, 0x1379ee0, 0xc0001ba028, 0x0, 0x0)
/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_forkproxy.go:778 +0x68b
created by main.proxyCopy
/build/lxd/parts/lxd/go/src/github.com/lxc/lxd/lxd/main_forkproxy.go:733 +0xb9e

Can somebody help me?

(Stéphane Graber) #2

Can you file a bug at https://github.com/lxc/lxd/issues?


https://github.com/lxc/lxd/issues/5487 done