Musescore 3 Crashing
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.
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.
Do you still have an unanswered question? Please log in first to post your question.
Comments
What version of MusyeScore exactly, and can you share the score you're trying to an instrument to?
In reply to What version of MusyeScore… by Jojo-Schmitz
Hello, version 3,4,1,2501
In reply to Hello, version 3,4,1,2501 by williamsilk1
Trying to add a bassoon and a French horn
In reply to Trying to add a bassoon and… by williamsilk1
No problem adding a Bassoon, or any Horn (there is none by the name of French Horn though)
MuseScore 3.4.2, Windows 7
Edit: darn, adding a Horn in F and I get a crash
Edit 2: and now with Bassoon too, strange
Firering up a debug build now...
In reply to No problem adding a Bassoon,… 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:
With
sll
being0
, so a null pointer gets dereferenced -> kaboom!So indeed related to links between score and parts.
In reply to Inititial observation,… by Jojo-Schmitz
band aid for that crash is to check for nullptr before using it:
In reply to No problem adding a Bassoon,… by Jojo-Schmitz
Also crashes MuseScore 3.3.4
(I haven't upgraded yet.)
Deleting all the parts allows adding instruments without the crash.
In reply to Also crashes MuseScore 3.3.4… by Jm6stringer
Indeed, see below
Crashes in latest master too
In reply to Trying to add a bassoon and… by williamsilk1
I can add instruments if first removing all parts.
A first possible workaround...
In reply to I can add instruments if… by Jojo-Schmitz
Score with recreated parts
In reply to Trying to add a bassoon and… by williamsilk1
How did you create that score? Almost all date in File > Score Properties is empty, including Platform and Creation date, which are automatically filled on score creation
In reply to How did you create that… 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?
In reply to So this brings is back to… by Jojo-Schmitz
yes it was created ages ago with early musescore. my orchestra is growing and wanted to resurrect this piece.
ok thank you will redo each part.
thank you
In reply to yes it was created ages ago… by williamsilk1
Can you share the old version? Needed to make sure we can fix that crash the right way.
Also please tell us what you did to is after the import, as detailed as possible
In reply to Trying to add a bassoon and… by williamsilk1
Culprit seems to be the 2nd Dwarsfluit part (why 2 of them?), so removing just that prevents/avoids the crash already.
In reply to Hello, version 3,4,1,2501 by williamsilk1
There is 3.4.2 available meanwhile, but I don't see it to fix an issue that looks like your's, see https://musescore.org/en/handbook/developers-handbook/release-notes/rel…
Crash fixed in the latest development build and as such in next release