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

Off-by-one bug: Requested read of range one larger than stream length #213

Open
vulpes2 opened this issue Dec 2, 2024 · 2 comments
Open
Labels

Comments

@vulpes2
Copy link

vulpes2 commented Dec 2, 2024

Perhaps there's an off by one bug somewhere, I can't save my capture to a file at all with v0.4.0 (appimage).
error

@martinling
Copy link
Member

That sure does look like an off-by-one bug.

I haven't seen this before and would love to have a way to reproduce it, but obviously that's difficult if you can't save the capture.

Is it reproducible if you capture the same device again? If so could you try with RUST_BACKTRACE=1 set in the environment? That should at least get a backtrace which might indicate where the bug is.

@vulpes2
Copy link
Author

vulpes2 commented Dec 2, 2024

Did a new capture with the same device, and I can't reproduce it anymore. Will keep an eye on it and post the backtrace if I ever come across it again.

@martinling martinling changed the title Can't save capture to file Off-by-one bug: Requested read of range one larger than stream length Dec 2, 2024
@martinling martinling added the bug label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants