-
Notifications
You must be signed in to change notification settings - Fork 929
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
unreachable
panic libp2p-swarm-0.44.2/src/handler/either.rs:106
#5412
Comments
Thank you for the report. It looks like it happens when receiving an event from the behaviour. rust-libp2p/swarm/src/handler/either.rs Lines 102 to 108 in ad7ad5b
Could you provide any code to reproduce it and any possible logs? |
it seems we had two relay events around the panic time:
trying to gather more logs (it's not super frequent, but we are seeing it often ish, we've restarted nodes with debugger attached just now) |
Summary
Seemingly the
unreachable
code on a match in the swarm handler is panicking?!This does not actually crash our app (I assume it's a spawned thread).
But it's not clear to me how this is even possible :|
Expected behavior
no panic
Actual behavior
panic
Relevant log output
Possible Solution
No response
Version
No response
Would you like to work on fixing this bug ?
Maybe
The text was updated successfully, but these errors were encountered: