musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.39k stars 2.68k forks source link

[MU4 Issue] Problems with parts; crashed 3 times, no dmp first, dump second and third. #16250

Open aige02 opened 1 year ago

aige02 commented 1 year ago

Describe the bug Problem with parts - I've been testing MU 4.0 by entering this score. So far I cannot isolate the exact cause of the crash. However, without the parts, MU was not crashing.

I don't know if the crash could be reproduced even if I could reproduce the exact steps. I include a zip with:

  1. the log file,
  2. the other standard inclusions, and
  3. the latest save of the score. ShinyStockings-crash-2.zip

To Reproduce This is a general description of what I did between finishing the score (just needed a small number of staff-measures entered) and the crash.

  1. After finishing the score, I created the parts.
  2. I set the zoom on the drumset part to 75% and dragged it to the Home position.
  3. I adjusted the drumset part to make the "hint" staff only shown when containing notes.
  4. I loaded a saved style file. I forced the style to be applied to all parts.
  5. I set the zoom on the Alto 1 part to 75% and dragged it to the Home position.
  6. Fixed voice 2 parts that should not be visible to not be visible.
  7. I adjusted the size including stretching the 11 measure rest at the top. In adjusting, I removed then replaced a "keep together in same system" element because the element is not local to the part.
  8. I set the zoom, etc. for Alto 2 part.
  9. Fixed voice 2 parts that should not be visible to not be visible.
  10. I adjusted the Alto 2 part.
  11. I set the zoom, etc. for Tenor 1 and Tenor 2 parts (but did not fix the not-visible part or adjust the sizes).
  12. I saved.
  13. I tried to close the score.

Expected behavior MU doesn't crash. (Also: see additional context)

Screenshots NA

Platform information

Additional context

aige02 commented 1 year ago

I continued working with the parts to complete the detailed formatting of the parts. This included:

  1. (bug) adjusting zoom
  2. (bug) stretching multi-measure rest near beginning of sax parts
  3. (bug) fixing visibility of not visible elements
  4. adjusting font size and stretch to fill pages.

To Reproduce 2nd crash This is a general description of what I did between selecting the score and the crash.

  1. Adjusted zoom on about 8 parts (saxes and three trumpets)
  2. Looked at the sax parts, ending with tenor 1.
  3. Adjusted stretch on multi-measure rest for measures 8 to 18 (MMR8-18).
  4. Selected exactly voice 2 in each of the five (5) measures (46,48,50, 59, and 61) with not-visible voice 2 parts and toggled visibility twice. (At some time I turned of "show invisible" for the altos and tenor 1; I'm not sure when.)
  5. Selected voice 1 in each of the last two of the above measures, where the whole rest appeared as a half rest. I deleted voice 1 and properly positioned the whole rest (it was position as it was a half rest and voice 2 was visible).
  6. Adjusted font size; adjusted stretch on last 5 staves so single measure in last staff (on page 3) fit on page 2.
  7. Looked at stretch for MMR8-18 in alto parts. Noted alto 1 was 2.1, so set tenor 1 to 2.1; noted alto 2 was 2.0, so set both alto 1 and tenor 1 to 2.0.
  8. Selected the tenor 2 part.
  9. Adjusted stretch on multi-measure rest for measures 8 to 18 (MMR8-18).
  10. Selected exactly voice 2 in measures 46, 48, and 50 with not-visible voice 2 parts and toggled visibility twice.
  11. Selected voice 1 in measures 59 and 61. I deleted voice 1 and properly positioned the whole rest.
  12. Adjusted font size. (The size was now the same as for the tenor 1 part, but the last staff was highly stretched. This is normal, but when this condition exists, I usually make changes to improve the overall appearance.)
  13. I looked at the tenor 1 part to see if I could adjust the spacing on the tenor 2 part to match. The tenor 1 part was now readjusted to overflow onto page 3 by 2 staves!
  14. I think I toggled between tenor 2 and tenor 1 before MU crashed.

To Reproduce 3rd crash This is a general description of what I did between selecting the score and the crash.

  1. I adjusted the zoom on the alto and tenor parts.
  2. I noticed that the formatting of both tenor parts had changed. The formatting of of both tenor parts was different from any previous formatting, now showing 9 systems on page two instead of 8.
  3. I noticed that the crescendo line in measures 95 to 98, with the text "Build", was crossing a system boundary in the Alto 2 part. I added "(build)" as the continuation text. I went to the score and did that for all the parts at once. I checked to make sure the change was passed to the parts.
  4. I attempted to get the measure numbers of the 5 measures mentioned in 4. and 10. above. I noticed that the internal measure numbers were off in the parts.
  5. I checked the score and found that the internal measure numbers were, again, incorrect in the score. I did my usual fix of inserting a measure at the beginning, then undoing the insert. (I have not checked either the .mscz or .mscz.autosave files in crash-3.zip, but I suspect the internal measure numbering is wrong in both MSCZ files.)
  6. I also noticed that numbering of multi-measure rests was turned on. I turned it off in one of the parts, turned it off in the score, then went back to turning it off in parts.
  7. I noticed that I could reposition the whole rest in measures 59 and 61 by changing the y offset of the rest in the properties (resetting was the simplest correction).
  8. Changing parts, MU crashed.

Platform information

Windows 11
230370509-4.0.2-aabbec1-x86_64

For the second crash (of this series of crashes), I have collected the log and dump files, other relevant configuration files, and the two MSCZ files - the original and the last autosave. ShinyStockings-crash-3.zip For the third crash, likewise, except the initial file was the autosave included in crash-3.zip. ShinyStockings-crash-4.zip

smj-edison commented 1 year ago

I have also been having crashes when making a part visible or invisible (linux 6.2.2-arch1-1 and musescore version 4.0.1-). When running it from the command line I get this before it crashes. Here is the score I'm using. Also, I'm using muse sounds.

Interestingly, turning on and off voices on the main score view seems not to cause a crash.

One the score I linked, I could get it to consistently crash by doing this:

  1. Go to the Flute 1 score
  2. Go to "Instruments" panel on left
  3. Make all other parts visible

It's really inconsistent with how many instruments I need to toggle before it crashes, but it has always crashed by the time I've changed the visibility of all of them.

zacjansheski commented 1 year ago

(In reference to the Totoro score crash)

Reproduced crash on Linux, not MacOS. Something odd with the score, Flute 2 is checked as visible in the Flute 1 part but it is not displayed.

TotoroPartsCrash.zip