Mixxx crashes when click on a track updated with Musicbrainz Metadata

Bug #1981106 reported by Fatih Emre YILDIZ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Committed
Undecided
Unassigned

Bug Description

I am having an interesting error. Since I am playing with the "import metadata from musicbrainz" button a lot I was having an critical error and Mixxx was crashing very often. I thought it was because the changes I did on while I am trying to add cover art fetcher. I changed my branch to upstream/main, I was having the same error. So I decided to take a look.

It is happening after I click a track which is updated with a new metadata.
What is happening:
I update a track with "Import Metadata from Musicbrainz"
I apply the changes.
I click on the song which is updated on the track library and Mixxx crashes.

The error is:
critical [Main] DEBUG ASSERT: "getSourceSynchronizedAt() <= fileSourceSynchronizedAt" in function mixxx::TrackRecord::SourceSyncStatus mixxx::TrackRecord::checkSourceSyncStatus(const mixxx::FileInfo&) const at /home/whoami/mixxx/src/track/trackrecord.cpp:175

So I commented that block of code in the function, I started to not have this error. I think it is related with the debug mode, and for developers to notice. I have also tried without developer mode, there was no error.

The function is: https://github.com/mixxxdj/mixxx/blob/b58dd5bc990a1f6afe7a400e9b9451882c78112a/src/track/trackrecord.cpp#L136

Revision history for this message
Fatih Emre YILDIZ (fatihemreyildiz) wrote :

I am not sure if it is even a bug, or an important bug. @uklotzde Could you please take a look? Thanks in advance.

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

Thanks for reporting this. We didn't consider a valid use case and this should not be a debug assertion. I wonder why no one has discovered that yet.

Changed in mixxx:
status: In Progress → Fix Committed
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/10782

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.