Versions 3.5 and 3.6 crash when I try to SAVE after typing in lyrics

• Jan 27, 2021 - 13:37

I am trying to add lyrics to Shelia Lee's arrangement of Happy. I type in some text and try to save it and Musescore crashes. I have gone back and forth between Musescore versions, and it happens under both versions 3.5 and 3.6. I have also try to reboot and I also tried it on a different computer. Attached is the Musescore file. Is it a bug, or am I doing something wrong?
Thanks in advance,

Attachment Size
happy-all parts_3.mscz 46.05 KB


Confirmed, for 3.5.2amd 3.6.0 so far.
If saving first, then adding lyrics, there's no crash, for some reason?!?

Firing up the latest development build in a debugger...

Stack trace:
1 QListData::size qlist.h 113 0x106a3cc
2 QList::size qlist.h 170 0x104e968
3 Ms::TextBase::rows textbase.h 376 0x1035a9e
4 Ms::TextCursor::changeSelectionFormat textbase.cpp 250 0xad6e0f
5 Ms::TextCursor::setFormat textbase.cpp 275 0xad70c3
6 Ms::TextTools::fontChanged texttools.cpp 237 0x4a28df
7 Ms::TextTools::qt_static_metacall moc_texttools.cpp 97 0x6079ce
8 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947f8
9 QFontComboBox::currentFontChanged(QFont const&) 0x2ce44f47
10 QFontComboBox::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2ce463cf
11 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947f8
12 QComboBoxPrivateContainer::mousePressEvent(QMouseEvent *) 0x2ce1f286
13 QComboBox::setLineEdit(QLineEdit *) 0x2ce21f66
14 QComboBox::setCurrentIndex(int) 0x2ce221b3
15 QFontComboBox::currentFont() const 0x2ce45cc6
16 QFontComboBox::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2ce46353
17 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947f8
18 QFontDatabase::load(QFontPrivate const *, int) 0x61a53f9d
19 QFontDatabase::addApplicationFont(QString const&) 0x61a54e47
20 Ms::ScoreFont::draw sym.cpp 6143 0xabf753

In reply to by Jojo-Schmitz

A bit weird for now (a clue: XML import) before understanding what is exactly the trigger among the symbols involved (or it's a whole)
Indeed, for some reasons, by removing all different symbols of Repeats & Jumps (Segno, measure 18, and Codas, measures 65/66, To Coda, measure 33, and DS al Coda etc. measures 50/51), it works again: 1happy-all parts.mscz

EDIT: In addition, exporting in xml format seems to be a good cleanup: happy-all parts.mxl

In reply to by Jojo-Schmitz

I did save first yesterday (without lyrics) and came back today to add lyrics and I could not because of crashes. What did work was that I had another arrangement with words and I opened them up side by side and copied the words from the one with words to Shelia's arrangement. I did this for some words and entered other words just to see what would happen and I could. So, I was able to get the lyrics entered.

It may help to know how I created the "all parts" .mscz file. I read Shelia's separate pdf's for each part into Audiveris and created .xml files for each part. Then I cleaned each .xml file up and saved it as a .mscz file for each part. I then made a copy of 1st part .mscz file and renamed it "all parts" and then copied and pasted each part into a separate stave of the "all parts" .mscz file. This procedure may have caused the problem since I have not had this problem before.

I wanted to thank you for responding to me,

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