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

ExEx manager crashes on unwind #8737

Closed
shekhirin opened this issue Jun 11, 2024 · 1 comment · Fixed by #8750
Closed

ExEx manager crashes on unwind #8737

shekhirin opened this issue Jun 11, 2024 · 1 comment · Fixed by #8750
Assignees
Labels
A-exex Execution Extensions C-bug An unexpected or incorrect behavior

Comments

@shekhirin
Copy link
Collaborator

shekhirin commented Jun 11, 2024

2024-06-11T07:17:11.864409Z  INFO Unwinding{stage=Execution}: Starting unwind from=1711616 to=1711613 bad_block=Some(1711616)
thread 'tokio-runtime-worker' panicked at crates/exex/exex/src/manager.rs:290:85:
Chain should have at least one block
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-06-11T07:17:13.651002Z  INFO Unwinding{stage=Execution}: Stage unwound stage=Execution unwind_to=1711613 progress=1711613 done=true
2024-06-11T07:17:13.651585Z ERROR shutting down due to error
thread 'tokio-runtime-worker' panicked at /Users/shekhirin/Projects/reth/crates/node/builder/src/launch/exex.rs:74:34:
ExEx EVM finished. ExEx's should run indefinitely
2024-06-11T07:17:13.651631Z ERROR exex{id="EVM"}: Critical task `exex` panicked: `ExEx EVM finished. ExEx's should run indefinitely`
@shekhirin shekhirin added C-bug An unexpected or incorrect behavior A-exex Execution Extensions labels Jun 11, 2024
@shekhirin shekhirin self-assigned this Jun 11, 2024
@shekhirin
Copy link
Collaborator Author

The issue is here

let blocks = provider.get_take_block_range::<false>(range.clone())?;

provider.get_take_block_range looks up the data only in MDBX, but we usually have it in static files, so we try to create a chain with no blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-exex Execution Extensions C-bug An unexpected or incorrect behavior
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant