crash when delete all tie/slur every time
any score has many slur and tie
select all slur or tie use select similar element
delete them
save won't casuse crash
close the tie/slur deleted score will cause crash
please fix the big problem!! this will cause problem in editing most of my score!!
2.0.3
win10 32bit
Comments
I can replicate:
result: CRASH (on Win 8.1 x86-64 2.0.3)
In reply to I can replicate: open by ericfontainejazz
Oops, this crashes here too, Windows 7.
Not that score of mine though.
In reply to I can replicate: open by ericfontainejazz
Can someone file an issue in the issue tracker if it's not done yet? https://musescore.org/en/project/issues
Thanks !
(It doesn't crash for me on macosx with ericfont's file)
In reply to Can someone file an issue in by [DELETED] 5
I made issue: #105951: CRASH on close score after deleting all segment of a spanner
In reply to I can replicate: open by ericfontainejazz
crashes in master too. stack trace:
1 ??
2 Ms::Element::name element.cpp 245 0x774bcc
3 Ms::RemoveElement::cleanup undo.cpp 1655 0x733e62
4 Ms::UndoCommand::cleanup undo.cpp 131 0x72d326
5 Ms::UndoStack::~UndoStack undo.cpp 198 0x72d522
6 Ms::Score::~Score score.cpp 433 0x73d868
7 Ms::Score::~Score score.cpp 437 0x73dafb
8 Ms::MuseScore::removeTab musescore.cpp 1935 0x48a70a
9 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 793 0x689147
10 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a655a2
11 Ms::ScoreTab::tabCloseRequested moc_scoretab.cpp 182 0x68f567
12 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 93 0x68f267
13 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a655a2
14 ZNK7QTabBar18minimumTabSizeHintEi 0x61f5ad73
15 ?? 0x1ffb50d8
16 ?? 0x28c8c4
I'm getting loads of
can't find linker symbol for virtual table for `Ms::Element' value
in the application output pane of Qt-Creator
In reply to crashes in master too. stack by Jojo-Schmitz
I got a similar stack trace, I copied to the issue I made #105951: CRASH on close score after deleting all segment of a spanner
Doesn't crash for me. Do you have a sample score showing the problem?
In reply to Doesn't crash for me. Do you by Jojo-Schmitz
I can't reproduce for now under Windows 7, from scratch or from the attached file in previous comment. What have I missed?
Step 5, is that, right? Ie, I close the score with Ctrl + Q and click in the message "don't save"?
In reply to I can't reproduce for now by cadiz1
Whether you save or not doesn't make any difference
In reply to Doesn't crash for me. Do you by Jojo-Schmitz
Need more than one slur or tie
Create a score with many tie and slur cause this crash
1. Create a new score
2. Add a bean with + create ties, and select beans create many slur
3. Select all slur or tie via select similar elements
4. "Close" score will crash (Save do not cause crash)
I also can reproduce it with master-nightly by makeing a melody with one slur that overspans the line break and one that goes over a measure bar. With these two slurs and using the above described procedure, the effect is a crash of program.
If I select these two slurs by CTRL-left-click it doesn't crash.
Thanks guys, I've managed to reproduce the crash with a minimal test case which just includes one tie or slur that crosses a linebreak: https://musescore.org/en/node/105951#comment-478266
In reply to Thanks guys, I've managed to by ericfontainejazz
by the way
quit musescore won't crash
will this help fix the bug?
I don't know if it helps to have this info, but on Ubuntu trusty via crouton/chromebook, I get the following text dumped to my console on exit after deleting spanning slurs. In a file that has a slur at the end each 2nd measure and a couple that span to the next system. I don't actually get a crash, however. Running 2.0.3
Score::removeSpanner: Slur (0x5389960) not found
Score::removeSpanner: Slur (0x538dd70) not found
Score::removeSpanner: Slur (0x53a3440) not found
Score::removeSpanner: Slur (0x53a7830) not found
Score::removeSpanner: Slur (0x53abcc0) not found
Score::removeSpanner: Slur (0x53b00a0) not found
Score::removeSpanner: Slur (0x53b4530) not found
Score::removeSpanner: Slur (0x53b8950) not found
Score::removeSpanner: Slur (0x53bcde0) not found
Score::removeSpanner: Slur (0x53c1210) not found
Score::removeSpanner: Slur (0x53c5640) not found
Score::removeSpanner: Slur (0x53c9a10) not found
Score::removeSpanner: Slur (0x53abcc0) not found
System::remove: 0x5399290(SlurSegment) not found, score 0x5377bf0
System::remove: 0x53994f0(SlurSegment) not found, score 0x5377bf0