Crash upon creating a new score
When selecting a template in the New Score Wizard, after clicking one, Musescore instantly crashes.
Steps to recreate:
1. Open Musescore (version 2.2.9), and open the New Score Wizard
2. Click next until you reach the templates.
3. Click on one.
This will cause Musescore to crash. Not sure what causes it though.
(OS: Windows , Arch.: x86_64, MuseScore version (32-bit): 2.2.9, revision: 3bb48cb)
Comments
I cannot open the application; the attached log mentions templates.
I don't know if it's because you need to reset factory settings, according to this?
Confirmed using Treble Clef template. Note: I have installed the MDL extension, suspect OP has as well? Crash happens drawing the keysig palette, presumably in the next screen of the wizard, because the score is null. No idea why that would have changed.
In reply to I cannot open the… by chen lung
I uninstalled the MDL extension and reset to factory settings, and it still crashes when selecting a template
Same here, but without reset to factory (i.e. installed and then removed MDL, and crashes on every template)
As per the crash log it crashes in
Ms::ScoreBrowser::setScores(QList<QFileInfo>&)
I guess the origin of this issue has been identified.
If need to be confirm, I see the change yesterday, June 19 (some commits related to "an easy way to install soundfonts, templates etc.")
This nightly works : 9aa4bb2
Crash with the next one: d41ed2a
Stack trace is somewhat surprising:
1 QSharedDataPointer::operator-> qshareddata.h 69 0xca9a0c
2 Ms::MStyle::spatium style.cpp 1625 0x7ae9af
3 Ms::Score::spatium score.h 883 0xcaffd6
4 Ms::Element::spatium element.cpp 227 0x7cc407
5 Ms::KeySig::layout keysig.cpp 91 0x8c6cca
6 Ms::Palette::paintEvent palette.cpp 851 0x4bc6a4
7 ZN7QWidget5eventEP6QEvent 0x1cc9bcc0
8 ?? 0x3271dc3b
9 ntdll!RtlFreeHeap 0x770df570
Trying to layout a keysig of a score that doesn't yet exist?
See https://github.com/musescore/MuseScore/pull/3738
It is not just on creating a new score from a template, but also when selecting instruments.
Fixed in branch 2.3, commit ab0b0b451d
fix #273502: Crash upon selecting a template in new score wizard
Fixed in branch 2.3, commit e8b162b5fc
Merge pull request #3738 from lasconic/fix-273502
fix #273502: Crash upon selecting a template in new score wizard
I have the same issue in this 2.3-dev version. But it's not just templates, it's also if i add the instruments manually in the new score wizard. If I add an alto saxophone, and click next, the application crashes. Should I just wait and reinstall the 2.3-dev version?
In reply to I have the same issue in… by Magna Brass Band
Oh I just realized that the previous comment was only 20 minutes ago
Automatically closed -- issue fixed for 2 weeks with no activity.