Failed to claim receiving frame N: expected state ... #259
-
Do you have any idea what could be going wrong here:
This occurs both with tx_rx_task and iouring |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Can you send a Wireshark capture of the entire run when you receive that panic please? I'd also like to know what version/commit hash of EtherCrab you're running and, if possible, as much of the Rust source as you can share. This might be an internal race condition and I've seen it before, but it's difficult to reproduce without the original setup. |
Beta Was this translation helpful? Give feedback.
-
Thanks very much, this is perfect! Note to self: ethercrab = "0.5.0"
ethercrab-wire = "0.2.0" |
Beta Was this translation helpful? Give feedback.
-
@jbbjarnason could you please try this in your ethercrab = { git = "https://github.com/ethercrab-rs/ethercrab.git", rev = "52b570f3690f5d20605f69758d57b8d3860dd93d" } It's the latest commit in #260. I don't have a way to reproduce your original issue on my test bench so this change is an educated guess. Please let me know if it works or not, and I'd appreciate all the usual logs, Wireshark captures, etc either way :) |
Beta Was this translation helpful? Give feedback.
-
I've just released this change in v0.5.2. Please |
Beta Was this translation helpful? Give feedback.
I've just released this change in v0.5.2. Please
cargo update
and make sure you're on at least 0.5.2 (e.g.cargo tree -i ethercrab
).