Musescore 3 Crashing

• Mar 13, 2020 - 10:12

I have iOS 10.15.3 and everytime I add a an instrument and say OK, it closes unexpectedly. Please can someone help me sort this out ASAP.


Comments

In reply to by Jojo-Schmitz

Inititial observation, loading that score into a debug build I get the following message many times:

Warning: reorderMidiMapping: no part in master score is linked (...\libmscore\midimapping.cpp:146, void Ms::MasterScore::rebuildExcerptsMidiMapping())

Looks suspicious somehow, and related to the score/part relationship

Adding Bassone on hitting OK I get this stack trace:

1 QListData::begin qlist.h 118 0xfa902c
2 QList::begin qlist.h 339 0xf92f9c
3 Ms::MuseScore::editInstrList instrdialog.cpp 521 0x702a73
4 Ms::MuseScore::cmd musescore.cpp 6012 0x42f3d4
5 Ms::MuseScore::cmd musescore.cpp 5842 0x42e6c7
6 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 514 0x633e2d
7 void doActivate(QObject *, int, void * *) 0x68be03cd
8 QActionGroupPrivate::_q_actionTriggered() 0x2bee4da2
9 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2bee5359
10 void doActivate(QObject *, int, void * *) 0x68be03cd
11 QAction::activate(QAction::ActionEvent) 0x2bee3e2a
12 QAction::event(QEvent *) 0x2bee490b
13 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2bee7a10
14 QApplication::notify(QObject *, QEvent *) 0x2beee543
15 QCoreApplication::sendEvent(QObject *, QEvent *) 0x68a975b9
16 QShortcutMap::dispatchEvent(QKeyEvent *) 0x619abb06
17 QShortcutMap::tryShortcut(QKeyEvent *) 0x619ac5e9
18 QWindowSystemInterface::handleShortcutEvent(QWindow *, unsigned long, int, QFlags, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) 0x61956d10
19 QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *) 0x61974c35
20 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *) 0x61979505
...

Code at stack level 3 is that inner for loop:

                  for (Staff* s : sl) {
                        const LinkedElements* sll = s->links();
                        for (auto le : *sll) {

With sll being 0, so a null pointer gets dereferenced -> kaboom!
So indeed related to links between score and parts.

In reply to by Jojo-Schmitz

So this brings us back to this question
Looking deeper into that score seems to show that it had been imported from an earlier version of MuseScore, I guess MuseScore 1.x (which didn't have linked parts)
Is that the case? Do you still have the score before importing it into 3.x?

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