#16846·mixxx

Regression: DEBUG_ASSERT Library (re-)scanning crashes on Win (clean main)

Author: Eve00000Created Aug 6, 2026Updated Sep 22, 2026
Labelsregressionconfirmed

Bug Description

Mixxx 2.7.0-alpha-345-g993a9724b4 (up-to-date 20260806)

Happens both on Win 10 & Win 11:

  • when starting with clean settings
  • adding 1st dir on startup ... possible crash depending on size of the foilder else -> restart -> rescan library (depending on size of the folder)
  • adding extra folders to library ... possible crash depending on size of the folder
  • happens when rescan library on startup

crash while scanning / importing ...

mixxx.log

20260806-debug.txt

-> The error is due to line 207 in track.cpp beatsAndBpmModified = trySetBpmWhileLocked(importedBpm);

-> trySetBpmWhileLocked auto pBeats = mixxx::Beats::fromConstTempo(getSampleRate(), cuePosition, bpm);

-> fromConstTempo VERIFY_OR_DEBUG_ASSERT(sampleRate.isValid() && lastMarkerPosition.isValid() && lastMarkerBpm.isValid()) {

Version

Mixxx 2.7.0-alpha-345-g993a9724b4

OS

Win 10 & 11