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

Thread 'IO Worker #2' panicked at 'supplied instant is later than self', library/std/src/time.rs:285 #227

Closed
CamWeston opened this issue Jan 14, 2021 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@CamWeston
Copy link

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): 0.0.0
  • Operating system: Linux
  • Installation: built from source
  • Fully synchronized: no
  • Network: ethereum
  • Restarted: yes

Continue to get this bug every 20 minutes or so while syncing on an i3.xl ec2.

`====================

stack backtrace:
0: panic_hook::set_with::{{closure}}
1: std::panicking::rust_panic_with_hook
at library/std/src/panicking.rs:597
2: std::panicking::begin_panic_handler::{{closure}}
at library/std/src/panicking.rs:499
3: std::sys_common::backtrace::__rust_end_short_backtrace
at library/std/src/sys_common/backtrace.rs:141
4: rust_begin_unwind
at library/std/src/panicking.rs:495
5: core::panicking::panic_fmt
at library/core/src/panicking.rs:92
6: core::option::expect_failed
at library/core/src/option.rs:1260
7: <openethereum::informant::Informant as ethcore_io::IoHandlerethcore::client::io_message::ClientIoMessage>::timeout
8: ethcore_io::worker::Worker::new::{{closure}}::{{closure}}
9: <futures::future::loop_fn::LoopFn<A,F> as futures::future::Future>::poll
10: std::sys_common::backtrace::__rust_begin_short_backtrace
11: core::ops::function::FnOnce::call_once{{vtable.shim}}
12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307
std::sys::unix::thread::Thread::new::thread_start
at library/std/src/sys/unix/thread.rs:71
13: start_thread
14: __clone

Thread 'IO Worker #2' panicked at 'supplied instant is later than self', library/std/src/time.rs:285

This is a bug. Please report it at:

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

`

This is my start command
nohup ./target/release/openethereum --jsonrpc-interface <redacted> --jsonrpc-hosts="all" --ws-interface <redacted> --ws-hosts="all" --can-restart=true --chain=mainnet &

@yorickdowne
Copy link

Duplicate of #169 I think. There's a fix available in PR #193 , which is working well for me so far.

@roninkaizen
Copy link

maybe the db is completely corrupted,
i would also leave the "--can restart" and "--chain=mainnet &"
with a cleanup of the db dir and a restart without the above mentioned settings you should get different results.
and if not, visit us at the discord-channel

@rakita rakita added the duplicate This issue or pull request already exists label Jan 18, 2021
@rakita
Copy link
Contributor

rakita commented Jan 18, 2021

Fix is merged in dev branch

@rakita rakita closed this as completed Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants