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

Assertion error occasionally coming from the utp internal #39

Open
CMCDragonkai opened this issue May 12, 2021 · 4 comments
Open

Assertion error occasionally coming from the utp internal #39

CMCDragonkai opened this issue May 12, 2021 · 4 comments

Comments

@CMCDragonkai
Copy link

I'm running some tests on utp-native, and I've noticed on some repeated invocations:

node: ../deps/libutp/utp_internal.cpp:3405: void utp_shutdown(UTPSocket*, int): Assertion `conn' failed.

If I wait a bit of time, and restart the tests, it works again.

Seems to happen when I try to create a connection and then fail the connection and have to shutdown.

It's weird that this error only occurs upon starting the program again. It appears like there is some state kept between program invocations.

@mafintosh
Copy link
Owner

Interesting, which version are you running and on what platform?

@CMCDragonkai
Copy link
Author

"utp-native": "^2.4.0",

I'm running on Linux matrix-central 5.10.18 #1-NixOS SMP Tue Feb 23 14:53:25 UTC 2021 x86_64 GNU/Linux

@ThaUnknown
Copy link

same here
image

Windows 10 21H2 build 19044.1706
utp-native: 2.5.3

@ThaUnknown
Copy link

image
i'm going to blame electron, because this doesn't seem normal?

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

3 participants