MuseScore 3.6.2 crashes on undoing paste of selection that extends the score range

• Jul 28, 2021 - 21:38
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
duplicate
Regression
No
Workaround
No
Project

Steps to reproduce issue:
1) Create a new score, add some notes
2) Select some region comprising at least 2 measures
3) Copy it to clipboard
4) Paste it near the end, such that the score will be extended (new bars will be created) to fit the pasted region
5) Undo it (e.g. CTRL+Z).

Result: MuseScore crashes.


Comments

What do you get, @Jojo-Schmitz ? It happens always in any situation. I can't give a sample score, because it does not have the undo history attached to the file.
1) Create any new score
2) Add some notes
3) Select a region larger than one measure and copy it to clipboard
4) Paste the clipboard stuff at the end (e.g. at the last measure). New bars will be automatically added so the clipboard can fit.
5) Go to edit -> undo or hit Ctrl+Z.
Result: MuseScore crashes. Independently of the score.