Skip to content

[BUG] basic-block-import-worker failed #122

Closed
@1xstj

Description

Starting parachain fails with error

2023-01-27 11:57:47.678 ERROR tokio-runtime-worker sc_service::task_manager: [Parachain] Essential task `basic-block-import-worker` failed. Shutting down service.    
2023-01-27 11:57:47.683 ERROR tokio-runtime-worker polkadot_overseer: [Relaychain] subsystem exited with error subsystem="runtime-api-subsystem" err=Generated(Context("Signal channel is terminated and empty."))
2023-01-27 11:57:47.685 ERROR tokio-runtime-worker libp2p_mdns::behaviour: [Parachain] failed to create `InterfaceState`: A Tokio 1.x context was found, but it is being shutdown.    
2023-01-27 11:57:47.685 ERROR tokio-runtime-worker libp2p_mdns::behaviour: [Parachain] failed to create `InterfaceState`: A Tokio 1.x context was found, but it is being shutdown.    
2023-01-27 11:57:47.685 ERROR tokio-runtime-worker libp2p_mdns::behaviour: [Parachain] failed to create `InterfaceState`: A Tokio 1.x context was found, but it is being shutdown.    
Error: Service(Other("Essential task failed."))
error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
2023-01-27 12:00:42.140  WARN tokio-runtime-worker polkadot_overseer: [Relaychain] dropping error err=Err(Canceled)
 tokio::runtime::task::harness::Harness<T,S>::poll
  26: tokio::runtime::blocking::pool::Inner::run
  27: std::sys_common::backtrace::__rust_begin_short_backtrace
  28: core::ops::function::FnOnce::call_once{{vtable.shim}}
  29: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at rustc/8dfb3395411555e93399671d0c41a4ac9ed62b95/library/alloc/src/boxed.rs:2000:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at rustc/8dfb3395411555e93399671d0c41a4ac9ed62b95/library/alloc/src/boxed.rs:2000:9
      std::sys::unix::thread::Thread::new::thread_start
             at rustc/8dfb3395411555e93399671d0c41a4ac9ed62b95/library/std/src/sys/unix/thread.rs:108:17
  30: start_thread
  31: clone


Thread 'tokio-runtime-worker' panicked at 'A Tokio 1.x context was found, but it is being shutdown.', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/time/entry.rs:567

This is a bug. Please report it at:

	https://github.com/paritytech/cumulus/issues/new

How to reproduce :

  1. Build the parachain binary
cargo b -rp tangle-parachain
  1. Run the parachain binary
./target/release/tangle-parachain --collator --alice --chain ./chainspecs/testnet/tangle-parachain.json --tmp --port 40335 --ws-port 9946 -- --execution wasm --chain ../../polkadot/rococo-local-cfde.json --port 30335

Metadata

Assignees

Labels

bug 🪲Something isn't workingp0 🔥Critical issues that need to be resolved immediately

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions