Crash when pasting "all" to new file
How to reproduce:
1. Create new file
2. Select all from either provided files
3. Select bar 1 of new file and paste
Bug appeared on 2.0.0 Revision 1efc609.
Tested on latest nightly with same results.
All on Windows 7 x64.
Attachment | Size |
---|---|
Calgon For Hetfield.mscz | 6.16 KB |
Lady_Red.mscz | 4.73 KB |
Comments
I thought it was relate to tuplets at first but when you paste just the bars containing tuplets, MS does not crash.
I can reproduce too.
You don't even need a new score, just add another bar.
It might not be related, but I noticed that the produced crash log has similarities to this issue: #32256: Crash when deleting bars with text line in staff with linked part
Using MuseScore 2.0 Nightly Build c3624cf - Mac 10.7.5.
There are two different bugs.
First file, the crash is due to spanner which can't find its end since the paste doesn't work. Pasting tuplets accross measure boundaries is not permitted currently.
Second file, the crash is due to copy pasting with notes in the second voice.
Fixed in cfa99c6ca4
Thanks for the fast fix!
Pasting tuplets accross measure boundaries is not permitted currently.
But if you set the new score to the same time signature as the first attached file (4/2), there shouldn't be any tuplet crossing barlines when pasting, should it? cfa99c6ca4 indeed fixes both crashes, but the tuplet issue is replaced by a warning message about pasting tuplets across barlines. Am I missing something here?
Automatically closed -- issue fixed for 2 weeks with no activity.
Sorry, I had this on my list of things to investigate but forgot.
There is one bar with the actual duration set to 5/4 (last bar of second system). That throws off the barlines when copying, which is why you get the message. So the behavior is correct.