Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic will occur when accepting #51

Open
YangXin-Sheep opened this issue Jun 18, 2019 · 1 comment
Open

Panic will occur when accepting #51

YangXin-Sheep opened this issue Jun 18, 2019 · 1 comment

Comments

@YangXin-Sheep
Copy link

panic: no such file or directory

goroutine 50 [running]:
github.com/tidwall/evio/internal.(*Poll).ModReadWrite(0xc4202ea060, 0x507)
/xagiot/home/yangxin/iot-proxy/src/github.com/tidwall/evio/internal/internal_linux.go:116 +0x8c
github.com/tidwall/evio.loopRead(0xc42030a000, 0xc4202d0100, 0xc4209c9050, 0xc4208ffb70, 0x0)
/xagiot/home/yangxin/iot-proxy/src/github.com/tidwall/evio/evio_unix.go:445 +0x17d
github.com/tidwall/evio.loopRun.func2(0x507, 0x0, 0x0, 0x0, 0x0)
/xagiot/home/yangxin/iot-proxy/src/github.com/tidwall/evio/evio_unix.go:245 +0xe6
github.com/tidwall/evio/internal.(*Poll).Wait(0xc4202ea060, 0xc420a93fa8, 0xc42030a000, 0x0)
/xagiot/home/yangxin/iot-proxy/src/github.com/tidwall/evio/internal/internal_linux.go:66 +0xb3
github.com/tidwall/evio.loopRun(0xc42030a000, 0xc4202d0100)
/xagiot/home/yangxin/iot-proxy/src/github.com/tidwall/evio/evio_unix.go:230 +0x93
created by github.com/tidwall/evio.serve
/xagiot/home/yangxin/iot-proxy/src/github.com/tidwall/evio/evio_unix.go:157 +0x483

I thought there have some exception in listen unsolve, so sometimes evio will panic without any recover.
I‘m looking forward to hearing from you, best wishs to U.

@tidwall
Copy link
Owner

tidwall commented Jun 18, 2019

Thanks for reporting. I would like to reproduce this issue on my side. Could you provide some information on your platform, Go version, and, if possible, code that causes this panic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants