Fixed: Empty file crash during analysis#1407
Fixed: Empty file crash during analysis#1407daschuer merged 3 commits intomixxxdj:masterfrom uklotzde:empty_file_analyzer_crash
Conversation
|
LGTM, thank you! Please merge ASAP. |
|
I don't know if this is caused by changes in this branch or other recent changes, but bulk analysis is skipping over a lot of unanalyzed tracks. Is #728 merged with this branch? |
|
MacOs build fails: |
|
#728 is already included. Just started a bulk analysis, because I was afraid it might be broken. No issues so far, both already analyzed and new tracks are analyzed and updated one after the other. Tracks that already have been analyzed are skipped when stopping and restarting the analysis. |
|
The build error seems to be unrelated. So we can merge this. Thank you. |
|
LGTM |
|
macOS build has already been upgraded to Qt 5.10. This is getting disconnected more and more from our regular Qt 4 builds. |
|
Hmm, I'm not sure what is going on with batch analysis. If I select some files and analyze them, it works, but if I select my whole library it will not analyze. It seems that some files are somehow causing the whole analysis operation to be skipped. This pattern at the end of the log repeats for the rest of the library. Maybe this has something to do with the |
|
@Be-ing Indeed. Thanks for the logs and additional information. I will revisit the analyzer framwork ASAP! |
|
@Be-ing Your logs indicate that the AnalyzerQueue thread has been paused (by blocking) after skipping the last track during analysis. Unfortunately there are no dedicated log messages in this situation, only Stats events are generated before/after blocking. The logs from the Main thread seem to be unrelated. I will add some debug log entries to monitor activities in the analysis thread. I'm not able to stop the batch analysis. All files get analyzed, already analyzed files are skipped. I've tried various settings for re-analysis, deleted the bpm/beatgrid for implicit re-analysis, enabled/disabled export of file tags, inserted a 0-byte file into the batch. I even tried to throw an exception in doAnalysis(). But this will abort Mixxx instantly and cannot be the cause. |
https://bugs.launchpad.net/mixxx/+bug/1737537
Obviously wrong. I've added new tests for opening all kinds of empty files. Thereby I noticed that the stereo proxy was actually not used during the SoundSource tests. No new bugs discovered.