radicle-dev / radicle-bins

Collection of radicle binaries.
Other
21 stars 9 forks source link

Seed crashes on requst timeout #111

Open geigerzaehler opened 3 years ago

geigerzaehler commented 3 years ago

Sprout was caught in a restart loop because of the following crash.

thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: RequestTimeout(Elapsed(()))', /home/seed/radicle-bins/seed/src/frontend.rs:243:48
stack backtrace:
   0:     0x5605d4f157a0 - std::backtrace_rs::backtrace::libunwind::trace::hdcf4f90f85129e83
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:     0x5605d4f157a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h2669e30cb82f6732
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x5605d4f157a0 - std::sys_common::backtrace::_print_fmt::hfbda19e17f6db318
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x5605d4f157a0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1a8751bf59281272
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/sys_common/backtrace.rs:46:22
   4:     0x5605d4f3ad4f - core::fmt::write::h7aa6cd0067dca82a
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/core/src/fmt/mod.rs:1094:17
   5:     0x5605d4f0e715 - std::io::Write::write_fmt::hd7dd3a1df9b6befb
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/io/mod.rs:1584:15
   6:     0x5605d4f179cb - std::sys_common::backtrace::_print::h551e9ec8a9fa8106
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x5605d4f179cb - std::sys_common::backtrace::print::ha4b1c5e95fa040b3
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x5605d4f179cb - std::panicking::default_hook::{{closure}}::h0b34c9ab7fb9f857
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/panicking.rs:208:50
   9:     0x5605d4f174ad - std::panicking::default_hook::h3067e8318decd17a
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/panicking.rs:225:9
  10:     0x5605d4f17f7d - std::panicking::rust_panic_with_hook::h81b8facc50f34daa
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/panicking.rs:591:17
  11:     0x5605d4f17b77 - std::panicking::begin_panic_handler::{{closure}}::ha376ab85d95a000e
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/panicking.rs:497:13
  12:     0x5605d4f15c5c - std::sys_common::backtrace::__rust_end_short_backtrace::h6795c8afdd1a77e6
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/sys_common/backtrace.rs:141:18
  13:     0x5605d4f17ad9 - rust_begin_unwind
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/panicking.rs:493:5
  14:     0x5605d47a20b1 - core::panicking::panic_fmt::hbe99dddd3092ba3c
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/core/src/panicking.rs:92:14
  15:     0x5605d47a21a3 - core::result::unwrap_failed::hf79563fef9d11ab8
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/core/src/result.rs:1355:5
  16:     0x5605d4843e09 - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::h3eda668c61482295
  17:     0x5605d4a21232 - tokio::runtime::task::harness::poll_future::h94718ee3933ca58a
  18:     0x5605d4a288fe - tokio::runtime::task::harness::Harness<T,S>::poll::hf55da457f9afdae9
  19:     0x5605d4ebe053 - std::thread::local::LocalKey<T>::with::hdfdd87e25ea3a101
  20:     0x5605d4edf242 - tokio::runtime::thread_pool::worker::Context::run_task::hed6d5b0daac70138
  21:     0x5605d4ede53a - tokio::runtime::thread_pool::worker::Context::run::h5bde28f6ec3e9d33
  22:     0x5605d4ed10f3 - tokio::macros::scoped_tls::ScopedKey<T>::set::h56d2cb8d32f4cb7f
  23:     0x5605d4ede302 - tokio::runtime::thread_pool::worker::run::h55d08f3a18304b4b
  24:     0x5605d4ed1ace - tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut::hac55497e221c55d4
  25:     0x5605d4ec3d9f - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7c97c7568530fc27
  26:     0x5605d4ed27ae - tokio::runtime::task::harness::Harness<T,S>::poll::hee78c809b57005d6
  27:     0x5605d4ec2b3a - tokio::runtime::blocking::pool::Inner::run::h036205bc08f6cf15
  28:     0x5605d4ecc78b - std::sys_common::backtrace::__rust_begin_short_backtrace::h048a305da2a6128a
  29:     0x5605d4eeab88 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h91695a3e7a4f5c78
  30:     0x5605d4f1d887 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3aa31cb6360b59d9
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/alloc/src/boxed.rs:1575:9
  31:     0x5605d4f1d887 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7719d3c7c5841461
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/alloc/src/boxed.rs:1575:9
  32:     0x5605d4f1d887 - std::sys::unix::thread::Thread::new::thread_start::hfbe13ead469fd0bc
                               at /rustc/881c1ac408d93bb7adaa3a51dabab9266e82eee8/library/std/src/sys/unix/thread.rs:71:17
  33:     0x7fa4b7511fa3 - start_thread
  34:     0x7fa4b72ba4cf - clone
  35:                0x0 - <unknown>

It crashed multiple times immediately after starting and the crash doesn’t seem to be related to any of the logs printed before.