Crash when editing first measure of loaded score with multi measure rests

• Jul 10, 2016 - 06:27
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

When I try to move a bit of System Text by unchecking the Automatic Placement box, Musescore crashes. I'm using the nightly update from July 8. July 9 came back 404. I decided to try the nightly update because my regular version that I'm using (not sure. last stable version I suppose. Properties window has no info).

Attachment Size
25_or_6_to_4_070820162015.mscz 70.91 KB

Comments

Stack trace:
1 Ms::Element::parent element.h 362 0xdaeedc
2 Ms::System::page system.h 101 0xdad9df
3 Ms::Score::doLayoutRange layout.cpp 3651 0x80f5f5
4 Ms::Score::update cmd.cpp 203 0x784650
5 Ms::Score::endCmd cmd.cpp 173 0x7843ca
6 Ms::InspectorBase::valueChanged inspectorBase.cpp 407 0x5ce44d
7 Ms::InspectorBase::valueChanged inspectorBase.cpp 507 0x5cee79
8 Ms::InspectorBase::qt_static_metacall moc_inspectorBase.cpp 85 0x691125
9 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a08842
10 ZN13QSignalMapper3mapEP7QObject 0x68a11fcf
11 ??

Title crash when unchecking Automatic Placement Crash when editing first measure of loaded score with multi measure rests

@Bemo64: It seems you did not create this score with a stable version of MuseScore. The nightly builds are for testing purposes only. You should not use them for real work.

I think this is not at all related to the System Text items: Try to enter some music in the first measure of any of the systems in your score and you get the same crash.
It looks like this is about (loading scores that contain) multi measure rests. If you first switch them off for all parts, the crash goes away.
My investigation gives this: Editing (almost) anything in the first measure of a score, that has been loaded(!) with multi measure rests activated, crashes.

Simple way to reproduce:
1) Load 'SimpleScoreWithParts.mscz'
2) Add some music (quarter note or longer) to the first measure of either system.
-> Crash

Interestingly SimpleScoreWithParts.mscz does not crash if you enter notes shorter than a quarter (8th, 16th ...). 25_or_6_to_4_070820162015.mscz however does always crash here.

Attachment Size
SimpleScoreWithParts.mscz 7.28 KB