Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixxx 2.5.0 freezes when changing library folder #14306

Open
yanus opened this issue Feb 7, 2025 · 12 comments
Open

Mixxx 2.5.0 freezes when changing library folder #14306

yanus opened this issue Feb 7, 2025 · 12 comments
Labels

Comments

@yanus
Copy link

yanus commented Feb 7, 2025

Bug Description

Since upgrading to 2.5.0, the UI freezes indefinitely everytime I click any of the folders in the library sidebar.
The track keeps playing and the controller still works (although I don't seem to be able to control the EQ knobs anymore).
The only option is to force quit Mixxx.
The log doesn't seem to be useful, since all entries are from before the freeze and there isn't anything out of the ordinary even before that.
Let me know if there's anything I should try or additional information I could collect!

Version

2.5.0

OS

Windows 11

@yanus yanus added the bug label Feb 7, 2025
@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

What do you mean with "folders"?
Any sidebar item, or literally disk folders in the Computer feature?

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

You might see more debug messages when you start Mixxx from the command line with --log-level trace.
https://manual.mixxx.org/latest/en/chapters/appendix/commandline_dev_tools.html

If that indeed reveals more, please try to catch the output just after you clicked an item and paste it here, preferably wrapped in triple backticks, or just click the 'code' format button < > in the message toolbar.

@yanus
Copy link
Author

yanus commented Feb 7, 2025

What do you mean with "folders"? Any sidebar item, or literally disk folders in the Computer feature?

It's any item in the sidebar, even clicking the "Tracks" that's already selected when starting Mixxx causes the issue. However, expanding items by clicking on the small triangles works fine.

You might see more debug messages when you start Mixxx from the command line with --log-level trace.

Thanks, I've tried the command line flag and also unloaded all decks and samplers to cut down on the amount of messages, but there is nothing special when I click an item, only a stream of messages like this:

15:23:04.709 Debug [Engine] EngineSync - EngineSync::notifyInstantaneousBpmChanged "[InternalClock]" Bpm(123.93)
15:23:04.709 Debug [Engine] EngineSync - EngineSync::notifyBeatDistanceChanged "[InternalClock]" 0.958198
15:23:04.709 Debug [Engine] EngineSync - EngineSync::updateLeaderBeatDistance "[InternalClock]" 0.958198

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

Thanks!

If you're okay with testing a debug build, I'd set up a branch with additional logging?

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

Btw Qt version is used?
You'll find that in the About dialog.

Btw what happens if you start Mixxx and don't click, but Tab to sidebar and use the Down key to navigate?

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

The PR is #14307 and infos for testing are here
https://github.com/mixxxdj/mixxx/wiki/Testing
And make a backup of your data, just in case
https://github.com/mixxxdj/mixxx/wiki/Testing#backup-settings-and-database

@yanus
Copy link
Author

yanus commented Feb 7, 2025

Btw Qt version is used? You'll find that in the About dialog.

Qt version: 6.5.3

Btw what happens if you start Mixxx and don't click, but Tab to sidebar and use the Down key to navigate?

It appears that any keypress (even Ctrl key) while the sidebar is focused also triggers the issue.

@yanus
Copy link
Author

yanus commented Feb 7, 2025

The PR is #14307 and infos for testing are here https://github.com/mixxxdj/mixxx/wiki/Testing And make a backup of your data, just in case https://github.com/mixxxdj/mixxx/wiki/Testing#backup-settings-and-database

Alright, I've tried the test build, and most of the time I don't see the debug message, so maybe something breaks earlier. But here is one I've caught:

17:31:49.992 Warning [Main] SidebarModel::clicked QModelIndex(0,0,0x2054cc973b0,SidebarModel(0x2054cc973b0))
17:31:49.992 Warning [Main]   index valid
17:31:49.992 Warning [Main]   index is root of "Tracks" -> activate()
17:31:49.992 Debug [Main] MixxxLibraryFeature::activate()
17:31:49.992 Debug [Main] WTrackTableView::loadTrackModel() LibraryTableModel(0x20535f19180)
17:31:49.997 Debug [Main] LibraryTableModel(0x20535f19180) select() returned 0 results in 0 ms

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

Great, thanks!

But after that the UI would still freeze?

It appears that any keypress (even Ctrl key) while the sidebar is focused also triggers the issue.

That sound severe.. no idea how to procede

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

Do you have any external libraries enabled, eg. Traktor or iTunes?
If yes, does it make a difference if you disable all and restart?

@yanus
Copy link
Author

yanus commented Feb 7, 2025

But after that the UI would still freeze?

Yes, unfortunately.

Do you have any external libraries enabled, eg. Traktor or iTunes?

No external libraries enabled.

I did some more testing, and things are even weirder... if I set the number of samplers to 4 or 8 (instead of 16) and then restart Mixxx, things are fine. If I close a certain background app (DeepL translator) before starting Mixxx, it's fine as well. I'm starting to think my laptop is cursed...
In any case, thank you for the assistance so far trying to figure this out! I'll see if I can make sense of it some more and let you know if I get any additional insights.

@ronso0
Copy link
Member

ronso0 commented Feb 7, 2025

Puuh, sounds fun.. not 😓

I have no clue how all this relates. Number of samplers is entirely unrelated to signals in the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants