Adding Instrument to score with multi-measure rests enabled crashes MuseScore

• Sep 16, 2014 - 03:02
Type
Functional
Severity
S2 - Critical
Status
closed
Project

After completing a score, adding an instrument to the score crashes the application.


Comments

Try this. I have a score, but say I wanted to add a Bass Guitar, when I press "I", it opens the instrument panel, go to "Plucked Strings", down to "Bass Guitar", a prompt box opens saying that Musescore has encountered a problem and needs to close.

Attachment Size
Mission_Impossible.mscz 3.97 KB

Works fine for me with 2.0 Beta 1 on Windows 7 as well.

So given it fails for the OP on two different machines, this suggests that if it is something system-dependent, it's something common to both systems. Some other application installed on both, perhaps (although this seems rather an unlikely cause to me).

I don't suppose you had tried editing instruments.xml, and did so on both machnes, and made some sort of syntax error in both?

I can't reproduce with that score, but this reproduces it:

Take My First Score
Press M
save
close
open
Press I
add a piano
crash

toggle mm rests alone doesn't help, save,close,reopen is needed (to show or work around the bug)

Title Adding Instruments Adding Instrument crashes MuseScore

Fatal: ASSERT: "score()->nstaves() * VOICES == _elist.size()" in file ...\MuseScore\libmscore\segment.cpp, line 428 (global\qglobal.cpp:2127, void qt_assert(const char*, const char*, int))

That must be my problem. I've tried it a couple times. Sometimes it works, and sometimes it doesn't.

Regardless, it's crashing my application trying to add an instrument to a pre-existing score.