| URGENT | Musescore crashes when I cut something
I have version 3.2.3.22971 and everytime I cut something (command + x) it instantly crashes.
I have version 3.2.3.22971 and everytime I cut something (command + x) it instantly crashes.
Do you still have an unanswered question? Please log in first to post your question.
Comments
I have updated Musescore to version 3.3.0.24090 and it still happens.
In reply to I have updated Musescore to… by Ferry
It happens when I copy something too.
In reply to It happens when I copy… by Ferry
We can't just guess things (the aspects can be multiple - but probably/maybe a corruption somewhere as root cause), so we need you to attach this score for understand what is happening.
In reply to We can't just guess things … by cadiz1
Here you have.
In reply to Here you have. by Ferry
For example, you cut or copy what (measures/notes, others?) and where exactly in this score?
In reply to For example, you cut or copy… by cadiz1
It happens when I select the entire section of the Gavotte and then cut or copy it.
In reply to It happens when I select the… by Ferry
It doesn't crush when I do it on any other part as far as I know.
In reply to It doesn't crush when I do… by Ferry
Well right now, eg, I select the Gavotte section (so 69 mesures, right?), I cut, or I copy in the following MM rests: nothing especial, behavior as expected. Would I have missed something?
In reply to Well right now, eg, I select… by cadiz1
Ok, I get one. Eg: select first measure Gavotte to the end of the score - shortcuts Ctrl + Maj + End (so including all mm rests) -> Cut -> Copy on Sarabande measure 25 (where is located Tempo I) -----> crash.
Need to investigate.
In reply to Ok, I get one. Eg: select… by cadiz1
This is due to doing
annotations()
for anullptr
ofSegment*
. Happens at line 2166 in edit.cpp.In reply to Ok, I get one. Eg: select… by cadiz1
A simple fix: https://github.com/Howard-C/MuseScore/commit/a07bf5585a72dc72524326a870….
In reply to A simple fix: https://github… by Howard-C
Can you reproduce from scratch?
In reply to Can you reproduce from… by cadiz1
I can only reproduce the crash you mentioned by far.
In reply to I can only reproduce the… by Howard-C
Yes, of course, but from scratch, it's not the same music!
I getting closer to it, may be.
In reply to Yes, of course, but from… by cadiz1
@Ferry: In the meantime, by disabling first the multi-measure rests ( press "M"), the crash when cutting or copying should no longer occur in your score, right? Can you check this?
In reply to @ferry: In the meantime, by… by cadiz1
Okay, I caught it. I don't know what's going on internally, there are some necessary conditions (two voices, copy or cut/paste with multimeasure rests). Anyway, I can always reproduce now from scratch with a minimum of measures.
Report soon.
In reply to Okay, I caught it. I don't… by cadiz1
See: #296591: Pasting two voices on multimeasure rests leads to crash