gnirehtet: panicked at 'Removing an unknown connection'
sometimes the program terminates with an error:
2017-11-29 20:43:02.240 ERROR TcpConnection: 10.0.0.2:48290 -> 13.107.3.128:443 Cannot read: [ConnectionReset] Удаленный хост принудительно разорвал существующее подключение. (os error 10054) 2017-11-29 20:43:02.241 INFO TcpConnection: 10.0.0.2:48290 -> 13.107.3.128:443 Close thread ‘main’ panicked at ‘Removing an unknown connection’, src\libcore\option.rs:839:4 note: Run with
RUST_BACKTRACE=1for a backtrace.
What is the reason for this?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24
Commits related to this issue
- Ignore double-removal of a connection In a single poll() result, the client may be ready to receive a packet from the device, that will be sent to a specific network connection, and in the same time ... — committed to Genymobile/gnirehtet by rom1v 6 years ago
- Revert "Ignore double-removal of a connection" This reverts commit 10d5e3214043e1c6bab5fd7e81c1933d8d144c45. This does not fix the root cause, so the panic still happens. <https://github.com/Genymo... — committed to Genymobile/gnirehtet by rom1v 6 years ago
- Compare thin pointers to find the connection Connection is a trait, so "*const Connection" is a fat pointer (128 bits, 64 bits pointing to the instance, 64 bits pointing to the vtable). For some rea... — committed to Genymobile/gnirehtet by rom1v 6 years ago
- Compare thin pointers to find the connection Connection is a trait, so "*const Connection" is a fat pointer (128 bits, 64 bits pointing to the instance, 64 bits pointing to the vtable). For some rea... — committed to Genymobile/gnirehtet by rom1v 6 years ago
- Compare thin pointers to find the connection Connection is a trait, so "*const Connection" is a fat pointer (128 bits, 64 bits pointing to the instance, 64 bits pointing to the vtable). For some rea... — committed to Genymobile/gnirehtet by rom1v 6 years ago
- Compare thin pointers to find the connection Connection is a trait, so "*const Connection" is a fat pointer (128 bits, 64 bits pointing to the instance, 64 bits pointing to the vtable). For some rea... — committed to Genymobile/gnirehtet by rom1v 6 years ago
works like a charm. 😃