Skip to content

Instantly share code, notes, and snippets.

@quake
Last active August 12, 2019 14:49
Show Gist options
  • Save quake/af72064daae6c434dd160d651a30309b to your computer and use it in GitHub Desktop.
Save quake/af72064daae6c434dd160d651a30309b to your computer and use it in GitHub Desktop.
2019-08-12 14:38:12.928 +00:00 NetworkRuntime-0 ERROR panic  thread 'NetworkRuntime-0' panicked at 'please check if reach a deadlock': src/libcore/option.rs:1036stack backtrace:
   0: ckb_logger::setup_panic_logger::{{closure}}::h37ba76f9d9060c7e (0x55e53e65775f)
             at util/logger/src/lib.rs:277
   1: std::panicking::rust_panic_with_hook::h057ff03eb4c8000f (0x55e53e75fb09)
             at src/libstd/panicking.rs:478
   2: std::panicking::continue_panic_fmt::ha6d6ae144369025b (0x55e53e75f5a2)
             at src/libstd/panicking.rs:381
   3: rust_begin_unwind (0x55e53e75f486)
             at src/libstd/panicking.rs:308
   4: core::panicking::panic_fmt::hc4f83bfed80aeabd (0x55e53e77ce4d)
             at src/libcore/panicking.rs:85
   5: core::option::expect_failed::he602aa67d6d2d670 (0x55e53e77ceb7)
             at src/libcore/option.rs:1036
   6: core::option::Option<T>::expect::he51a551b557eaeec (0x55e53e1df271)
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/option.rs:314
      ckb_util::lock_or_panic::h297275ab07d63960
             at /home/ubuntu/checkouts/ckb/util/src/lib.rs:21
   7: ckb_tx_pool_executor::tx_pool_executor::TxPoolExecutor::verify_and_add_txs_to_pool::haa3bbc39e51b31d2 (0x55e53db6f157)
             at shared/tx-pool-executor/src/tx_pool_executor.rs:68
   8: ckb_tx_pool_executor::tx_pool_executor::TxPoolExecutor::verify_and_add_tx_to_pool::h3a7f89a543fc26be (0x55e53db6f035)
             at shared/tx-pool-executor/src/tx_pool_executor.rs:46
   9: ckb_sync::relayer::transactions_process::TransactionsProcess::execute::{{closure}}::h78b4783276a6e037 (0x55e53db39250)
             at sync/src/relayer/transactions_process.rs:94
      futures::future::lazy::Lazy<F,R>::get::h346ad8f392bbc63e
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/lazy.rs:64
      <futures::future::lazy::Lazy<F,R> as futures::future::Future>::poll::h225fb6f9e836e20b
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/lazy.rs:82
  10: <alloc::boxed::Box<F> as futures::future::Future>::poll::hff06ea035bcb99cd (0x55e53dc781e4)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:113
      <ckb_network::protocols::BlockingFutureTask as futures::future::Future>::poll::{{closure}}::hc3e958e8fc3539c1
             at network/src/protocols/mod.rs:387
      tokio_threadpool::blocking::blocking::hc676208fb1130b5d
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/blocking.rs:146
  11: <ckb_network::protocols::BlockingFutureTask as futures::future::Future>::poll::h66aeffc71563ce13 (0x55e53dc8e36d)
             at network/src/protocols/mod.rs:387
  12: <alloc::boxed::Box<F> as futures::future::Future>::poll::hc295b8e660e7d2af (0x55e53df0c657)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:113
      <futures::future::select2::Select2<A,B> as futures::future::Future>::poll::h291e9d707ab9d5bb
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/select2.rs:29
  13: futures::future::chain::Chain<A,B,C>::poll::h4bd1de6c4d0299f5 (0x55e53df16b78)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/chain.rs:26
  14: <futures::future::then::Then<A,B,F> as futures::future::Future>::poll::haeb66aff5a77bc17 (0x55e53df20c77)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/then.rs:32
      <futures::future::map::Map<A,F> as futures::future::Future>::poll::h5779ea28886b9677
  15: <futures::future::map_err::MapErr<A,F> as futures::future::Future>::poll::h46fe6e6cfab350c9 (0x55e53df245c3)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/map_err.rs:30
  16: <alloc::boxed::Box<F> as futures::future::Future>::poll::h3d7a7eae740deebd (0x55e53e189992)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:113
      futures::task_impl::Spawn<T>::poll_future_notify::{{closure}}::hf489bc862403bdeb
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/task_impl/mod.rs:329
      futures::task_impl::Spawn<T>::enter::{{closure}}::h7342657e28bab24d
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/task_impl/mod.rs:399
      futures::task_impl::std::set::he082ad1861e73a6d
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/task_impl/std/mod.rs:83
  17: futures::task_impl::Spawn<T>::enter::h668945a556bc46be (0x55e53e189352)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/task_impl/mod.rs:399
      futures::task_impl::Spawn<T>::poll_fn_notify::h7639c71c4939149b
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/task_impl/mod.rs:291
      futures::task_impl::Spawn<T>::poll_future_notify::hdb87d94c075474f9
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/task_impl/mod.rs:329
      tokio_threadpool::task::Task::run::{{closure}}::hf8790a66d7f3b415
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/task/mod.rs:145
      core::ops::function::FnOnce::call_once::hf63385aa1f9221ad
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
      <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbc6ba8f7de303926
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
      std::panicking::try::do_call::hb7393335cd4e16fc
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
  18: __rust_maybe_catch_panic (0x55e53e76891a)
             at src/libpanic_unwind/lib.rs:85
  19: std::panicking::try::h75aca95e9c921aac (0x55e53e186999)
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
      std::panic::catch_unwind::h0024d6c20ea7d2d3
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
      tokio_threadpool::task::Task::run::h57bc095eb14014a1
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/task/mod.rs:130
  20: tokio_threadpool::worker::Worker::run_task2::h0d36a7d505b068c7 (0x55e53e1803b5)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:567
      tokio_threadpool::worker::Worker::run_task::h517d50dd9f313516
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:459
  21: tokio_threadpool::worker::Worker::try_run_owned_task::h195e90f9b78e2917 (0x55e53e17f89e)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:390
      tokio_threadpool::worker::Worker::try_run_task::h8d68ee71fc1ff21f
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:297
      tokio_threadpool::worker::Worker::run::hdba8afe9537e6a84
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:241
  22: tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h75dc3cc0efa034c0 (0x55e53e164747)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.18/src/runtime/threadpool/builder.rs:349
      tokio_trace_core::dispatcher::with_default::hee13da82ed8b5763
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-trace-core-0.1.0/src/dispatcher.rs:54
  23: tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h4e95426dd3adf68f (0x55e53e165db6)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.18/src/runtime/threadpool/builder.rs:348
      tokio_timer::timer::handle::with_default::{{closure}}::h2909261434bd6f09
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/timer/handle.rs:94
      std::thread::local::LocalKey<T>::try_with::h32bff9c13c6a1979
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:299
      std::thread::local::LocalKey<T>::with::h036c68364b03fcf3
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:245
  24: tokio_timer::timer::handle::with_default::h5308f2177c451a34 (0x55e53e16649e)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/timer/handle.rs:81
      tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}}::{{closure}}::h8c07f594ebfe61f0
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.18/src/runtime/threadpool/builder.rs:347
      tokio_timer::clock::clock::with_default::{{closure}}::h387da8bd65c18195
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/clock/clock.rs:141
      std::thread::local::LocalKey<T>::try_with::h57919fa0a6d35e93
  25: tokio_timer::clock::clock::with_default::h794ef83f6bea81c4 (0x55e53e166744)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/clock/clock.rs:124
      tokio::runtime::threadpool::builder::Builder::build::{{closure}}::{{closure}}::h040510d377754484
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.18/src/runtime/threadpool/builder.rs:346
      tokio_reactor::with_default::{{closure}}::h832b711986951c03
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.9/src/lib.rs:237
      std::thread::local::LocalKey<T>::try_with::he2a20b449461be86
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:299
      std::thread::local::LocalKey<T>::with::hcf0a4d033e4a6e46
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:245
  26: tokio_reactor::with_default::h26756f8cadc01fb0 (0x55e53e1687a7)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.9/src/lib.rs:217
      tokio::runtime::threadpool::builder::Builder::build::{{closure}}::h268905bf518223ad
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.18/src/runtime/threadpool/builder.rs:345
  27: tokio_threadpool::callback::Callback::call::h335d5ec9a9894fe5 (0x55e53e18a143)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/callback.rs:22
      tokio_threadpool::worker::Worker::do_run::{{closure}}::{{closure}}::hb818c6b9168e821d
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:127
      tokio_executor::global::with_default::{{closure}}::h021067d655cb7aa5
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.7/src/global.rs:209
      std::thread::local::LocalKey<T>::try_with::h6a36f2ad12061cf2
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:299
      std::thread::local::LocalKey<T>::with::h3a8c080bb9f5266c
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:245
  28: tokio_executor::global::with_default::ha33edb09a188a5ad (0x55e53e18a27e)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.7/src/global.rs:178
      tokio_threadpool::worker::Worker::do_run::{{closure}}::he1018ecd504ec6a2
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:125
      std::thread::local::LocalKey<T>::try_with::he265e6ea94c9052d
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:299
      std::thread::local::LocalKey<T>::with::h58a3a23df406214a
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/local.rs:245
  29: tokio_threadpool::worker::Worker::do_run::h3cfd198ed5101fda (0x55e53e181e81)
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/worker/mod.rs:116
      tokio_threadpool::pool::Pool::spawn_thread::{{closure}}::h23a154ba2ddf2ab1
             at /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/pool/mod.rs:344
      std::sys_common::backtrace::__rust_begin_short_backtrace::hb61860c3b787046f
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
  30: std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3c7eaa0528b80247 (0x55e53e1892ac)
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
      <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha1205e8d5fe39438
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
      std::panicking::try::do_call::h52d90e36bdc273c2
  31: __rust_maybe_catch_panic (0x55e53e76891a)
             at src/libpanic_unwind/lib.rs:85
  32: std::panicking::try::h33e1100fc7e9c96e (0x55e53e182ab0)
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
      std::panic::catch_unwind::h97d2ac0870a13712
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
      std::thread::Builder::spawn_unchecked::{{closure}}::haf8cd3f4a6f1f63d
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
      core::ops::function::FnOnce::call_once{{vtable.shim}}::h8173a17de1ed94d3
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
  33: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05 (0x55e53e74ddaf)
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
  34: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h9ebda9db5f03daf3 (0x55e53e767c30)
             at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
      std::sys_common::thread::start_thread::ha32838ccbb8a8179
             at src/libstd/sys_common/thread.rs:13
      std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
             at src/libstd/sys/unix/thread.rs:79
  35: start_thread (0x7f5c21b0e6db)
  36: __clone (0x7f5c210df88f)
  37: <unknown> (0x0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment