Track Cache does not Save to Database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
High
|
RJ Skerry-Ryan | ||
1.10 |
Fix Released
|
High
|
RJ Skerry-Ryan | ||
1.9 |
Fix Released
|
High
|
RJ Skerry-Ryan |
Bug Description
Running 1.9 on Linux. The problem continues to appear in trunk.
Steps to reproduce:
1. Open Mixxx.
2. Start anywhere on your playlist and load a track. It doesn't matter how you load the track. It doesn't matter whether you actually play the track or not.
3. Now load another track. For the sake of convenience, load the next one on your playlist.
4. Continue to load tracks for a while. In fact, load 20 tracks total.
5. Now, load the 21st. Examine the "played" checkbox column. You should see that the checkboxes for your previous tracks have become unchecked!
But there's more. This problem is *NOT* limited to just the played checkboxes -- it is related to *ANY* modification of the database. An important example is cues. If you had set cues for each of those 20 tracks above and then loaded a 21st track, all of your cues that you had set before in those 20 tracks are now lost.
The cache also fails in another interesting way too. Sometimes, I was able to load successive tracks and watch individual checkboxes from previous tracks get unchecked one-by-one (like the game Snake) or perhaps in small grops of 2 or 3.
There is no useful debug information in mixxx.log. It only shows lines saying tracks were played.
Related branches
Changed in mixxx: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in mixxx: | |
assignee: | nobody → RJ Ryan (rryan) |
status: | Confirmed → Fix Committed |
Changed in mixxx: | |
milestone: | 1.9.1 → none |
Changed in mixxx: | |
status: | In Progress → Fix Committed |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
I can reproduce the bug: The only thing I can find in the log is:
WARNING: Inconsistent state in TrackDAO. Track is clean while TrackDAO thinks it is dirty. Correcting
rryan: Could that be the problem?