Importing Midi in Ardour9 and Ardour8 has issues on Windows

Recently tried importing a midi file in Ardour9 and ardour would crash.
I tried importing the midi in Ardour8 and the time signature changes to X/8 show up as X/7. (IE my 9/8 time imports as 9/7)

Without sharing my actual song, I am instead sharing a midi file that crashes 9 and shows up as X/7 in 8
I use Tux Guitar to export my song tabs into midi form. Edit: Tux doesn’t seem to be the issue.

I will update shortly to see if I experience this on Linux as well

Update:
Imports fine on Ardour 8 on CachyOS.
I import with midi markers and tempo boxes checked

I guess I should ask where the logs might be on Windows so I can share those with you as well. Are there any tips for compiling on windows so I could maybe debug myself?

I’m pretty sure that Ardour already offers a pre-built Debug version that you can download from somewhere. It probably creates reports and backtraces that you can then forward to the developers. Hopefully one of the main devs here can point you in the right direction.

Does it work when you only import the file without markers and without tempo?

It works without errors in current git, which may be a function of another imported-tempo-map fix I did right after 9.0 was released.

We will release a 9.1 “hotfix” version in about another week.

2 Likes

Yes, it does import if I do not have either box checked
It crashes when I import the Midi Tempo Map, not the Midi Markers.

Thank you for responding, next time I can put a bug in the tracker instead of here specifically.

Just to clarify, it imports fine in the current code with either or both boxes checked.

Hi, I really should make a bug tracker issue or somehow figure out how to debug this myself.
I experienced the issue in 9.2 on Windows 10.
I apologize for not responding for a month and possibly not being the most active.

Edit:
The nightly I tested (9.2.162) might also crash when importing. I will do more research but it gave me the following line:
Temporal::TempoMetric::TempoMetric (this=0x25a7d2e0, t=…, m=…) at …/libs/temporal/tempo.cc:786

Edit 3: Updated
Yes, bug is in 9.2 and the nightly. The test midi I made was able to import correctly but the actual song of mine failed to import correctly

So I took the midi track that crashes ardour9 on windows 10 for me and removed everything except 1 track without any notes. I hope this can help and I wish I knew how to compile Ardour so I could commit my own fix