Changing "Actual Measure Duration" under a volta causes crash

• Jun 1, 2015 - 03:12
Type
Functional
Severity
S2 - Critical
Status
closed
Project

MuseScore 2.0.1 crashes when the following is performed on the attached file:
* Delete the last 2 notes (2 16th notes under a closed volta) in the last measure.
* Right-click on the last measure. Select "Measure Properties".
* Change the "Measure Duration Actual" to "3/8".
* Click "OK" or "Apply". The application then crashes.

Note: the crash does NOT occur if the volta is removed before changing the actual measure duration.

GIT commit: b25f81d

Attachment Size
CrashTest.mscz 6.8 KB

Comments

I'm using the Mac version, running under OS X 10.10.3. The specific build of MuseScore is 2.01 Revision b25f81d. For me, the crash happens consistently, not just intermittently.

I can't reproduce either with the psoted score

Can you see if this also happens for you if it is not the last measure of the score? Can you try some other variations - lengthening instead of shortening the measure, for instance - to see if you can narrow it down further?

Shortening a measure with a volta line works fine as long as it is not the last one of the score. Also, lengthening the last measure does not cause a crash. However, it does crash if I first lengthen the last measure and then shorten it to less than its nominal length.

One thing I did notice is that if I shorten a measure with a volta line in the middle of a score, the line gets automatically extended over the following measure (which is probably not the desired behavior). Perhaps when this is done on the last measure, MuseScore tries to extend the volta line to the following non-existent measure, thereby causing the crash. I attached a screenshot showing what happens when I shorten a middle measure that has a volta line.

Attachment Size
ExtendedVoltaLine.jpg 207.29 KB