GUI freezes unrecoverable when loading tracks

Bug #1885894 reported by Marc Ranolfi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Won't Fix
Critical
Unassigned

Bug Description

This is a follow-up from https://bugs.launchpad.net/mixxx/+bug/1789059/comments/16 and onwards. It is different from https://bugs.launchpad.net/mixxx/+bug/1743266 in that it is reproducible with waveform types other than RGB (GLSL), the tracks keep playing until the end, and I can forcefully close Mixxx without losing control of my desktop environment.

Description: Mixxx freezes when loading tracks and requires a force-close. Sometimes I can load 50+ tracks before it happens, other times I get it when first loading a track having just started Mixxx. Regardless, it's been happenning consistently. Using a kernel with the realtime patchset and low-latency ('CONFIG_HZ=1000') appears to have made this more noticeable, but is not a requirement for reproducibility.

I was asked to test with a build without perftools from Google but the problem remains.

Relevant backtrace is at #23 in the linked bug; I'm attaching it again here for convenience. From it, developer uklotzde has identified a deadlock to be originating from 'WOverview'.

Revision history for this message
Marc Ranolfi (marc.2377) wrote :
Revision history for this message
Be (be.ing) wrote :

What version of Qt are you using? The backtrace looks like the deadlock is in Qt.

Revision history for this message
Marc Ranolfi (marc.2377) wrote :

It's QT 5.15.0.

Changed in mixxx:
importance: Undecided → Critical
Revision history for this message
Be (be.ing) wrote :

https://bugreports.qt.io/browse/QTBUG-84857

A comment on the upstream bug says it should be fixed in Qt 5.15.1. Could you try building Qt's 5.15 branch from their Git repository? https://github.com/mixxxdj/mixxx/wiki/compiling on linux has instructions for building Mixxx with a locally built version of Qt.

Revision history for this message
Be (be.ing) wrote :

Ugh Launchpad is awful and broke the link. Hopefully Launchpad doesn't break this link:
https://github.com/mixxxdj/mixxx/wiki/compiling-on-linux

Revision history for this message
Marc Ranolfi (marc.2377) wrote :

Funny thing is, I actually tried to land on that page via Google (first result to https://www.google.com/search?client=firefox-b-d&q=mixxxx+switch+to+cmake) and it's broken there too. Had to refer to the cached version :p

Thanks for the finding @Be. I'll try it.

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

Should we set the state of this bug to "Won't fix"? We just have to remember NOT to use Qt 5.15.0 for any build.

Once again Fedora's strategy to adopt new Qt major versions only after 1 or 2 minor versions turns out to be a sensible decision.

Be (be.ing)
Changed in mixxx:
status: New → Won't Fix
Revision history for this message
Marc Ranolfi (marc.2377) wrote :

Alright, compiling all QT5 packages at branch 5.15 proved to be a lengthy, slighly error-prone and painful endeavour, and when qtlocation would not build due to whatever error in the source code, I decided to try something quicker and apply the patch to https://bugreports.qt.io/browse/QTBUG-84619 on top of 5.15.0 instead. And as expected, the problem seems to have been fixed.

Thank you for your guidance and help!

Revision history for this message
Be (be.ing) wrote :

Thanks for taking the time to test and follow up.

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/10035

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.