MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

MuseScore crashes when joining measures & Exported MIDI file won't work in Reaper

Open cunningar0807 opened this issue 1 year ago • 3 comments

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

Nocturne MuseScore Bugs.zip

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

cunningar0807 avatar Oct 19 '24 15:10 cunningar0807

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.

MarcSabatella avatar Oct 19 '24 15:10 MarcSabatella

Well, the steps I provided in the videos are as follows.

For Joining Measures:

  1. Selecting the measures where the cadenza starts and ends.
  2. Selecting the Tools category, and finding Measures > Join Selected Measures
  3. Once clicked on, the program crashes.

For MIDIImporting in Reaper:

  1. Removing the "Con-Sordino" articulation text within the string parts.
  2. Go to "Export", and select "MIDI File".
  3. Open Reaper & Import MIDI file.
  4. Error message occured

cunningar0807 avatar Oct 19 '24 16:10 cunningar0807

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.

MarcSabatella avatar Oct 19 '24 17:10 MarcSabatella

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!

bkunda avatar Oct 21 '24 08:10 bkunda