adding slur to some notes causes crash.
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
I'm transcribing Beethoven's fifth symphony into musescore. For some reason, when I go to add a slur to a certain group of notes, the program always crashes. Adding a slur to other groups of notes does not. I have tried adding a slur to that group of notes several times and have even rebooted my computer but musescore will always crash when I go to add a slur on that group of notes. Attached is a screenshot showing the problematic group of notes as well as a backtrace I made.. If it helps I'm using Musescore 3.6.2 on Fedora 35.
Attachment | Size |
---|---|
Screenshot at 2022-05-29 14-44-56.png | 374.95 KB |
musescore_backtrace.txt | 336.02 KB |
Fix version
4.0.0
Comments
You're all but one
Please attach the score too
Here's the score. Its not the same version as the one in the screen shot as I added to it but it still crashes when you try to add a slur to that group of notes.
You're still all but one
In reply to You're still all but one by Jojo-Schmitz
I blame my browser catch for changing the frequency back to many. Hopefully it won't do it again.
Crash confirmed, with 3.6.2 on Windows 11. latest 3.x development code too, but not in latest master code.
Measure 472-474, 3rd staff.
So fixed in MuseScore 4
Stack trace:
1 Ms::Slur::slurPos slur.cpp 585 0xa9e02d
2 Ms::Slur::layoutSystem slur.cpp 1125 0xaa1047
3 Ms::processLines layout.cpp 3826 0x9fb8cb
4 Ms::Score::layoutSystemElements layout.cpp 4474 0x9ffcb9
5 Ms::Score::collectSystem layout.cpp 4183 0x9fd4f0
6 Ms::LayoutContext::collectPage layout.cpp 4852 0xa0237f
7 Ms::LayoutContext::layout layout.cpp 5181 0xa040c4
8 Ms::Score::doLayoutRange layout.cpp 5169 0xa04024
9 Ms::Score::update cmd.cpp 302 0x536488
10 Ms::Score::endCmd cmd.cpp 260 0x536126
11 Ms::ScoreView::cmdAddSlur scoreview.cpp 4028 0x65164a
12 Ms::ScoreView::::operator()(Ms::ScoreView *, const QByteArray &) const scoreview.cpp 2193 0x642acf
13 std::_Function_handler>::_M_invoke(const std::_Any_data &, Ms::ScoreView *&&, const QByteArray &) std_function.h 297 0x65e2ca
14 std::function::operator()(Ms::ScoreView *, QByteArray const&) const std_function.h 687 0x10cb3fd
15 Ms::ScoreView::cmd scoreview.cpp 2890 0x64ae11
16 Ms::ScoreView::cmd scoreview.cpp 2089 0x6424f7
17 Ms::MuseScore::cmd musescore.cpp 6617 0x433e30
18 Ms::MuseScore::cmd musescore.cpp 6044 0x43077a
19 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 610 0x5eef3d
20 void doActivate(QObject *, int, void * *) 0x68b978bb
...
I don't find the real cause of the crash though.
Removing the Oboes parts doesn't help, still crashes.
Shortingin the score (drastically, only keeping a few measures aroung the culprit 472-474) and the crash no longer happens.
But removing all parts helps! See attached (regenerated all parts after adding the slurs)
Automatically closed -- issue fixed for 2 weeks with no activity.