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

unknow error #64

Closed
xiaobaiskill opened this issue Oct 9, 2023 · 2 comments
Closed

unknow error #64

xiaobaiskill opened this issue Oct 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@xiaobaiskill
Copy link

  • linux system version
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy
  • error
Version: 3.1.0-9729e52-x86_64-linux-gnu

   0: sp_panic_handler::set::{{closure}}
   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/alloc/src/boxed.rs:1999:9
      std::panicking::rust_panic_with_hook
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/panicking.rs:695:13
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/panicking.rs:582:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/sys_common/backtrace.rs:151:18
   4: rust_begin_unwind
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/panicking.rs:578:5
   5: core::panicking::panic_fmt
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/core/src/panicking.rs:67:14
   6: core::panicking::panic_bounds_check
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/core/src/panicking.rs:162:5
   7: p3d::algo_grid::get_contour
   8: p3d::p3d_process_n
   9: poscan_algo::get_obj_hashes_n
  10: poscan_algo::get_obj_hashes
  11: <poscan_grid2d::PoscanAlgorithm<C> as sc_consensus_poscan::PowAlgorithm<B>>::verify
  12: <sc_consensus_poscan::PowBlockImport<B,I,C,S,Algorithm,CAW,CIDP> as sc_consensus::block_import::BlockImport<B>>::import_block::{{closure}}
  13: <alloc::boxed::Box<dyn sc_consensus::block_import::BlockImport<B>+Error = sp_consensus::error::Error+Transaction = Transaction+core::marker::Sync+core::marker::Send> as sc_consensus::block_import::BlockImport<B>>::import_block::{{closure}}
  14: <&mut F as core::future::future::Future>::poll
  15: sc_consensus::import_queue::basic_queue::BlockImportWorker<B>::new::{{closure}}
  16: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
  17: <sc_service::task_manager::prometheus_future::PrometheusFuture<T> as core::future::future::Future>::poll
  18: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
  19: <tracing_futures::Instrumented<T> as core::future::future::Future>::poll
  20: tokio::park::thread::CachedParkThread::block_on
  21: tokio::runtime::handle::Handle::block_on
  22: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
  23: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  24: tokio::runtime::task::harness::Harness<T,S>::poll
  25: tokio::runtime::blocking::pool::Inner::run
  26: std::sys_common::backtrace::__rust_begin_short_backtrace
  27: core::ops::function::FnOnce::call_once{{vtable.shim}}
  28: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/alloc/src/boxed.rs:1985:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/alloc/src/boxed.rs:1985:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/sys/unix/thread.rs:108:17
  29: <unknown>
  30: <unknown>


Thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/runner/.cargo/git/checkouts/p3d-675c372166b26a37/cfd70b0/src/algo_grid.rs:533

This is a bug. Please report it at:

	https://github.com/3Dpass/3DP/issues

fix it please

@xiaobaiskill
Copy link
Author

root@ankr01:~/jinmz# ./poscan-consensus --base-path ~/3dp-chain/ --chain mainnetSpecRaw.json --name MyNodeName --validator --telemetry-url "wss://submit.telemetry.3dpscan.io/submit 0" --author <my public key> --threads 2 --no-mdns
2023-10-10 07:12:45 〽️ Prometheus exporter started at 127.0.0.1:9615
2023-10-10 07:12:47 🔍 Discovered new external address for our node: /ip4/101.224.149.60/tcp/30333/p2p/12D3KooWBAj21DXtCWnUhiuQmKASxEuMcT3Fecgsab19hg4yp7mG
2023-10-10 07:12:50 ⚙️  Syncing, target=#568841 (6 peers), best: #56149 (0x4847…3295), finalized #56148 (0xf3b1…803b), ⬇ 1.5MiB/s ⬆ 2.8kiB/s
2023-10-10 07:12:55 ⚙️  Syncing  0.0 bps, target=#568841 (21 peers), best: #56149 (0x4847…3295), finalized #56148 (0xf3b1…803b), ⬇ 6.8MiB/s ⬆ 13.0kiB/s
2023-10-10 07:13:00 ⚙️  Syncing  0.0 bps, target=#568841 (25 peers), best: #56149 (0x4847…3295), finalized #56148 (0xf3b1…803b), ⬇ 1.6MiB/s ⬆ 4.8kiB/s
2023-10-10 07:13:05 ⚙️  Syncing  0.0 bps, target=#568841 (30 peers), best: #56149 (0x4847…3295), finalized #56148 (0xf3b1…803b), ⬇ 283.6kiB/s ⬆ 7.3kiB/s
2023-10-10 07:13:05 ❌ Error while dialing /dns/submit.telemetry.3dpscan.io/tcp/443/x-parity-wss/%2Fsubmit: Custom { kind: Other, error: Timeout }
2023-10-10 07:13:10 ⚙️  Syncing  0.0 bps, target=#568841 (40 peers), best: #56149 (0x4847…3295), finalized #56148 (0xf3b1…803b), ⬇ 942.4kiB/s ⬆ 20.4kiB/s

====================

Version: 3.1.0-9729e52-x86_64-linux-gnu

   0: sp_panic_handler::set::{{closure}}
   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/alloc/src/boxed.rs:1999:9
      std::panicking::rust_panic_with_hook
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/panicking.rs:695:13
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/panicking.rs:582:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/sys_common/backtrace.rs:151:18
   4: rust_begin_unwind
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/panicking.rs:578:5
   5: core::panicking::panic_fmt
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/core/src/panicking.rs:67:14
   6: core::panicking::panic_bounds_check
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/core/src/panicking.rs:162:5
   7: p3d::algo_grid::get_contour
   8: p3d::p3d_process_n
   9: poscan_algo::get_obj_hashes_n
  10: poscan_algo::get_obj_hashes
  11: <poscan_grid2d::PoscanAlgorithm<C> as sc_consensus_poscan::PowAlgorithm<B>>::verify
  12: <sc_consensus_poscan::PowBlockImport<B,I,C,S,Algorithm,CAW,CIDP> as sc_consensus::block_import::BlockImport<B>>::import_block::{{closure}}
  13: <alloc::boxed::Box<dyn sc_consensus::block_import::BlockImport<B>+Error = sp_consensus::error::Error+Transaction = Transaction+core::marker::Sync+core::marker::Send> as sc_consensus::block_import::BlockImport<B>>::import_block::{{closure}}
  14: <&mut F as core::future::future::Future>::poll
  15: sc_consensus::import_queue::basic_queue::BlockImportWorker<B>::new::{{closure}}
  16: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
  17: <sc_service::task_manager::prometheus_future::PrometheusFuture<T> as core::future::future::Future>::poll
  18: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
  19: <tracing_futures::Instrumented<T> as core::future::future::Future>::poll
  20: tokio::park::thread::CachedParkThread::block_on
  21: tokio::runtime::handle::Handle::block_on
  22: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
  23: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
  24: tokio::runtime::task::harness::Harness<T,S>::poll
  25: tokio::runtime::blocking::pool::Inner::run
  26: std::sys_common::backtrace::__rust_begin_short_backtrace
  27: core::ops::function::FnOnce::call_once{{vtable.shim}}
  28: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/alloc/src/boxed.rs:1985:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/alloc/src/boxed.rs:1985:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/521f4dae1bdf7fe9cf9436ecef9ee7c7442708bf/library/std/src/sys/unix/thread.rs:108:17
  29: <unknown>
  30: <unknown>


Thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/runner/.cargo/git/checkouts/p3d-675c372166b26a37/cfd70b0/src/algo_grid.rs:533

This is a bug. Please report it at:

	https://github.com/3Dpass/3DP/issues

@PaulSff PaulSff assigned PaulSff and mishk and unassigned PaulSff Oct 10, 2023
@PaulSff PaulSff added the bug Something isn't working label Oct 10, 2023
@PaulSff
Copy link
Collaborator

PaulSff commented Oct 10, 2023

Hey, thanks for reaching out. We've just looked into it, and it's probably going to take some time to fix. Perhaps, the issue is related to the last major upgrade.

For now, we can only suggest using a temporary solution. Either, it is possible to start syncing form the bootstrap db or to downgrade the node to the version v8 release, pass the block and then to upgrade it back to v9.

mishk pushed a commit to 3Dpass/p3d that referenced this issue Jan 23, 2024
mishk pushed a commit that referenced this issue Jan 23, 2024
mishk pushed a commit that referenced this issue Feb 8, 2024
@PaulSff PaulSff closed this as completed Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants