analyzing file causes sluggish gui

Bug #1738227 reported by poelzi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Critical
Unassigned

Bug Description

A regression in the last 2-3 weeks, have not bisected yet.

Selecting a larger amount of tracks and dropping them in analyze will freeze mixxx completely.
Running a track or in general gui feels extremly sluggish now when tracks are analyzed.

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

I will analyze this issue ASAP now that I noticed it, too!

Changed in mixxx:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 2.1.0
Changed in mixxx:
assignee: nobody → Uwe Klotz (uklotzde)
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

Might be caused by a priority inversion between the analysis and the UI thread:
https://github.com/mixxxdj/mixxx/pull/1413#issuecomment-351974679

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

Some fixes that hopefully improve the situation:
https://github.com/mixxxdj/mixxx/pull/1413
https://github.com/mixxxdj/mixxx/pull/1415

We still need to fix the main cause mentioned in the linked PR comment!

Changed in mixxx:
status: Confirmed → In Progress
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

The "sluggish" response is caused by the way how the worker thread communicates with the analyzer component in the main thread. I'll take care of this.

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

It turned out that the main reason for the unresponsiveness was actually the missing local caching in BaseTrackCache:

https://github.com/mixxxdj/mixxx/pull/1485

Be (be.ing)
Changed in mixxx:
status: In Progress → Fix Committed
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/9005

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.