Floating point exception when loading a .mscx score

• Mar 30, 2022 - 21:53
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Whenever I try to load a specific file, I get:

Invalid QML element name "Ms::PluginAPI::Enum"
measure overrun 15360, 960 > 0, track 0
Exception en point flottant

Attachment Size
Les_boites_a_musique.mscx 200 KB

Comments

libmscore/sig.cpp, void TimeSigMap::normalize():

      for (auto i = begin(); i != end(); ++i) {
            SigEvent& e  = i->second;
            bar += TimeSigFrac(i->first - tick, tm).reduced();
            e.setBar(bar.numerator() / bar.denominator());    // <- here's the crash, denominator() being 0
            tick = i->first;
            tm   = ticks_measure(e.timesig());
            }

The score's source does look rather unusual, none of the 4 instruments (Soprano, Alto, Hommes and another unnamed instrument, in F clef) do have any instruments definitions (range, sound, articulationes, etc.). There's no time signature at all (probably should be 1/2, as that is what most measures are set to).

Frequency Once Few
Severity S2 - Critical S1 - Blocker
Status needs info active
Reported version 3.6

Hi,
This score is 8 years old, I think I've done it with Noteworthy then translated into XML with lasconic's tool, but frankly I'm not really sure... I've translated more than 1,000 score that way and it always functioned...
The problem with this piece is that lyrics are complicated and long enough. I'd be glad if I could avoid typing them again.

Frequency Few Once
Severity S1 - Blocker S2 - Critical
Reported version 3.6  

Again: You're all but ine and crashes (on loading a single score) are critical.
That score never worked, it crashes in all 2.x and 3.x versions and doesn't open in 1.x