节点运行着,突然节点服务退出了,一排查:
$ ./bin/cita top test-new-energy-chain/1
root 2058 0 0 18:43 ? 00:00:00 cita-forever
root 2086 2058 0 18:43 ? 00:00:07 cita-auth -c auth.toml
root 2065 2058 0 18:43 ? 00:00:02 cita-bft -c consensus.toml -p privkey
root 2080 2058 0 18:43 ? 00:00:02 cita-executor -c executor.toml
root 2082 2058 0 18:43 ? 00:00:05 cita-jsonrpc -c jsonrpc.toml
root 2072 2058 0 18:43 ? 00:00:14 cita-network -c network.toml
没有了chain这个微服务
2020-11-04 - 23:16:36 | core::libchain::chai - 1356 | INFO - new chain status height 513853, hash cd4e2bee7efc080f27745a7f731decc8a4da97f6f5508b6b605d123d8d042f31
2020-11-04 - 23:16:39 | panic_hook - 59 | ERROR -
============================
stack backtrace:
0: 0x7fc72b0724ed - backtrace::backtrace::trace::h427274634b26cc90
1: 0x7fc72b0720d2 - <backtrace::capture::Backtrace as core::default::Default>::default::h094442244fd75184
2: 0x7fc72b0713e4 - panic_hook::panic_hook::h49ebbf6f4135f29c
3: 0x7fc72b071118 - core::ops::function::Fn::call::h4af4df279732d685
4: 0x7fc72b52f358 - rust_panic_with_hook
at src/libstd/panicking.rs:482
5: 0x7fc72af94b74 - std::panicking::begin_panic::h02f3cdf15ae90cdb
6: 0x7fc72af753b8 - core::libchain::chain::Chain::get_rich_receipt::hef8bd138b8162c43
7: 0x7fc72aef32b4 - cita_chain::forward::Forward::reply_request::hcaadbf09f3e93fe9
8: 0x7fc72aef08f4 - cita_chain::forward::Forward::dispatch_msg::hd3a7f57ea5cbdef4
9: 0x7fc72af069f4 - cita_chain::main::{{closure}}::h28fcd68681e80c23
10: 0x7fc72af0370d - std::sys_common::backtrace::__rust_begin_short_backtrace::h1c1878ddddb2e41f
11: 0x7fc72aed152d - std::panicking::try::do_call::h48bc8208049f9304
12: 0x7fc72b533889 - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:87
13: 0x7fc72af050ae - <F as alloc::boxed::FnBox<A>>::call_box::hb5ac7e1bd40f359a
14: 0x7fc72b532c8d - call_once<(),()>
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9/src/liballoc/boxed.rs:759
- start_thread
at src/libstd/sys_common/thread.rs:14
- thread_start
at src/libstd/sys/unix/thread.rs:81
15: 0x7fc72a2516da - start_thread
16: 0x7fc729d6288e - __clone
17: 0x0 - <unknown>
position:
Thread <unnamed> panicked at arithmetic operation overflow, /opt/.cargo/registry/src/github.com-1ecc6299db9ec823/ethereum-types-0.4.2/src/uint.rs:32
This is a bug. Please report it at:
https://github.com/cryptape/cita/issues/new?labels=bug&template=bug_report.md
============================