crash when delete all tie/slur every time

• Apr 13, 2016 - 06:32

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:

  1. open attached score
  2. right click a slur
  3. select all similar element
  4. delete all the selected slurs
  5. close score (don't bother saving)

result: CRASH (on Win 8.1 x86-64 2.0.3)

Attachment Size
slures.mscz 7.03 KB

In reply to 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 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.

Attachment Size
slures2.mscz 7.13 KB

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

Do you still have an unanswered question? Please log in first to post your question.