Copying and pasting two measures with rests causes floating-point exception
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Maybe just a problem with the debug build.
Reproduce:
1. Open attached score
2. Copy measures 1-2
3. Paste into measure 3
4. Crash
Found while investigating #277912: Select/More for rests is broken.
I'm investigating this issue.
Attachment | Size |
---|---|
restcrash.mscz | 3.97 KB |
Comments
Possibly an effect of: https://github.com/musescore/MuseScore/commit/ab6830fbd84ad9b82b6f4297d…
FWIW, not just debug builds. I get a crash even just copying the first measure of the default empty score to the second.
In reply to Possibly an effect of: https… by TheOtherJThistle
"Possibly an effect of" : https://github.com/musescore/MuseScore/commit/ab6830fbd84ad9b82b6f4297d…
Indeed. This nightly works: 0128daf
Not this one (crash with) : 6076cc4
And the mentioned commit is just in between.
https://github.com/musescore/MuseScore/pull/4126
Five days after the PR was created I came across this again in build OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: cc16e73. I only had to copy a single measure to get a crash.
This seems to have been fixed with https://github.com/musescore/MuseScore/pull/4134.
Automatically closed -- issue fixed for 2 weeks with no activity.