In a run of auxin 0.1.8 for an 8 hour period the following panic was dumped to log output. The culprit seems to be that the Tokio keepalive loop is expecting only 1 type of error. And if it experiences a different type, the unwrap causes auxin to panic. A more general set of error types should be handled or we should set a catchall error type as the terminal error type for unexpected errors.
Lookup address information: Temporary failure in name resolution\\\" }\")")', auxin_cli/src/main.rs:350:30 2022-01-20T15:19:33.088 app[bee28430] iad [info]stack backtrace: 2022-01-20T15:19:33.107 app[bee28430] iad [info] 0: 0x55a84843507c - std::backtrace_rs::backtrace::libunwind::trace::hb94371ae5f36cf60 2022-01-20T15:19:33.108 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 2022-01-20T15:19:33.108 app[bee28430] iad [info] 1: 0x55a84843507c - std::backtrace_rs::backtrace::trace_unsynchronized::hf2fab28b020fc4f0 2022-01-20T15:19:33.109 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2022-01-20T15:19:33.109 app[bee28430] iad [info] 2: 0x55a84843507c - std::sys_common::backtrace::_print_fmt::hc03e7351fc1eba0e 2022-01-20T15:19:33.110 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:67:5 2022-01-20T15:19:33.111 app[bee28430] iad [info] 3: 0x55a84843507c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8ac055b69ddcc00b 2022-01-20T15:19:33.111 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:46:22 2022-01-20T15:19:33.113 app[bee28430] iad [info] 4: 0x55a8484584ac - core::fmt::write::h72801a82c94e6ff1 2022-01-20T15:19:33.114 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/core/src/fmt/mod.rs:1149:17 2022-01-20T15:19:33.115 app[bee28430] iad [info] 5: 0x55a84842e4e5 - std::io::Write::write_fmt::h06fe7d6a5c3c6fd6 2022-01-20T15:19:33.115 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/io/mod.rs:1697:15 2022-01-20T15:19:33.116 app[bee28430] iad [info] 6: 0x55a848436a30 - std::sys_common::backtrace::_print::hff27315094b787f3 2022-01-20T15:19:33.116 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:49:5 2022-01-20T15:19:33.117 app[bee28430] iad [info] 7: 0x55a848436a30 - std::sys_common::backtrace::print::ha155a30d8ce78665 2022-01-20T15:19:33.117 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:36:9 2022-01-20T15:19:33.118 app[bee28430] iad [info] 8: 0x55a848436a30 - std::panicking::default_hook::{{closure}}::h735ca8269f3d457c 2022-01-20T15:19:33.118 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:211:50 2022-01-20T15:19:33.119 app[bee28430] iad [info] 9: 0x55a8484365db - std::panicking::default_hook::h382660fc392a8939 2022-01-20T15:19:33.119 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:228:9 2022-01-20T15:19:33.120 app[bee28430] iad [info] 10: 0x55a8484370e4 - std::panicking::rust_panic_with_hook::h7c0aca83ffce0d31 2022-01-20T15:19:33.120 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:606:17 2022-01-20T15:19:33.120 app[bee28430] iad [info] 11: 0x55a848436bc0 - std::panicking::begin_panic_handler::{{closure}}::h2d9f3917e56e3c37 2022-01-20T15:19:33.120 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:502:13 2022-01-20T15:19:33.121 app[bee28430] iad [info] 12: 0x55a848435534 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2740127084ae930 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:139:18 2022-01-20T15:19:33.121 app[bee28430] iad [info] 13: 0x55a848436b29 - rust_begin_unwind 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:498:5 2022-01-20T15:19:33.121 app[bee28430] iad [info] 14: 0x55a847d7e5d1 - core::panicking::panic_fmt::h7b8580d81fcbbacd 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/core/src/panicking.rs:107:14 2022-01-20T15:19:33.121 app[bee28430] iad [info] 15: 0x55a847d7e6c3 - core::result::unwrap_failed::h885d3f7beb571353 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/core/src/result.rs:1613:5 2022-01-20T15:19:33.122 app[bee28430] iad [info] 16: 0x55a847f57d8e - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h0c614539bbd958a9 2022-01-20T15:19:33.123 app[bee28430] iad [info] 17: 0x55a847e05f6e - std::panicking::try::hdfea02b092109907 2022-01-20T15:19:33.123 app[bee28430] iad [info] 18: 0x55a847f51305 - tokio::runtime::task::harness::Harness<T,S>::poll::hf9b8181e55fce798 2022-01-20T15:19:33.124 app[bee28430] iad [info] 19: 0x55a8480d5cb6 - tokio::runtime::blocking::pool::Inner::run::hdf88b2a59fc7164b 2022-01-20T15:19:33.125 app[bee28430] iad [info] 20: 0x55a8480da51e - std::sys_common::backtrace::__rust_begin_short_backtrace::h3ab28cf0af3eb22a 2022-01-20T15:19:33.126 app[bee28430] iad [info] 21: 0x55a8480f8518 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc361ff458f5ad882 2022-01-20T15:19:33.126 app[bee28430] iad [info] 55a84843aa23 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7e635c32f26a8aad 2022-01-20T15:19:33.126 app[bee28430] iad [info] 23: 0x55a84843aa23 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h831eb4ef439f3 2022-01-20T15:19:33.126 app[bee28430] iad [info] 23: 0x55a84843aa23 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h831eb4ef439f3 3d 2022-01-20T15:19:33.126 app[bee28430] iad [info] 24: 0x55a84843aa23 - std::sys::stc/207c80f105282245d93024c95ac408c622f70114/library/alloc/src/boxed.rs:1694:9 2022-01-20T15:19:33.126 app[bee28430] iad [info] 24: 0x55a84843aa23 - std::sys::unix::thread::Thread::new::thread_start::hf8ddbd80a62037f9 2022-01-20T15:19:33.126 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys/unix/thread.rs:108:17 2022-01-20T15:19:33.127 app[bee28430] iad [info] 25: 0x7fdb80cfb450 - start_thread 2022-01-20T15:19:33.127 app[bee28430] iad [info] 26: 0x7fdb80ac6d53 - clone 2022-01-20T15:19:33.127 app[bee28430] iad [info] 27: 0x0 - <unknown> 2022-01-20T15:19:33.130 app[bee28430] iad [info][2022-01-20T15:19:33Z ERROR auxin_cli] Message-receiver channel closed unexpectedly. Closing application. )
https://github.com/mobilecoinofficial/auxin/blob/4a269b63ddf72f7df1cabcf22e9b1501305c15ce/auxin_cli/src/main.rs#L346-L350
In a run of auxin 0.1.8 for an 8 hour period the following panic was dumped to log output. The culprit seems to be that the Tokio keepalive loop is expecting only 1 type of error. And if it experiences a different type, the unwrap causes auxin to panic. A more general set of error types should be handled or we should set a catchall error type as the terminal error type for unexpected errors.
Lookup address information: Temporary failure in name resolution\\\" }\")")', auxin_cli/src/main.rs:350:30 2022-01-20T15:19:33.088 app[bee28430] iad [info]stack backtrace: 2022-01-20T15:19:33.107 app[bee28430] iad [info] 0: 0x55a84843507c - std::backtrace_rs::backtrace::libunwind::trace::hb94371ae5f36cf60 2022-01-20T15:19:33.108 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 2022-01-20T15:19:33.108 app[bee28430] iad [info] 1: 0x55a84843507c - std::backtrace_rs::backtrace::trace_unsynchronized::hf2fab28b020fc4f0 2022-01-20T15:19:33.109 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2022-01-20T15:19:33.109 app[bee28430] iad [info] 2: 0x55a84843507c - std::sys_common::backtrace::_print_fmt::hc03e7351fc1eba0e 2022-01-20T15:19:33.110 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:67:5 2022-01-20T15:19:33.111 app[bee28430] iad [info] 3: 0x55a84843507c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8ac055b69ddcc00b 2022-01-20T15:19:33.111 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:46:22 2022-01-20T15:19:33.113 app[bee28430] iad [info] 4: 0x55a8484584ac - core::fmt::write::h72801a82c94e6ff1 2022-01-20T15:19:33.114 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/core/src/fmt/mod.rs:1149:17 2022-01-20T15:19:33.115 app[bee28430] iad [info] 5: 0x55a84842e4e5 - std::io::Write::write_fmt::h06fe7d6a5c3c6fd6 2022-01-20T15:19:33.115 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/io/mod.rs:1697:15 2022-01-20T15:19:33.116 app[bee28430] iad [info] 6: 0x55a848436a30 - std::sys_common::backtrace::_print::hff27315094b787f3 2022-01-20T15:19:33.116 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:49:5 2022-01-20T15:19:33.117 app[bee28430] iad [info] 7: 0x55a848436a30 - std::sys_common::backtrace::print::ha155a30d8ce78665 2022-01-20T15:19:33.117 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:36:9 2022-01-20T15:19:33.118 app[bee28430] iad [info] 8: 0x55a848436a30 - std::panicking::default_hook::{{closure}}::h735ca8269f3d457c 2022-01-20T15:19:33.118 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:211:50 2022-01-20T15:19:33.119 app[bee28430] iad [info] 9: 0x55a8484365db - std::panicking::default_hook::h382660fc392a8939 2022-01-20T15:19:33.119 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:228:9 2022-01-20T15:19:33.120 app[bee28430] iad [info] 10: 0x55a8484370e4 - std::panicking::rust_panic_with_hook::h7c0aca83ffce0d31 2022-01-20T15:19:33.120 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:606:17 2022-01-20T15:19:33.120 app[bee28430] iad [info] 11: 0x55a848436bc0 - std::panicking::begin_panic_handler::{{closure}}::h2d9f3917e56e3c37 2022-01-20T15:19:33.120 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:502:13 2022-01-20T15:19:33.121 app[bee28430] iad [info] 12: 0x55a848435534 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2740127084ae930 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys_common/backtrace.rs:139:18 2022-01-20T15:19:33.121 app[bee28430] iad [info] 13: 0x55a848436b29 - rust_begin_unwind 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/panicking.rs:498:5 2022-01-20T15:19:33.121 app[bee28430] iad [info] 14: 0x55a847d7e5d1 - core::panicking::panic_fmt::h7b8580d81fcbbacd 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/core/src/panicking.rs:107:14 2022-01-20T15:19:33.121 app[bee28430] iad [info] 15: 0x55a847d7e6c3 - core::result::unwrap_failed::h885d3f7beb571353 2022-01-20T15:19:33.121 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/core/src/result.rs:1613:5 2022-01-20T15:19:33.122 app[bee28430] iad [info] 16: 0x55a847f57d8e - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h0c614539bbd958a9 2022-01-20T15:19:33.123 app[bee28430] iad [info] 17: 0x55a847e05f6e - std::panicking::try::hdfea02b092109907 2022-01-20T15:19:33.123 app[bee28430] iad [info] 18: 0x55a847f51305 - tokio::runtime::task::harness::Harness<T,S>::poll::hf9b8181e55fce798 2022-01-20T15:19:33.124 app[bee28430] iad [info] 19: 0x55a8480d5cb6 - tokio::runtime::blocking::pool::Inner::run::hdf88b2a59fc7164b 2022-01-20T15:19:33.125 app[bee28430] iad [info] 20: 0x55a8480da51e - std::sys_common::backtrace::__rust_begin_short_backtrace::h3ab28cf0af3eb22a 2022-01-20T15:19:33.126 app[bee28430] iad [info] 21: 0x55a8480f8518 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc361ff458f5ad882 2022-01-20T15:19:33.126 app[bee28430] iad [info] 55a84843aa23 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7e635c32f26a8aad 2022-01-20T15:19:33.126 app[bee28430] iad [info] 23: 0x55a84843aa23 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h831eb4ef439f3 2022-01-20T15:19:33.126 app[bee28430] iad [info] 23: 0x55a84843aa23 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h831eb4ef439f3 3d 2022-01-20T15:19:33.126 app[bee28430] iad [info] 24: 0x55a84843aa23 - std::sys::stc/207c80f105282245d93024c95ac408c622f70114/library/alloc/src/boxed.rs:1694:9 2022-01-20T15:19:33.126 app[bee28430] iad [info] 24: 0x55a84843aa23 - std::sys::unix::thread::Thread::new::thread_start::hf8ddbd80a62037f9 2022-01-20T15:19:33.126 app[bee28430] iad [info] at /rustc/207c80f105282245d93024c95ac408c622f70114/library/std/src/sys/unix/thread.rs:108:17 2022-01-20T15:19:33.127 app[bee28430] iad [info] 25: 0x7fdb80cfb450 - start_thread 2022-01-20T15:19:33.127 app[bee28430] iad [info] 26: 0x7fdb80ac6d53 - clone 2022-01-20T15:19:33.127 app[bee28430] iad [info] 27: 0x0 - <unknown> 2022-01-20T15:19:33.130 app[bee28430] iad [info][2022-01-20T15:19:33Z ERROR auxin_cli] Message-receiver channel closed unexpectedly. Closing application. )