Skip to content

Regression: Library (re-)scanning crashes on Win (clean main) -> x64debug reports 'out of memory' #16846

Description

@Eve00000

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions