MuseScore crashes when joining measures & Exported MIDI file won't work in Reaper
Issue type
Crash or freeze
Description with steps to reproduce
Recently yesterday I made tons of updates to one of my arrrangement pieces which was Chopin's Nocturne No. 20 in C-Sharp Minor. While i was trying to update the score, I included an updated Violin Cadenza. But as I attempted to combine the measures of the cadenza into one, the application crashed. Not only that, but there's even something wrong with the MIDI file import into Reaper. I actually did get rid of the mute articulation text from the other string parts before exporting the file into MIDI, which works, but when I import the MIDI file into Reaper, I get an error message. What's going on here?
I sure hope this'll get fixed before the next update of MuseScore Studio.
Supporting files, videos and screenshots
What is the latest version of MuseScore Studio where this issue is present?
MuseScore Studio version (64-bit): 4.4.2-242570931
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
Mac OS Monterey v12.7.6
Additional context
No response
Checklist
- [X] This report follows the guidelines for reporting bugs and issues
- [X] I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- [X] I have attached all requested files and information to this report
- [X] I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
It’s unlikely the crash and the MIDI export issue are related. If the MIDI export issue is reproducible given the file you provide, please list the exact steps to reproduce the error. For the crash, if you are able to determine the steps to reproduce that, please open a separate issue detailing those. Be sure to attach the score and give the precise steps to reproduce the crash.
Well, the steps I provided in the videos are as follows.
For Joining Measures:
- Selecting the measures where the cadenza starts and ends.
- Selecting the Tools category, and finding Measures > Join Selected Measures
- Once clicked on, the program crashes.
For MIDIImporting in Reaper:
- Removing the "Con-Sordino" articulation text within the string parts.
- Go to "Export", and select "MIDI File".
- Open Reaper & Import MIDI file.
- Error message occured
Sorry, it wasn't clear there were videos in the ZIP file - better to attach those directly next time. Anyhow, I can now reproduce the crash in both 4.4.2 and 4.4.3 nightly by selecting bars 39-42 and going to Tools / Measures / Join selected measures.
I can also confirm that the MIDI file in your ZIP is corrupt somehow, and I get the same result if I load your MSCZ and then do File / Export and choose MIDI of the main score. Please open a separate issue for that. No need to attach the MIDI file or a video, just ZIP and attach the score. I don't think the "con sordino" step is relevant - I get the same corrupt MIDI file just opening the score and immediately exporting.
I can reproduce this in another score as well. Seems to be a regression from 4.4.2 (does not occur in 4.4.1).
@cunningar0807 Thank you for raising this, but please avoid combining multiple bugs into one issue report. I'm going to close this and raise a separate issue for the crash, which will include more detailed testing notes and diagnostic files. You are welcome to raise the MIDI export/Reaper issue separately.
Thank you!