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

Bug: forest daemon crashes during bitswap get query #2405

Closed
creativcoder opened this issue Jan 10, 2023 · 1 comment · Fixed by #2419
Closed

Bug: forest daemon crashes during bitswap get query #2405

creativcoder opened this issue Jan 10, 2023 · 1 comment · Fixed by #2419
Assignees
Labels

Comments

@creativcoder
Copy link
Contributor

Describe the bug

Forest daemon crashes with snapshot: filecoin_snapshot_calibnet_2022-12-09_height_108720.car
using libp2p-bitswap fork at: https://github.com/hanabi1224/libp2p-bitswap?branch=forest-libp2p@0.50#6f14bc98846abb4a7e1ee8739d199a55bcfcb441

To Reproduce
Steps to reproduce the behavior (WIP):

  1. Go to '...'
  2. Run '....'
  3. See error

Log output

Log Output
2023-01-10T11:22:59.031729Z  WARN forest_libp2p::service: Fail to send ChainExchange response    
thread 'tokio-runtime-worker' panicked at 'assertion failed: state.block.is_some()', /root/.cargo/git/checkouts/libp2p-bitswap-60205aaf66f912c5/6f14bc9/src/query.rs:216:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    1484452 IOT instruction (core dumped)  target/release/forest --chain calibnet --target-peer-count 50  false

Expected behaviour

Screenshots

Environment (please complete the following information):

  • OS: Ubuntu 22.04 LTS x86_64, kernel: 5.15.0-52-generic
  • Rust version(e.g. `rustc 1.68.0-nightly (b70baa4f9 2022-12-14))
  • Branch/commit: bd4c43e

Other information and links

@hanabi1224 hanabi1224 self-assigned this Jan 10, 2023
@hanabi1224
Copy link
Contributor

I will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants