Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: Send should not fail: SendError(..) #18

Open
TheSlackOne opened this issue Oct 13, 2021 · 0 comments
Open

Crash: Send should not fail: SendError(..) #18

TheSlackOne opened this issue Oct 13, 2021 · 0 comments

Comments

@TheSlackOne
Copy link

TheSlackOne commented Oct 13, 2021

After syncing for a while I get the following crash:

$ cargo run --release --bin bitcoin-indexer
....
Block 148000H: 15fab4fea3bc1ce8e2b3bde4196c5b93a7005ab6de92a07347231df11693c975
Block 149000H: 63764d310fa13832501d5b0f1bd330b848d39775d70863528b42322f44f84348
Block 150000H: a3713b98f2d05246f2c1f022fc68e1f41eca08145be6ec3a64b74a671b54e5bd
Block 151000H: 0cb9ffcce95652e5751cdd4b62bfde13a2032792cdf89d7bcbcd9a797a61ac5f
thread 'main' panicked at 'Send should not fail: "SendError(..)"', src/db/pg.rs:1338:14
thread 'main' panicked at 'Couldn't join on thread: Any { .. }', src/db/pg.rs:1109:18
stack backtrace:
0: 0x559869c919a0 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
1: 0x559869c919a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x559869c919a0 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5
3: 0x559869c919a0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he1640d5f0d93f618
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22
4: 0x559869cb353c - core::fmt::write::h88012e1f01caeebf
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17
5: 0x559869c8cff5 - std::io::Write::write_fmt::h360fa85b30182555
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15
6: 0x559869c93a5b - std::sys_common::backtrace::_print::ha1f00492f406a015
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5
7: 0x559869c93a5b - std::sys_common::backtrace::print::hd54561b13feb6af3
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9
8: 0x559869c93a5b - std::panicking::default_hook::{{closure}}::h84fe124cd0864662
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50
9: 0x559869c93531 - std::panicking::default_hook::h5a8e74a76ce290a7
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:225:9
10: 0x559869c94124 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17
11: 0x559869c93c07 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13
12: 0x559869c91e9c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18
13: 0x559869c93b69 - rust_begin_unwind
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5
14: 0x559869a1e241 - core::panicking::panic_fmt::h12a3a3c256485fca
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14
15: 0x559869a1e333 - core::result::unwrap_failed::h2d8d0952e3250de9
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5
16: 0x559869ad5d68 - <bitcoin_indexer::db::pg::AsyncBlockInsertWorker as core::ops::drop::Drop>::drop::h728e549bf3a75c3a
17: 0x559869ad0b1c - core::ptr::drop_in_place<core::option::Option<bitcoin_indexer::db::pg::AsyncBlockInsertWorker>>::h057563b2348cd0db
18: 0x559869ad728b - bitcoin_indexer::db::pg::IndexerStore::stop_workers::h59577b2b32e0e5d4
19: 0x559869a2ad5e - core::ptr::drop_in_place<bitcoin_indexer::db::pg::IndexerStore>::h7e6791489810616f
20: 0x559869a2a4b3 - core::ptr::drop_in_place<bitcoin_indexer::Indexer>::h480fc1fcd6d63aed
21: 0x559869a2d823 - bitcoin_indexer::main::h2e9aa7182fd27883
22: 0x559869a4ca33 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha533a456d10dd549
23: 0x559869a4cae9 - std::rt::lang_start::{{closure}}::h970b6bd182e7c5ce
24: 0x559869c9472a - core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once::ha9408abe89f69dc4
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:259:13
25: 0x559869c9472a - std::panicking::try::do_call::h5b0cc9e9102acb65
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40
26: 0x559869c9472a - std::panicking::try::hddc7f8229138b3ba
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19
27: 0x559869c9472a - std::panic::catch_unwind::hfa401ff8bab2986e
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14
28: 0x559869c9472a - std::rt::lang_start_internal::{{closure}}::h8163422320d11405
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:48
29: 0x559869c9472a - std::panicking::try::do_call::hc742cc7bb4f0fb20
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40
30: 0x559869c9472a - std::panicking::try::ha37d8d2dd1acf7d3
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19
31: 0x559869c9472a - std::panic::catch_unwind::h8a5381d5ecf437bc
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14
32: 0x559869c9472a - std::rt::lang_start_internal::h7e2cee8c90d4a4d3
at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:20
33: 0x559869a2d852 - main
34: 0x7f3fa84e113a - __libc_start_main
35: 0x559869a1ea1a - _start
36: 0x0 -
thread panicked while panicking. aborting.
Illegal instruction

$ cargo --version
cargo 1.55.0 (32da73ab1 2021-08-23)

$ rustc -V
rustc 1.55.0 (c8dfcfe04 2021-09-06)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant