Closed quentinlesceller closed 6 years ago
I just had the same panic appear when I shut down my server.
Sep 25 11:20:12.366 WARN Shutting down...
Sep 25 11:20:13Thread 'tokio-runtime-worker-0' panicked with message:
"called `Option::unwrap()` on a `None` value"
See grin.log for further details.
.160 ERRO
thread 'tokio-runtime-worker-0' panicked at 'called `Option::unwrap()` on a `None` value': libcore/option.rs:345stack backtrace:
0: 0x55aa183149ac - backtrace::backtrace::trace::haeeda11cb0a18d0d
1: 0x55aa18313962 - <backtrace::capture::Backtrace as core::default::Default>::default::h58375e4d637b5237
2: 0x55aa183139d8 - backtrace::capture::Backtrace::new::h77ff1d6eb80d3fec
3: 0x55aa182ac35e - grin_util::logger::send_panic_to_log::{{closure}}::hcd15255485b34255
4: 0x55aa18420d73 - std::panicking::rust_panic_with_hook::he4c3a67f6258a8f9
at libstd/panicking.rs:515
5: 0x55aa18420ac9 - std::panicking::continue_panic_fmt::h156c04b2aea348c7
at libstd/panicking.rs:426
6: 0x55aa184207e5 - rust_begin_unwind
at libstd/panicking.rs:337
7: 0x55aa1847e47b - core::panicking::panic_fmt::h0e6d5c6fb2a34dd6
at libcore/panicking.rs:92
8: 0x55aa1847e3aa - core::panicking::panic::hfbb77505dc622acd
at libcore/panicking.rs:53
9: 0x55aa17fe3ca4 - <grin_api::handlers::ChainHandler as grin_api::router::Handler>::get::ha99ca26f5fe96b48
10: 0x55aa17febeb6 - grin_api::router::Handler::call::hf25e11fb784e6269
11: 0x55aa17fcff5f - <grin_api::router::Router as hyper::service::service::Service>::call::hcda1d63bbe782a66
12: 0x55aa18067fee - <hyper::proto::h1::dispatch::Server<S> as hyper::proto::h1::dispatch::Dispatch>::recv_msg::hc2fe53af10bad10d
13: 0x55aa18074cef - <hyper::proto::h1::dispatch::Dispatcher<D, Bs, I, T>>::poll_catch::h61daee56b279c4fe
14: 0x55aa1800b1ad - <hyper::server::conn::upgrades::UpgradeableConnection<I, S> as futures::future::Future>::poll::h60f5f6c96f4038f3
15: 0x55aa18006896 - <futures::future::chain::Chain<A, B, C>>::poll::he7ac1a576648471a
16: 0x55aa1803b556 - <futures::future::map_err::MapErr<A, F> as futures::future::Future>::poll::h972af48156569067
17: 0x55aa180f158f - futures::task_impl::std::set::h63d16f3f6df5a415
18: 0x55aa180f4571 - std::panicking::try::do_call::hb0ff339299363ec3
19: 0x55aa18445fe9 - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:105
20: 0x55aa180f3449 - tokio_threadpool::task::Task::run::h770f09d0fe198e92
21: 0x55aa180ec605 - tokio_threadpool::worker::Worker::run_task::h314d09d10fee9da2
22: 0x55aa180eb6ff - tokio_threadpool::worker::Worker::run::h0d7c48065b66b9fd
23: 0x55aa180d53a1 - <std::thread::local::LocalKey<T>>::with::ha6bdab80b5c2cb07
24: 0x55aa180d56d2 - <std::thread::local::LocalKey<T>>::with::he5f1a296d1bde3e0
25: 0x55aa180d5588 - <std::thread::local::LocalKey<T>>::with::hd6e09257b99390e6
26: 0x55aa180d8407 - tokio::runtime::builder::Builder::build::{{closure}}::h163f0ca09afe1868
27: 0x55aa180f29ec - <std::thread::local::LocalKey<T>>::with::hd51a9856f8cd35fc
28: 0x55aa180f22aa - <std::thread::local::LocalKey<T>>::with::h1e35416c090dec5d
29: 0x55aa180f4e11 - std::sys_common::backtrace::__rust_begin_short_backtrace::he0e763f8840d02f2
30: 0x55aa180f45bb - std::panicking::try::do_call::hd0bd292f12a4762e
31: 0x55aa18445fe9 - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:105
32: 0x55aa180ef81c - <F as alloc::boxed::FnBox<A>>::call_box::hd5fd027924ad99de
33: 0x55aa1841e15a - <alloc::boxed::Box<alloc::boxed::FnBox<A, Output=R> + 'a> as core::ops::function::FnOnce<A>>::call_once::h75e539106a648d39
at /checkout/src/liballoc/boxed.rs:650
- std::sys_common::thread::start_thread::h88a639c99862a9f5
at libstd/sys_common/thread.rs:24
34: 0x55aa184218e5 - std::sys::unix::thread::Thread::new::thread_start::h7d7a420a78cfa84d
at libstd/sys/unix/thread.rs:90
35: 0x7fadc9c906d9 - start_thread
36: 0x7fadc97b3d7e - __clone
37: 0x0 - <unknown>
Sep 25 11:20:13.366 WARN Shutdown complete.