-
Notifications
You must be signed in to change notification settings - Fork 243
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
Thread panic: Invalid range for Time fractional part. #686
Comments
More detailed trace:
|
Anyway you can reproduce this? If not try sprinkeling some |
@dvdsk yes - reproducible test here:
mp3 attached (as zip to allow upload) |
On v0.20.1 of Rodio I get the error "Err(SymphoniaDecoder(Refining(IoError(Custom { kind: UnexpectedEof, error: "end of stream" }))))" and the thread does not panic. Interestingly |
I believe there is also a bug in Rodio's seek where in skip_back_a_tiny_bit - if |
I've fixed this specific issue in this PR here - it was a sneaky issue where we subtracted a negative value rather than adding. Edit - this actually fixes the whole issue. The issue was we were not handling durations that were whole numbers with no fractional component correctly. Will add a test to that PR that demonstrates this to avoid any regressions. |
I have received this panic a few times after running on Rodio's master commit d93b1f3
From my tracing I believe this may be related to seeking (https://github.com/RustAudio/rodio/blob/master/src/decoder/symphonia.rs#L180-L212)
The text was updated successfully, but these errors were encountered: