Crash after removing multimeasures rests and adding a measure
Nightly, November 22 (37a2197) / Windows7
1. « My First Score » → remove 29 measures to keep 3 measures, or open this file : Test MM Rests new measure.mscz
2. Fill the first measure with 16th
3. Exit « Note entry mode » → Press on « M »
4. Select this two measures rests, and delete them (Ctrl + Del)
5. Select the empty measure (the second one)
6. Add a measure : Ctrl + B
Result : crash
Additionnal note : tests done to understand this other issue ( http://musescore.org/fr/node/37071) lead me to think that it is part of the whole.
Attachment | Size |
---|---|
Test MM Rests new measure.mscz | 1.53 KB |
3MM Rests.jpg | 31.58 KB |
4crash MMR add measure.jpg | 34.01 KB |
Comments
I believe that after step 4, both of the measures in the mmrest should have been deleted, and that might be related to the problem. But it doesn't seem to be the problem in itself. The measure is still at least somewhat valid in that you can enter ntoes into it without crashing. But somehow, the linked list of measures is messed up. The crash occurs while drawing the selection rectangle, and it's trying to draw around a measure whose parent system is 0. I didn't completely trace through to see how this happened, but the object debugger doens't actually any obvious problems.
To be complete, and because I had also noticed that in my tests: there are "interesting" variants: probably, they are related with the original issue (?) I prefer nevertheless report them.
1) In parts, always (same process with three original measures), look at this : If you want to change the TimeSig 6/8 to 3/4, it does not work. Nothing happens.
This works in most other (I do not have any identified each scenario!) It's the same if you have the opposite situation: change 3/4 to 6/8 in multimeasure rests.
2) I also found cases of corruption, after deletion (Ctrl + Del) multimeasure rests. More difficult to reproduce. I managed to capture one! And of course, this is followed by a crash by clicking the "last measure" or supposedly?
Fixed in 91d1760916
Crash, always :(
1. Open this file: test MMR.mscz
2. Create two MM rests ("M" key)
3. Select and delete these measures (Ctrl + Del)
4. Select the remaining measure -> add a new measure (Ctrl + B)
5. Select the added empty measure -> add a new measure (Ctrl + B)
Result: crash
cadiz1: you found another bug: the selection is invalid after appending a measure in this context
Fixed in 4a78d5cf8a
Automatically closed -- issue fixed for 2 weeks with no activity.