tokio-socks5 icon indicating copy to clipboard operation
tokio-socks5 copied to clipboard

thread 'main' panicked at 'assertion failed: `(left == right)`

Open clia opened this issue 6 years ago • 1 comments

clia-mbp:~ clia$ RUST_BACKTRACE=1 tokio-socks5 Listening for socks5 proxy connections on 0.0.0.0:1090 error for 192.168.1.165:39268: unknown version proxied 3193/3165 bytes for 192.168.1.165:47486 proxied 3133/3089 bytes for 192.168.1.165:47618 proxied 3925/5301 bytes for 192.168.1.165:54040 thread 'main' panicked at 'assertion failed: (left == right) left: 65536, right: 4360', src/main.rs:636:13 stack backtrace: 0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace 1: std::sys_common::backtrace::print 2: std::panicking::default_hook::{{closure}} 3: std::panicking::default_hook 4: std::panicking::rust_panic_with_hook 5: std::panicking::continue_panic_fmt 6: std::panicking::begin_panic_fmt 7: <tokio_socks5::Transfer as futures::future::Future>::poll 8: <futures::future::join::MaybeDone<A>>::poll 9: <futures::future::join::Join<A, B> as futures::future::Future>::poll 10: <futures::future::chain::Chain<A, B, C>>::poll 11: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll 12: <futures::future::chain::Chain<A, B, C>>::poll 13: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll 14: <futures::future::chain::Chain<A, B, C>>::poll 15: futures::task_impl::std::set 16: tokio_current_thread::CurrentRunner::set_spawn 17: <tokio_current_thread::scheduler::Scheduler<U>>::tick 18: <scoped_tls::ScopedKey<T>>::set 19: <std::thread::local::LocalKey<T>>::with 20: <std::thread::local::LocalKey<T>>::with 21: <std::thread::local::LocalKey<T>>::with 22: tokio_core::reactor::Core::poll 23: tokio_core::reactor::Core::run 24: tokio_socks5::main 25: std::rt::lang_start::{{closure}} 26: std::panicking::try::do_call 27: __rust_maybe_catch_panic 28: std::rt::lang_start_internal 29: main

My OS is macOS Mojave version 10.14.2

clia avatar Jan 14 '19 12:01 clia

When transfer files using sftp, it always panic.

clia avatar Jan 15 '19 00:01 clia