Deleting measures causes a crash.
On any mscz file deleting a measure causes me to crash. Version 3.6.2
On any mscz file deleting a measure causes me to crash. Version 3.6.2
Do you still have an unanswered question? Please log in first to post your question.
Comments
So, it's not a specific score (if so, please attache the corresponding score)? Which operating system you're using? Any error message, for example by running MuseScore from terminal?
Maybe you can resolve it with revert to factory settings...
In reply to So, it's not a specific… by kuwitt
Using win 10
No error Msg
Didn't resolve when set to factory settings
Since it doesn't happen for others, we'd need you to post one of the scores you've had this problem on (if it happens with all scores you've tried, should be easy to find an example!), and give precise steps to reproduce the problem.
In reply to Since it doesn't happen for… by Marc Sabatella
For sure here you go, I had these scores open, then made a new score to mess around in, decide 32 measures was too many then deleted the measure, and was greeted with a crash. *edit forgot to attach the other file
In reply to For sure here you go, I had… by eliasfloudara
I had no trouble deleting a measure from either file. Which measures specifically are you having trouble with?
I note these use MDL; do you have the MDL extension loaded? It makes a number of customizations to your configuration that may or may not be revelant here.
In reply to I had no trouble deleting a… by Marc Sabatella
I do use MDL loaded, I was actually copying the keytar part onto a fresh file so I could export it as midi and modify it a little. I used both the right-click menu and the shortcut and crashed both times.
In reply to I do use MDL loaded, I was… by eliasfloudara
So in that case, we'd need you to attach the score you were actually deleting the measure from - the "fresh file" you mention. And please give us precise steps to reproduce the problem - tell us exactly which staff of which file you are copying into which staff of which other file, then exactly which measure(s) you are deleting. The crash is obviously something very specific to your specific situation since it doesn't happen for anyone else, so it's important to give us all the information we'd need to be able to reproduce what you are doing.
In reply to So in that case, we'd need… by Marc Sabatella
Understood, let me recover the file as I didn't save it.
In reply to So in that case, we'd need… by Marc Sabatella
note:
TNBLE=Totally Not Blooberry 2022...
KgB= Keytar go BRRRRRRAZY...
In reply to note: TNBLE=Totally Not… by eliasfloudara
Thanks, we're getting closer! But, I'm still a bit confused, because it looks like this file already info copied or otherwise enterted into it - it's not "fresh" in the way I was imagining the copied info. So I thought, maybe this its the result of you doing steps 1-7 and was all ready for me to proceed to step 8, but - there are no empty bars to delete.
So we're still lacking the information we'd need to reproduce the problem. Now that I have the two files, what specifically to I need to do? Is there something in bars 278 - 301 of TNBLE you want me to copy? Which staff specifically? The top one?
As it is, though, I can hazard a guess that the issue might have to do with the fact that there is an instrument change right at bar 278 of the source file. I could imagine there might be some specific sequence of operations where copying a passage containin with an instrument change from one score to another, then deleting the measure containing the instrument change, might cause a problem. But so far none of the things I've tried will produce a crash. So again, we need the steps to follow now that we have the files - not the steps that got to this state. Steps anyone could follow is they first loaded these files as their starting point.
In reply to Thanks, we're getting closer… by Marc Sabatella
Ah, I see where the confusion is,
4. Made a new score KgB
I attached my copy of KgB just as, but you would make your own all default settings, 120 bpm 32 measures no key sig (as all was changed later.
TNBLE was downloaded online and no changes were made.
In reply to Ah, I see where the… by eliasfloudara
I copied Voice 1, Beat 1, staff 1 of measure 278 shift clicked on voice 1, Beat 1, staff 1, of measure 303
In reply to Ah, I see where the… by eliasfloudara
I am sorry I am having so much trouble communicating what we need here. If there is a second empty score that crashes that isn't the non-empty one you attached, we need that score. I don't know what "all default settings" means because your default might be different from mine, and I don't know what instrument you are choosing etc. So please, create the empty score, save that, and post it here. Then we can try starting from your original step 5 (after loading the two specific scores).
But at this point, I'm thinking it still won't work, since I tried many variations of things kind of like that. I suspect the issue is unique to MDL. But we can't know for sure until we have reliable steps to follow.
I'd also recommend, after you create and save that empty file, that you create a screen recording showing exactly the steps we would also follow - start by loading those two scores, then doing the copy, and the delete. Then we can see if there is anything else unusual about how you are going about this.
In reply to I am sorry I am havign so… by Marc Sabatella
here is a blank brand new file :)
In reply to here is a blank brand new… by eliasfloudara
making video rn
In reply to making video rn by eliasfloudara
https://www.youtube.com/watch?v=f38BWH8T67Q
0 - 1:11 is just muse score loading
tried to fully redo everything but in the end, the conclusion was the same.
In reply to https://www.youtube.com… by eliasfloudara
Ah, definitely a number of things not obvious from the description - like, you have the Timeline open, you changed the time signature in the destination score, deleted some text in the source score, along the way, and also, you are actually copying from the part as opposed to copying from the score, then you added measures, changed time signature again, removed measures, added the time signature after the copy, did some playback along the way, etc. Any combination of those factors could have turned out to be the key. Wanna guess which it actually was? :-)
I did try my best to follow all those extra steps and sure enough, it crashed. The main key turned out to be having the timeline open, which was easy to figure out because at first I followed all those steps but forgot to open the timeline, and it didn't crash in that case. Then I remembered the timeline, so I undid the delete, opened the timeline, deleted again, and it crashed.
But, deleting measures with timeline open is not normally a problem - that works fine on other scores. So it took a bit more experimentation to figure out made this score crash on delete with the timeline open but not others. Some intuition based on what I now about the code helped me get there: deleting measures, with the timeline open, and a trill somewhere later in the score - that is the trigger.
I can now reproduce from scratch:
1) start with default empty score
2) add a whole note to bar 5
3) add a trill to that note
4) open the timeline
5) delete measures 1-2
Crashes.
The good news, no crash in current builds of MuseScore 4. So whatever the bug was, it's fixed already.
Thanks for sticking with us as we tracked this down!
In reply to Ah, definitely a number of… by Marc Sabatella
FWIW, I can't get a crash that way. Is it because I don't have MDL?
In reply to FWIW, I can't get a crash… by bobjp
No, I don't have it either. You mean following my simplified steps, no crash? Also, when I say delete, I mean as per the original description, using Ctrl+Delete.
In reply to No, I don't have it either. … by Marc Sabatella
No crash. I don't think I missed anything. I tried it with a single treble staff, and a full orchestra score. Both empty. Add whole note measure 5, add trill, open timeline (anchor at bottom), select measures 1 and 2, CTRL+Del. I also deleted different measures around the score. I'll try it on some different computers
In reply to No crash. I don't think I… by bobjp
I think I see, I wasn't specific enough: add a trill line (from the Lines palette), not the single symbol from the Ornaments palette.
In reply to I think I see, I wasn't… by Marc Sabatella
Yup. That crashed.
In reply to Ah, definitely a number of… by Marc Sabatella
Related to #317511: Crash on Undo after adding measures with timeline open?
In reply to Related to [#31751]? by Jojo-Schmitz
Possible, but I don't think so - that one doesn't seem to relate to trills at all, seems to affects scores with or without them.
In reply to Possible, but I don't think… by Marc Sabatella
Huh? That issue has got nothing to do with trills
And MuseScore 4 doesn't have the timeline, or does it meanwhile?
In reply to Huh? That issue has got… by Jojo-Schmitz
Exactly - that issue has nothing to do with trolls, this one has everything to do with them, as per my analysis above.
Timeline works fine in MU4.
In reply to For sure here you go, I had… by eliasfloudara
How are you deleting measures.
I don't have MDL, and had no problem.
In reply to How are you deleting… by bobjp
I tried both the right-click and the shortcut.
In reply to I tried both the right-click… by eliasfloudara
"Remove Selected Range" just to be sure. Delete doesn't work.
In reply to "Remove Selected Range" just… by bobjp
I did that, and also just crashed again, but this time it was just from tabbing into musescore.