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

utc DEBUG_ASSERT when scanning re-added track file #10758

Closed
mixxxbot opened this issue Aug 23, 2022 · 2 comments
Closed

utc DEBUG_ASSERT when scanning re-added track file #10758

mixxxbot opened this issue Aug 23, 2022 · 2 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: ronso0
Date: 2022-06-24T23:15:26Z
Status: Fix Committed
Importance: Critical
Launchpad Issue: lp1979864


I played a file via drag'n'drop earlier, then deleted that file.
Now I re-downloaded the track and Mixxx hits this debug assertion, both when rescanning music directories and when dragging the track onto a deck.
After the crash I checked if the previous file is in Missing -- it's not.

Noticed when testing modplug fix PR #4736 with this track:
https://www.infect-rules.de/2019/12/27/beathoven-infect-back-on-track-module-released-xmas-2019/
Happens with main, too.

debug [LibraryScanner 1] LibraryScanner - slotStartScan()
info [LibraryScanner 1] LibraryScanner - Cleaning up database...
info [LibraryScanner 1] LibraryScanner - Deleted 5 orphaned directory hashes
info [LibraryScanner 1] LibraryScanner - Finished database cleanup: 22 ms
debug [LibraryScanner 1] LibraryScanner - Recursively scanning library.
debug [LibraryScanner 1] SqlTransaction - Started new SQL database transaction on "MIXXX-2"
debug [Thread (pooled)] Importing track "/home/me/Music/beathoven_back-on-track.mod"
debug [LibraryScanner 1] GlobalTrackCache - Resolving track by canonical location "/home/me/Music/beathoven_back-on-track.mod"
debug [LibraryScanner 1] GlobalTrackCache - Cache miss - allocating track  TrackRef {"/home/me/Music/beathoven_back-on-track.mod","/home/me/Music/beathoven_back-on-track.mod",-1}
debug [LibraryScanner 1] GlobalTrackCache - Cache miss - inserting new track into cache  TrackRef {"/home/me/Music/beathoven_back-on-track.mod","/home/me/Music/beathoven_back-on-track.mod",-1} QObject(0x0)
info [LibraryScanner 1] Unable to detect MIME type from file "/home/me/Music/beathoven_back-on-track.mod"
info [LibraryScanner 1] Unable to detect MIME type from file "/home/me/Music/beathoven_back-on-track.mod"
debug [LibraryScanner 1] SoundSourceProxy - SoundSourceProvider "MODPlug" created a SoundSource for file "file:///home/me/Music/beathoven_back-on-track.mod" of type "Protracker"
debug [LibraryScanner 1] SoundSourceProxy - Initializing track metadata and embedded cover art from file "file:///home/me/Music/beathoven_back-on-track.mod"
info [LibraryScanner 1] SeratoMarkers2 - Reading bpmlock state from 'Serato Markers2' tag data...
debug [LibraryScanner 1] Reading cues from 'Serato Markers2' tag data...
DEBUG ASSERT: "sourceSynchronizedAt.timeSpec() == Qt::UTC" in function bool mixxx::TrackRecord::replaceMetadataFromSource(mixxx::TrackMetadata&&, const QDateTime&) at /home/me/Downloads/mixxx_source/src/master/src/track/trackrecord.cpp:194
Aborted (core dumped)
@mixxxbot mixxxbot added the bug label Aug 23, 2022
@mixxxbot
Copy link
Collaborator Author

Commented by: uklotzde
Date: 2022-06-26T09:59:48Z


#4826

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Committed.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.4.0 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant