View Issue Details

IDProjectCategoryView StatusLast Update
0010351ardourbugspublic2026-05-20 14:39
Reportermagiclen0810 Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformUbuntuOSLinuxOS Version(any)
Product Version9.5 
Summary0010351: Segfault when importing a MIDI file with "Use MIDI Tempo Map" enabled
DescriptionImporting the attached .mid file with the "Use MIDI Tempo Map" option checked
crashes Ardour with SIGSEGV. Unchecking that option lets the import complete
normally, so it's specifically the tempo-map path.

Same crash on 9.2 and 9.5 (official linux x86_64 binaries from ardour.org), so
it doesn't look like a 9.5 regression.

The file is a SMF type 1 with 6 tempo events (ranging from 0000069:0000052 to 84 BPM) and
4 time-signature events. The first time signature in the file is 1/4 at tick 0,
followed by 4/4 — that's the most unusual thing about the file and might be
what's tripping the importer up, but I haven't bisected.
Steps To Reproduce1. Start Ardour 9.5 with any session (new or existing).
2. Session > Import Audio/MIDI files... and pick the attached Second_Run_-_Vanilla_mood.mid.
3. In the import dialog, tick "Use MIDI Tempo Map".
4. Click Import. Ardour segfaults.

Drag-and-drop import with the same option set crashes the same way.
Without "Use MIDI Tempo Map", import works fine.
Additional InformationOS: Linux (x86_64)
Ardour: 9.5.0 (official binary, /opt/Ardour-9.5.0). Also reproduces on 9.2.
CPU: Intel(R) Core(TM) Ultra 9 285K

The full stderr is attached as ardour-stderr.txt. The tempo map gets fully
constructed and dumped ("final map" + the point list print out), then the
segfault happens immediately after — so it looks like the crash is downstream
of the map construction itself, possibly when the map is being applied or
the import session is being committed.

Last lines before the crash:

    0x64cd07a0db70 P@36892019548/179:1916/46|1|1916 BarTime Tempo Meter
    ------------
    [1] 39642 segmentation fault (core dumped) /opt/Ardour-9.5.0/bin/ardour9

No backtrace — I haven't rebuilt with debug symbols, sorry.
Tagscrash, Import, Midi, tempo-map

Activities

Issue History

Date Modified Username Field Change
2026-05-20 14:39 magiclen0810 New Issue
2026-05-20 14:39 magiclen0810 Tag Attached: crash
2026-05-20 14:39 magiclen0810 Tag Attached: Import
2026-05-20 14:39 magiclen0810 Tag Attached: Midi
2026-05-20 14:39 magiclen0810 Tag Attached: tempo-map
2026-05-20 14:39 magiclen0810 File Added: Second Run - Vanilla mood.mid