Musescore Crashes when deleting an instrument
Please find attached a score with two instruments... Electric Guitar and Accoustic Guitar.
When attempting to delete the Electric Guitar musescore crashes, without deleting the instrument.
Some possible insights:
* The score started out as ELECTRIC guitar only, with a linked TAB.
* I attempted to drop the ELECTRIC guitar and linked tab, but it crashed.
* I was able to drop the TAB with no issues, but still unable to drop the ELECTRIC guitar
* After moving the ACOUSTIC guitar to be the #1 instrument attempts to drop the ELECTRIC guitar still crashes musescore.
I assume the attached diagnostics file contains all of the system/environment info needed.
Thanks,
Attachment | Size |
---|---|
My Funny Valentine - Crash.mscz | 57.21 KB |
Musescore Diagnostics - MFV.zip | 639.39 KB |
Comments
I cannot reproduce the crash. No problem here, I can remove the Electric guitar (version 4.4.4, Windows10)
In the Instruments panel, I select the Electric Guitar, then click on the recycle bin, and get a score with the Acoustic Guitar alone.
See: 1My Funny Valentine - Crash.mscz
In reply to No problem here (version 4.4… by cadiz1
(edited)
In reply to No problem here (version 4.4… by cadiz1
The OP apparently is using a Mac, where MuseScore might well crash under different circumstances than on Windows
Interesting. On my system, removing the acoustic guitar causes the crash. No matter what method I use.
In reply to Interesting. On my system,… by bobjp
" removing the acoustic guitar causes the crash"
Me too.
@Dave.Turpin
Are you sure you're talking about deleting the Electric Guitar (the 2nd instrument on your score), or are you mixing up the 2 instruments in your message?
In reply to " removing the acoustic… by cadiz1
I can confirm that.
In reply to " removing the acoustic… by cadiz1
In the latest builds it crashes on deleting the Electric Guitar and undoing that
In reply to In the latest builds it… by Jojo-Schmitz
I can reproduce from scratch (1 or 2 measures are enough)
Selecting and removing the first instrument leads to a crash. Removing two chord symbols (C) or fretboard diagrams (which, in effect, also remove the chord symbols) solves the problem: test chords.mscz
In reply to I can reproduce from scratch… by cadiz1
The rule is simple - crash when deleting any top staff if the last staff contains a freatboard
In reply to The rule is simple - crash… by mercuree
That's it. And of course it deserves a report on Github.
In reply to That's it. And of course it… by cadiz1
Indeed
In reply to That's it. And of course it… by cadiz1
Ok, here is a link https://github.com/musescore/MuseScore/issues/26523
In reply to Ok, here is a link https:/… by mercuree
In which previous version did this work? Not in 4.4.4 for sure.
Nor in 4.3.2 or 4.2.1, Cant't test (with that score) with earlier versions.
Actually I can, with a file created from scratch, reproduce with 4.0.1, but not with 3.6.2
In reply to Ok, here is a link https:/… by mercuree
See https://github.com/musescore/MuseScore/pull/26524 for a possible fix (which does feel like band aid)
In reply to In the latest builds it… by Jojo-Schmitz
Famous last words (in the logs):
2025-02-15T18:51:18.620 | DEBUG | main_thread | Score::endCmd | Undo stack current macro child count: 224
2025-02-15T18:51:18.622 | ERROR | main_thread | crashCallback | Oops! Application crashed with signal: [11] SIGSEGV-Invalid memory reference