Mixxx GUI is stalled when storing analysis.

Bug #1400866 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
RJ Skerry-Ryan

Bug Description

Sometimes it happens that the Mixxx GUI is stalled for a 3 .. 10 s when storing analysis data.
This happens to me from time to time. I was not able to catch one of these faulty starts with a debugger.
Only the first store call in a Mixxx run seams to be effected.
I can see this with my i5 development machine running Ubuntu Trusty.

I think we need to investigate this systematical.

Has anyone else seen this?

RJ Skerry-Ryan (rryan)
Changed in mixxx:
milestone: none → 1.12.0
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Post-analysis Mixxx the GUI does stall for me sometimes. Notably the analyses are only written if they have not changed since the track was loaded and they are only written once the track exits the track cache (so that may explain why it happens only some of the time).

Nazar's library thread seems like the long-term fix for this. I'm not sure if there's a good band-aid fix.

Changed in mixxx:
importance: Undecided → High
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Ah, at some point we added a save-track call after analysis is complete so my comment above is wrong.

Removing this fixes the bug for me. I don't think it serves a purpose anyway. Better to wait until the track falls out of the cache or its reference count drops to zero.

Changed in mixxx:
assignee: nobody → RJ Ryan (rryan)
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Removing the save on track analysis completion fixed this for me:
https://github.com/mixxxdj/mixxx/commit/3eff88548c2da0c543fdbe3fc47ffe176eff3ce2

Changed in mixxx:
status: New → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7720

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.