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
Heisenbug: tests sometimes fail audio buffer validation #951
Comments
Is there a bruteforce procedure to trigger the Heisenbug with (1-ε) probability ? |
I haven't found any reproducible trigger for it, no. I can't get it to happen on my local installation either. |
(7 weeks later) |
I haven't seen it lately, but I also haven't been running tests very often. |
Would be nice to keep an eye on this in the wake of #1064 |
Indeed. FWIW i haven't seen it happen lately, and certainly not since rewriting the test fixtures. I think it's probably clear, but let's hold off on closing this out until we're ready to push 0.8 (ie after having merged a bunch of PRs and run lots of tests). |
This came back at us in #1120 -- a reboot of the build image fixed it. So it's definitely still active. |
Aha! I think I've figured this one out. Some of our safety checks (eg length checks or error cases) that use dummy input audio (because the content doesn't matter) use I'll create a PR to remove |
Description
I've noticed that some of our CI tests seem to randomly fail with audio buffer validation errors, only to pass correctly when restarted. I don't have any explanation for this, and I doubt it's due to anything in librosa.
It seems to have started after the switch to soundfile as the primary decoder, and it may be indicative of a bug deep in the guts of libsndfile, if not in the python bindings. Any help diagnosing this would be much appreciated!
The text was updated successfully, but these errors were encountered: