Master Pallets causing Runtime failure.

• Apr 9, 2016 - 09:54

This is an issue I've had since upgrading musescore to 2.0 on Windows 7, when it launched but I only just figured out the cause, mind you this issue is minor for me because all I use master pallets for is custom time signatures. With musescore 2.0.3 I reset to factory and found the master pallets were no longer causing an issue, then I customized my settings how I like and lost the pallets again, so I reset and changed my settings restarting musescore and opening master pallets to find that what was causing it was a custom instruments file I made editing the original file to have the instruments sorted how I prefer, I was wondering if anyone could perform any insight on why an edited instruments file could cause the master pallets to crash musescore, it would be much appreciated. The error message states.

Microsoft Visual C++ Runtime Library

This application has requested the Runtime to terminate it in an unusual way.
Please contact this application's support team for more information.

And for reference I am attaching my instrument file.

Attachment Size
instruments-edit.xml 448.31 KB


In reply to by Jojo-Schmitz

Okay, I'll start with resseting to factory settings (just to be positive it isn't something else).
Open MuseScore
View-->Master Pallet...

Master Pallet Opens

Go to "Score" tab
Set "instruments-edit.xml" for Instrument list 1
Close MuseScore

Open MuseScore
View-->Master Pallet


If that isn't causing a crash for you, perhaps there's something wrong with my computer or the C++ Runtime Library. Also I forgot to mention my OS, Windows 7, I'll edit that in my OP for others to see as well.

In reply to by jason_pilla

Yes, that's what it Looks like, in order to generate the time sig palette it creatd a part for 'voice', this doesn't exist -> Crash

Stack trace (in master)
1 Ms::MCursor::addPart mcursor.cpp 161 0x8f8e60
2 Ms::NoteGroups::createScore noteGroups.cpp 35 0x5fdbe4
3 Ms::NoteGroups::setSig noteGroups.cpp 100 0x5fe289
4 Ms::TimeDialog::TimeDialog timedialog.cpp 69 0x4d7b12
5 Ms::MasterPalette::MasterPalette masterpalette.cpp 147 0x5c668e
6 Ms::MuseScore::showMasterPalette masterpalette.cpp 59 0x5c60f2
7 Ms::MuseScore::cmd musescore.cpp 4146 0x4991c6
8 Ms::MuseScore::cmd musescore.cpp 3994 0x498668
9 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 820 0x689210
10 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a655a2
11 ZN12QActionGroup7hoveredEP7QAction 0x61dc4b95
12 ?? 0x1faf4da0
13 ZN7QAction8activateENS_11ActionEventE 0x61dc3b6e
14 ?? 0x28c928
15 ?? 0x24748b04
16 ?? 0x74f68510
17 ?? 0x89068b28
18 ?? 0xfff189cb
19 ?? 0x74d83910
20 ?? 0x85108b12

In reply to by jason_pilla

there's only one addPart() call in the code, and it uses "voice" as ist Argument. There are a few more in the testing code (there using "voice" and "electric-guitar"), but this won't affect MuseScore as a program, just when using it for tests

Might be worth a comment in the XML file to not remove this

Do you still have an unanswered question? Please log in first to post your question.