Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

error during snapshot restoration #473

Open
iamwilhelm opened this issue Jul 4, 2021 · 0 comments
Open

error during snapshot restoration #473

iamwilhelm opened this issue Jul 4, 2021 · 0 comments

Comments

@iamwilhelm
Copy link

iamwilhelm commented Jul 4, 2021

For questions please use https://discord.io/openethereum, issues are for bugs and feature requests.

Before filing a new issue, please provide the following information.

  • OpenEthereum version (>=3.1.0): version OpenEthereum/v3.3.0-rc.3-stable-fdaee51ca-20210629/x86_64-macos/rustc1.48.0
  • Operating system: MacOS
  • Installation: built from source
  • Fully synchronized: no
  • Network: ethereum
  • Restarted: yes (I assume this is if I restarted the node)

Your issue description goes here below. Try to include actual vs. expected behavior and steps to reproduce the issue.

I have an external drive that I'm syncing a new node. There was a power outage that disconnected the external drive. Then this error happened:

2021-07-04 06:35:49 Syncing snapshot 3487/7504 LI:#0 26/50 peers 1 KiB chain 0 bytes queue RPC: 0 conn, 0 req/s, 0 µs
2021-07-04 06:36:49 Syncing snapshot 3488/7504 LI:#0 26/50 peers 1 KiB chain 0 bytes queue RPC: 0 conn, 0 req/s, 0 µs
2021-07-04 06:50:48 Encountered error during snapshot restoration: IO error: While pread offset 34298786 len 16329: /Volumes/LuamaStorage/ethereum_blockchain/ethereum/db/906a34e69aec8c0d/snapshot/restoration/db/018005.sst: Device not configured
2021-07-04 06:50:49 Syncing #0 0xd4e5…8fa3 0.00 blk/s 0.0 tx/s 0.0 Mgas/s 0+ 0 Qed LI:#0 24/25 peers 1 KiB chain 0 bytes queue RPC: 0 conn, 0 req/s, 0 µs
2021-07-04 06:50:53 Syncing #0 0xd4e5…8fa3 0.00 blk/s 0.0 tx/s 0.0 Mgas/s 0+ 0 Qed LI:#0 19/25 peers 1 KiB chain 0 bytes queue RPC: 0 conn, 0 req/s, 0 µs
2021-07-04 06:50:58 Syncing #0 0xd4e5…8fa3 0.00 blk/s 0.0 tx/s 0.0 Mgas/s 504+ 0 Qed LI:#508 6/25 peers 1 KiB chain 909 KiB queue RPC: 0 conn, 0 req/s, 0 µs
2021-07-04 06:50:58 Light cache file write error: No such file or directory (os error 2)
2021-07-04 06:50:58 Panic occured, see stderr for details

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

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::client::client::Importer::import_verified_blocks
10: <ethcore_service::service::ClientIoHandler as ethcore_io::IoHandlerethcore::client::io_message::ClientIoMessage>::message
11: ethcore_io::service_mio::IoChannel::send_sync
12: std::sys_common::backtrace::__rust_begin_short_backtrace
13: core::ops::function::FnOnce::call_once{{vtable.shim}}
14: std::sys::unix::thread::Thread::new::thread_start
15: __pthread_body
16: __pthread_start

Thread 'Verifier #2' panicked at 'DB flush failed.: Custom { kind: Other, error: "IO error: While appending to file: /Volumes/LuamaStorage/ethereum_blockhain/ethereum/db/906a34e69aec8c0d/overlayrecent/db/000047.log: Input/output error" }', crates/ethcore/src/client/client.rs:419

This is a bug. Please report it at:

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

2021-07-04 06:50:59 Finishing work, please wait...
2021-07-04 06:50:59 Error creating node table directory: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
2021-07-04 06:50:59 Panic occured, see stderr for details

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

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 as core::ops::drop::Drop>::drop
10: core::ptr::drop_in_place
11: core::ptr::drop_in_place.31015
12: alloc::sync::Arc::drop_slow
13: alloc::sync::Arc::drop_slow
14: alloc::sync::Arc::drop_slow
15: alloc::sync::Arc::drop_slow
16: <hashbrown::raw::RawTable as core::ops::drop::Drop>::drop
17: alloc::sync::Arc::drop_slow
18: core::ptr::drop_in_place
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/iamwil/projects/lib/openethereum/crates/ethcore/src/verification/queue/mod.rs:864

This is a bug. Please report it at:

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

Error: 1

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

No branches or pull requests

1 participant