Bug report - Crash when adding ties
I seem to have created a file that is incredible at crashing musescore. Whenever I try to add a tie, which is pretty common in this piece (long pedal tones), it crashes musescore. I would very much appreciate if musescore could uhhhh not do that. This isn't even a super complicated piece and it's not very long either.
Attachment | Size |
---|---|
Water.mscz | 55.61 KB |
Comments
Where exactly are you adding a tie and that causes a crash?
In reply to Where exactly are you adding… by Jojo-Schmitz
I did it over barlines in both the tuba and viola parts
In reply to I did it over barlines in… by [DELETED] 21667981
Which measure(s)?
In Score or in parts?
In reply to Which measure. by Jojo-Schmitz
In the score. Viola measure 14, changed whole to double whole to make the note tie over. Also tried adding a whole note in the next bar then tying it over, still crashed when I added the tie. Tuba part: separated and added back the tie in measure 14. It also crashes earlier in the tuba part when I do the same thing, making me believe that it doesn't matter where I do it.
In reply to In the score. Viola measure… by [DELETED] 21667981
OK, I see, in the score deleting the existing tie in tuba measure 14 and adding a new one indeed crashes.
It does so also in the lasted 3.x development build, stack trace:
1 Ms::ScoreElement::isChord scoreElement.h 263 0xfd7b50
2 Ms::findLinkedChord edit.cpp 4133 0x91b7fb
3 Ms::Score::undoAddElement edit.cpp 4883 0x91fc8a
4 Ms::Score::cmdToggleTie edit.cpp 1388 0x90c0ad
5 Ms::ScoreView::::operator()(Ms::ScoreView *, const QByteArray &) const scoreview.cpp 2546 0x5f604e
6 std::_Function_handler>::_M_invoke(const std::_Any_data &, Ms::ScoreView *&&, const QByteArray &) std_function.h 316 0x61298f
7 std::function::operator()(Ms::ScoreView *, QByteArray const&) const std_function.h 706 0x1049cbd
8 Ms::ScoreView::cmd scoreview.cpp 2821 0x5fb511
9 Ms::ScoreView::cmd scoreview.cpp 2072 0x5f37e5
10 Ms::MuseScore::cmd musescore.cpp 6629 0x432a8c
11 Ms::MuseScore::cmd musescore.cpp 6051 0x42f351
12 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 518 0x5a0ed2
13 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
14 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 225 0x5bf60e
15 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 110 0x5bf096
16 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
17 QActionGroup::hovered(QAction *) 0x2ad04db2
18 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2ad0573c
19 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
20 QAction::activate(QAction::ActionEvent) 0x2ad03e0e
...
I do suspect a corruption in the part, somehow the link between score and parts seems to have gotten lost.
And indeed, removing and regenerating all parts fixes the crash.
In the original score, in score the tuba as 2 tied whole notes, the parts has 4 tied whole notes, so certainly this score is corrupt.
In reply to In the score. Viola measure… by [DELETED] 21667981
The crash could get prevended:
That would not fix the corruption though and would still crash in Debug mode, unless an additional change is made:
Not sure this is worth the effort.
In reply to The crash could get… by Jojo-Schmitz
yeah i have no idea what any of that means
In reply to yeah i have no idea what any… by [DELETED] 21667981
You don't need to ;-)
other developers will.
In reply to You don't need to ;-) other… by Jojo-Schmitz
Hi.
So, yeah, this is very frustrating. A lot of my music has "lifts" on the "&" of 4, tied into the next bar for a beat & a half. So, I usually write the chord on "1" of the next bar, then make it a 1/8th note, then cut (or copy) it, then past it on the "&" of 4 of the preceding bar, and then make it of length "half note" with the intention that an "1/8th" stays in the preceeding bar and a dotted "1/4" is tied to in the next bar. I either do that or, if I've copied and not cut the note, I tie the note across the bar line.
It is crashing everytime--and (although it's only visible sometimes if I ask it to reload) indeed the destination bar is corrupted. It's as though Musescore corrupts the bar if one cuts out a a note from it, as the corruption report suggested that the bar was 10/8 and not 4/4.
Measure 2, staff 2 incomplete. Expected: 4/4; Found: 10/8
Measure 2, staff 3 incomplete. Expected: 4/4; Found: 10/8
And, notably, some bars, if you select them, have "End Beat: 4", while others have "End Beat: 4.5", even tho they have the same phrase timing in them.
Best/Thanks,
In reply to Hi. So, yeah, this is very… by Elliot Freedman
What happens if you make the chord on the and of four, then with one note still selected, hit "R". then tie the notes.
In reply to What happens if you make the… by bobjp
Hi & thanks for feedback--but why "R"? If I hit (on Mac) "Shift +" or hit the tie button, it just crashes.
As I said, I think that Musescore somehow still wants to associate the "copied/cut from next bar and pasted into last bar" chord with the 'next bar', as when the file is recovered, the corruption messages shows that the formerly good bar is now some non 4/4 or 8/8.
It's almost as though the older, what pre-3.5/3.6 files, aren't being parsed/processed properly for this kind of action--or it has introduced some kind of "this note belongs to that bar".
So, essentially, I have to re-create in New 3.6 files any of my tunes that I wish to make mods to--and that's usually on "do I &-of-4 that chord or not".
Otherwise, what a great effort Musescore is!
Cheers/Thanks,
Elliot
In reply to Hi & thanks for feedback-… by Elliot Freedman
In your score, I deleted the first note(s), in the second measure of the guitar part. This is like you just finished the first measure. Select one of the notes on the and of four. Hit "R". In 3.6.2 that copies the three 8th note cord to the first beat of measure two. Select the all three notes of the cord on the and of four in measure 1. Hit the +. That ties the notes.
If I understand your post, you copy + pasted back into measure 1. But I don't know why. Or why you would hit shift +.
In reply to In your score, I deleted the… by bobjp
Kind thanks for your efforts.
It may be that the old score is super-corrupted, but while the "R" to Repeat Selection is a great new find for me, it is still the "+" to tie over the bar line that crashes things.
In reply to Kind thanks for your efforts… by Elliot Freedman
Once a score is corrupt anything can happen. You need to fix the corruptions first