-
Notifications
You must be signed in to change notification settings - Fork 244
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
Analysis gets stuck with corrupt files #286
Comments
I have downloaded the sample files and confirmed there's something wrong (even corrupt MP3s shouldn't take more than a couple seconds to analyze or be rejected). I have not had time to look in detail as to where or how it's getting stuck, but I will look at the in the next day or two. Thanks for the samples. |
#286 Prevent apparently-mp3 files with large number of 0xFF chars from stalling scanning
Should be fixed in 1490b43 Your files are "special" in that they consist largely of nothing but |
Now I finally had time to test the fix, and it seems to work fine. Thanks! |
I got a report from a user that scanning the files is insanely slow, taking an hour or more per file. It turned out that his library contained some corrupted mp3 files which were causing the slowness.
I got some sample files and could reproduce the issue: calling
getID3::analyze
on these files seemed to cause some kind of busy loop, as CPU load hit 100% and nothing was happening. I waited for 45 minutes but the analysis didn't finish during this time. But as said, my user reported that eventually the scanning moved on to next files.Now, obviously these files are broken and no metadata can be extracted from them. But could getID3 maybe bail out a bit sooner on these? I'll send the sample files by email.
The text was updated successfully, but these errors were encountered: