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

How to work? #1

Open
mason276752 opened this issue Mar 17, 2021 · 4 comments
Open

How to work? #1

mason276752 opened this issue Mar 17, 2021 · 4 comments

Comments

@mason276752
Copy link

mason276752 commented Mar 17, 2021

./openethereum --db-path ~/parity --chain bsc --bootnodes enode://f3cfd69f2808ef64838abd8786342c0b22fdd28268703c8d6812e26e109f9a7cb2b37bd49724ebb46c233289f22da82991c87345eb9a2dadeddb8f37eeb259ac@18.180.28.21:30311

2021-03-17 11:28:12  Starting OpenEthereum/v3.1.0-stable-a2c50e731-20210301/x86_64-macos/rustc1.50.0
2021-03-17 11:28:12  Keys path /Users/myname/Library/Application Support/OpenEthereum/keys/bsc
2021-03-17 11:28:12  DB path /Users/myname/parity/bsc/db/cb665db62a2f3b02
2021-03-17 11:28:12  State DB configuration: fast
2021-03-17 11:28:12  Operating mode: active
2021-03-17 11:28:12  Configured for BSC using Parlia engine
2021-03-17 11:28:12  Listening for new connections on 127.0.0.1:8546.
2021-03-17 11:28:14  Panic occured, see stderr for details
====================

stack backtrace:
   0: backtrace::backtrace::trace
   1: backtrace::capture::Backtrace::new
   2: panic_hook::set_with::{{closure}}
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::begin_panic_handler::{{closure}}
   5: std::sys_common::backtrace::__rust_end_short_backtrace
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::panicking::panic
   9: <ethcore::state_db::StateDB as ethcore::state::backend::Backend>::cache_code
  10: ethcore::state::State<B>::update_account_cache
  11: ethcore::state::State<B>::code
  12: ethcore::executive::Executive<B>::transact
  13: ethcore::block::OpenBlock::push_transaction
  14: ethcore::client::client::Importer::import_verified_blocks
  15: <ethcore_service::service::ClientIoHandler as ethcore_io::IoHandler<ethcore::client::io_message::ClientIoMessage>>::message
  16: ethcore_io::service_mio::IoChannel<Message>::send_sync
  17: std::sys_common::backtrace::__rust_begin_short_backtrace
  18: core::ops::function::FnOnce::call_once{{vtable.shim}}
  19: std::sys::unix::thread::Thread::new::thread_start
  20: _pthread_body
  21: _pthread_start


Thread 'Verifier #4' panicked at 'attempted to leave type `linked_hash_map::Node<ethereum_types::H256, std::sync::Arc<std::vec::Vec<u8>>>` uninitialized, which is invalid', /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/mem/mod.rs:659

This is a bug. Please report it at:

    https://github.com/openethereum/openethereum/issues/new


2021-03-17 11:28:14  Finishing work, please wait...
2021-03-17 11:28:14  Block import failed for #13 (0x7d0b…8348): Parent not found (0x51a6…74d8) 
2021-03-17 11:28:14  
Bad block detected: Error(Msg("Parent not found"), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })
RLP: f902ecf9025aa051a6ebadc02f5150af6e0c034e595f212d2c7b20e939d59633c2978b100674d8a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942a7cdd959bfe8d9487b2a43b33565295a698f7e2a01dfe3521b2f15ddf05cfe6e4c08a7e17fe26e89cc4d8bda4844603af8854c566a0b6b86a4212ee6b0ff1895f79f3dd9ee7e160768d42b446e47cd02f0dc1d9e802a02b0c17531c2313cdeb243630a375ca9cfaab4ef6cfda41c9d6a770680b73712db9010000000000000000401000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000080000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000010d8402446a86830187dd845f49cad2b861d883010002846765746888676f312e31332e34856c696e757800000000000000d56f5fa36dd6221799d5119d2874020f9ed005dd2ec9e65b9665e13d802acddc442ec223403bcc61274f08c8dc5e609bc3c87e20e67f33cf5f11094367d17b5700a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f88cf88a0780887fffffffffffffff94000000000000000000000000000000000000100180a4c96be4cb0000000000000000000000008c4d90829ce8f72d0163c1d5cf348a862d5506308194a02b3b5ef859f6093d6cb8d35d011fb288e9fc90a5b7f7de07a9395e953e2f8203a06c8535946c2bda44cbdfa75a31a38732f21a9824583c916d21b57d44192b5bb9c0
Header: Header { parent_hash: 0x51a6ebadc02f5150af6e0c034e595f212d2c7b20e939d59633c2978b100674d8, timestamp: 1598671570, number: 13, author: 0x2a7cdd959bfe8d9487b2a43b33565295a698f7e2, transactions_root: 0xb6b86a4212ee6b0ff1895f79f3dd9ee7e160768d42b446e47cd02f0dc1d9e802, uncles_hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347, extra_data: [216, 131, 1, 0, 2, 132, 103, 101, 116, 104, 136, 103, 111, 49, 46, 49, 51, 46, 52, 133, 108, 105, 110, 117, 120, 0, 0, 0, 0, 0, 0, 0, 213, 111, 95, 163, 109, 214, 34, 23, 153, 213, 17, 157, 40, 116, 2, 15, 158, 208, 5, 221, 46, 201, 230, 91, 150, 101, 225, 61, 128, 42, 205, 220, 68, 46, 194, 35, 64, 59, 204, 97, 39, 79, 8, 200, 220, 94, 96, 155, 195, 200, 126, 32, 230, 127, 51, 207, 95, 17, 9, 67, 103, 209, 123, 87, 0], state_root: 0x1dfe3521b2f15ddf05cfe6e4c08a7e17fe26e89cc4d8bda4844603af8854c566, receipts_root: 0x2b0c17531c2313cdeb243630a375ca9cfaab4ef6cfda41c9d6a770680b73712d, log_bloom: 0x00000000000000401000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000080000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000, gas_used: 100317, gas_limit: 38038150, difficulty: 1, seal: [[160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [136, 0, 0, 0, 0, 0, 0, 0, 0]], hash: Some(0x7d0b079792fb1ed4d921483309793e5c226f138dbd5f3f69e9ceae70ef8a8348) }
Uncles: 
Transactions:[Tx 0] UnverifiedTransaction { unsigned: Transaction { nonce: 7, gas_price: 0, gas: 9223372036854775807, action: Call(0x0000000000000000000000000000000000001001), value: 0, data: [201, 107, 228, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 140, 77, 144, 130, 156, 232, 247, 45, 1, 99, 193, 213, 207, 52, 138, 134, 45, 85, 6, 48] }, v: 148, r: 19554351925599758478641344436134640249528276467493384121490518778008319263235, s: 49085148100628549116859924402690385061762720416696853479717560498680356363193, hash: 0x07fa082553751bba741911de9480cf5c890a59a8f29a84b58e14e49720c5d3f7 }

2021-03-17 11:28:14  Panic occured, see stderr for details


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

stack backtrace:
   0: backtrace::backtrace::trace
   1: backtrace::capture::Backtrace::new
   2: panic_hook::set_with::{{closure}}
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::begin_panic_handler::{{closure}}
   5: std::sys_common::backtrace::__rust_end_short_backtrace
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::panicking::panic
   9: ethcore::client::bad_blocks::BadBlocks::report
  10: ethcore::client::client::Importer::import_verified_blocks
  11: <ethcore_service::service::ClientIoHandler as ethcore_io::IoHandler<ethcore::client::io_message::ClientIoMessage>>::message
  12: ethcore_io::worker::Worker::new::{{closure}}::{{closure}}
  13: std::sys_common::backtrace::__rust_begin_short_backtrace
  14: core::ops::function::FnOnce::call_once{{vtable.shim}}
  15: std::sys::unix::thread::Thread::new::thread_start
  16: _pthread_body
  17: _pthread_start


Thread 'IO Worker #3' panicked at 'attempted to leave type `linked_hash_map::Node<ethereum_types::H256, (verification::queue::kind::blocks::Unverified, std::string::String)>` uninitialized, which is invalid', /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/mem/mod.rs:659

This is a bug. Please report it at:

    https://github.com/openethereum/openethereum/issues/new


2021-03-17 11:28:18  Panic occured, see stderr for details


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

stack backtrace:
   0: backtrace::backtrace::trace
   1: backtrace::capture::Backtrace::new
   2: panic_hook::set_with::{{closure}}
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::begin_panic_handler::{{closure}}
   5: std::sys_common::backtrace::__rust_end_short_backtrace
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::option::expect_none_failed
   9: <ethcore::verification::queue::VerificationQueue<K> as core::ops::drop::Drop>::drop
  10: core::ptr::drop_in_place
  11: core::ptr::drop_in_place
  12: alloc::sync::Arc<T>::drop_slow
  13: alloc::sync::Arc<T>::drop_slow
  14: alloc::sync::Arc<T>::drop_slow
  15: alloc::sync::Arc<T>::drop_slow
  16: <hashbrown::raw::RawTable<T> as core::ops::drop::Drop>::drop
  17: alloc::sync::Arc<T>::drop_slow
  18: core::ptr::drop_in_place.55536
  19: <futures::future::lazy::Lazy<F,R> as futures::future::Future>::poll
  20: tokio_threadpool::worker::Worker::run_task
  21: tokio_threadpool::worker::Worker::run
  22: tokio_reactor::with_default
  23: tokio::runtime::threadpool::builder::Builder::build::{{closure}}
  24: std::sys_common::backtrace::__rust_begin_short_backtrace
  25: core::ops::function::FnOnce::call_once{{vtable.shim}}
  26: std::sys::unix::thread::Thread::new::thread_start
  27: _pthread_body
  28: _pthread_start


Thread 'event.loop0' panicked at 'Propagating verifier thread panic on shutdown: Any', /Users/Lursun/github/open-bsc/ethcore/src/verification/queue/mod.rs:853

This is a bug. Please report it at:

    https://github.com/openethereum/openethereum/issues/new


Error: 1
@hfaakerx
Copy link

I also encountered the same problem, is there a solution?

@manelio
Copy link

manelio commented Apr 18, 2021

Same problem here.

Sad there's no reliable BSC node out there.

@nealfu
Copy link

nealfu commented Apr 27, 2021

work with rust 1.47.0

@aaadipopt
Copy link

hey @nealfu, did you handle the block #5183999 ?
related to -

// FIXME: Otherwise the BSC block #5183999 verficiation fails.

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

5 participants