Skip to content

Instantly share code, notes, and snippets.

@Geal
Created May 11, 2017 12:32
Show Gist options
  • Save Geal/1bf754dbbefddfe558a0d8754d725fea to your computer and use it in GitHub Desktop.
Save Geal/1bf754dbbefddfe558a0d8754d725fea to your computer and use it in GitHub Desktop.
$ RUST_BACKTRACE=1 RUST_LOG=trace ./target/debug/examples/main
TRACE:mio::sys::unix::kqueue: registering; token=Token(18446744073709551615); interests=Ready {Readable}
TRACE:mio::poll: registering with poller
TRACE:mio::poll: registering with poller
DEBUG:tokio_core::reactor: adding a new I/O source
TRACE:mio::poll: registering with poller
TRACE:mio::sys::unix::kqueue: registering; token=Token(2); interests=Ready {Readable | Writable | Hup}
TRACE:sozu_command_futures: will send message: ConfigMessage { id: "message-id-42", version: 0, data: ListWorkers, proxy_id: None }
TRACE:sozu_command_futures: lock
TRACE:sozu_command_futures: calling start_send
TRACE:sozu_command_futures: encoded message: {"id":"message-id-42","version":0,"type":"LIST_WORKERS"}
TRACE:sozu_command_futures: written: ()
TRACE:sozu_command_futures: buffer content: Ok("{\"id\":\"message-id-42\",\"version\":0,\"type\":\"LIST_WORKERS\"}")
TRACE:tokio_io::framed_write: flushing framed transport
TRACE:tokio_io::framed_write: writing; remaining=56
thread 'main' panicked at 'no Task is currently running', /Users/geal/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.13/src/lib.rs:199
stack backtrace:
0: std::sys::imp::backtrace::tracing::imp::unwind_backtrace
1: std::panicking::default_hook::{{closure}}
2: std::panicking::default_hook
3: std::panicking::rust_panic_with_hook
4: std::panicking::begin_panic
5: futures::task_impl::with
6: futures::task_impl::park
7: tokio_core::reactor::io_token::IoToken::schedule_write
8: <tokio_core::reactor::poll_evented::PollEvented<E>>::poll_write
9: <tokio_core::reactor::poll_evented::PollEvented<E> as std::io::Write>::write
10: <tokio_uds::UnixStream as std::io::Write>::write
11: <tokio_io::framed::Fuse<T, U> as std::io::Write>::write
12: <tokio_io::framed_write::FramedWrite2<T> as futures::sink::Sink>::poll_complete
13: <tokio_io::framed::Framed<T, U> as futures::sink::Sink>::poll_complete
14: sozu_command_futures::SozuCommandClient::send::{{closure}}
15: <core::result::Result<T, E>>::and_then
16: sozu_command_futures::SozuCommandClient::send
17: main::main
18: __rust_maybe_catch_panic
19: std::rt::lang_start
20: main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment